]> granicus.if.org Git - postgis/log
postgis
13 years agoreadme was outdated.
Regina Obe [Fri, 20 Jan 2012 07:10:44 +0000 (07:10 +0000)]
readme was outdated.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8884 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUpdate for alpha1?
Paul Ramsey [Fri, 20 Jan 2012 05:08:52 +0000 (05:08 +0000)]
Update for alpha1?

git-svn-id: http://svn.osgeo.org/postgis/trunk@8881 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTransforming from SRID 4267 to 4326 returns incorrect result (#1301)
Paul Ramsey [Fri, 20 Jan 2012 00:11:41 +0000 (00:11 +0000)]
Transforming from SRID 4267 to 4326 returns incorrect result (#1301)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8880 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoStop configure if we don't find perl. (#1484)
Paul Ramsey [Thu, 19 Jan 2012 23:58:24 +0000 (23:58 +0000)]
Stop configure if we don't find perl. (#1484)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8879 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIn 9.1, it is datamoduledir driving module install dir, not MODULEDIR
Sandro Santilli [Thu, 19 Jan 2012 17:39:01 +0000 (17:39 +0000)]
In 9.1, it is datamoduledir driving module install dir, not MODULEDIR

git-svn-id: http://svn.osgeo.org/postgis/trunk@8878 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave both RTREE and PREPARED_GEOM caches cohexist (#547)
Sandro Santilli [Thu, 19 Jan 2012 17:15:45 +0000 (17:15 +0000)]
Have both RTREE and PREPARED_GEOM caches cohexist (#547)

Fixes a memory leak and improves performances when both p-i-p
and other kind of overlays are requested during the same statement.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8877 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUpdate expected raster intersection results after fix to #852
Sandro Santilli [Thu, 19 Jan 2012 17:03:07 +0000 (17:03 +0000)]
Update expected raster intersection results after fix to #852

I've carefully checked the cases and where indeed expecting wrong
results (the point is very close to the raster's convex hull boundary
but slightly outside, ST_Distance reports 1.58882185807825e-14 units)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8876 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd test for cached version of point_in_ring (#852)
Sandro Santilli [Thu, 19 Jan 2012 09:48:57 +0000 (09:48 +0000)]
Add test for cached version of point_in_ring (#852)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8874 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDrop use of tolerance in PIP (#852)
Sandro Santilli [Thu, 19 Jan 2012 08:59:41 +0000 (08:59 +0000)]
Drop use of tolerance in PIP (#852)

Affects point_in_ring and point_in_ring_rtree.
Includes regress test but not hitting the cache.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8873 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDo not run the upgrade test if the normal test failed
Sandro Santilli [Thu, 19 Jan 2012 08:16:39 +0000 (08:16 +0000)]
Do not run the upgrade test if the normal test failed

git-svn-id: http://svn.osgeo.org/postgis/trunk@8872 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoOops, forgot to cleanup after debugging (triggered testsuite failure)
Sandro Santilli [Thu, 19 Jan 2012 08:16:34 +0000 (08:16 +0000)]
Oops, forgot to cleanup after debugging (triggered testsuite failure)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8871 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRework st_estimated_extent to deal with analyzed empty tables (#818)
Sandro Santilli [Wed, 18 Jan 2012 15:47:45 +0000 (15:47 +0000)]
Rework st_estimated_extent to deal with analyzed empty tables (#818)

Still doesn't distinguish between empty and not analyzed recently
(might be improved in that reguard)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8870 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDrop &Z_support in ST_Summary, see #649 comment:2
Sandro Santilli [Wed, 18 Jan 2012 14:19:38 +0000 (14:19 +0000)]
Drop &Z_support in ST_Summary, see #649 comment:2

git-svn-id: http://svn.osgeo.org/postgis/trunk@8869 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd ST_Summary(geography), "G" flag (#1277), document (#649)
Sandro Santilli [Wed, 18 Jan 2012 14:17:11 +0000 (14:17 +0000)]
Add ST_Summary(geography), "G" flag (#1277), document (#649)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8868 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoComplete binary IO testing in presence of typmod (#850)
Sandro Santilli [Wed, 18 Jan 2012 13:46:50 +0000 (13:46 +0000)]
Complete binary IO testing in presence of typmod (#850)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8867 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDo proper cleanups
Sandro Santilli [Wed, 18 Jan 2012 13:46:27 +0000 (13:46 +0000)]
Do proper cleanups

git-svn-id: http://svn.osgeo.org/postgis/trunk@8866 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoCheck typmod on binary geometry input (#850)
Sandro Santilli [Wed, 18 Jan 2012 13:46:21 +0000 (13:46 +0000)]
Check typmod on binary geometry input (#850)

Testcase will follow

git-svn-id: http://svn.osgeo.org/postgis/trunk@8865 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave geography typmod threat unkonwn srid an omitted srid (#1482)
Sandro Santilli [Wed, 18 Jan 2012 10:17:24 +0000 (10:17 +0000)]
Have geography typmod threat unkonwn srid an omitted srid (#1482)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8864 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd --expect switch to save obtained output as expected
Sandro Santilli [Wed, 18 Jan 2012 10:17:17 +0000 (10:17 +0000)]
Add --expect switch to save obtained output as expected

Will help generating testcases

git-svn-id: http://svn.osgeo.org/postgis/trunk@8863 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDrop the support for multiple expected files (not needed anymore)
Sandro Santilli [Wed, 18 Jan 2012 10:17:12 +0000 (10:17 +0000)]
Drop the support for multiple expected files (not needed anymore)

The support was also broken, btw...

git-svn-id: http://svn.osgeo.org/postgis/trunk@8862 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTest roundtrip with a binary cursor for both geometry and geography
Sandro Santilli [Wed, 18 Jan 2012 08:19:42 +0000 (08:19 +0000)]
Test roundtrip with a binary cursor for both geometry and geography

With this commit the binary.sql testcase doesn't test the actual
binary output anymore but rather uses canonical binary output to
copy objects to a temporary file, then uses canonical binary input
to read the objects again into a new table and then compares the
original and the final tables.

In order for this to work run_test was modified to pass a :tmpfile
variable to testcases. Next stop: typmod for canonical binary input.

See ticket #850 for more info

git-svn-id: http://svn.osgeo.org/postgis/trunk@8861 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement canonical input-output for geography (#850)
Sandro Santilli [Tue, 17 Jan 2012 20:01:36 +0000 (20:01 +0000)]
Implement canonical input-output for geography (#850)

Note: canonical output is tested, input isn't.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8860 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTest canonical binary output for geometry (#850)
Sandro Santilli [Tue, 17 Jan 2012 19:15:48 +0000 (19:15 +0000)]
Test canonical binary output for geometry (#850)

NOTE: big-endian machines are expected to fail this new test
      please send your actual output for a fix

git-svn-id: http://svn.osgeo.org/postgis/trunk@8859 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSupport alternate expected files
Sandro Santilli [Tue, 17 Jan 2012 19:15:41 +0000 (19:15 +0000)]
Support alternate expected files

Useful to test WKB output on different byte-endian machines.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8858 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSupport for binary output (#850)
Sandro Santilli [Tue, 17 Jan 2012 19:15:20 +0000 (19:15 +0000)]
Support for binary output  (#850)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8857 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoOverride geometrytype for geography (#1450).
Sandro Santilli [Tue, 17 Jan 2012 18:04:58 +0000 (18:04 +0000)]
Override geometrytype for geography (#1450).

The testusite runs without problems so I didn't also add a
geometrytype(text) function [I want the implicit cast!]

git-svn-id: http://svn.osgeo.org/postgis/trunk@8856 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRun the testsuite again after upgrading (#1326)
Sandro Santilli [Tue, 17 Jan 2012 17:52:57 +0000 (17:52 +0000)]
Run the testsuite again after upgrading (#1326)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8855 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoReword loading of upgrade scripts
Sandro Santilli [Tue, 17 Jan 2012 17:52:46 +0000 (17:52 +0000)]
Reword loading of upgrade scripts

git-svn-id: http://svn.osgeo.org/postgis/trunk@8854 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoEnhance staged install to include raster, topology and all scripts
Sandro Santilli [Tue, 17 Jan 2012 17:13:32 +0000 (17:13 +0000)]
Enhance staged install to include raster, topology and all scripts

Add an --upgrade switch to regress/run_test in preparation of
regress testing upgrade scripts (#1326)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8853 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDo not drop legacy getSRID in postgis_drop (#1401)
Sandro Santilli [Tue, 17 Jan 2012 08:57:00 +0000 (08:57 +0000)]
Do not drop legacy getSRID in postgis_drop (#1401)

This commit reverts r8837

git-svn-id: http://svn.osgeo.org/postgis/trunk@8852 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRename lwpoint_interpolate to point_interpolate
Paul Ramsey [Mon, 16 Jan 2012 22:26:45 +0000 (22:26 +0000)]
Rename lwpoint_interpolate to point_interpolate

git-svn-id: http://svn.osgeo.org/postgis/trunk@8851 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSnap output of test for #723 to a grid
Sandro Santilli [Mon, 16 Jan 2012 21:13:08 +0000 (21:13 +0000)]
Snap output of test for #723 to a grid

The test was failing due to coordinate drifts on 32bit

git-svn-id: http://svn.osgeo.org/postgis/trunk@8850 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix 2.5d split (#745)
Sandro Santilli [Mon, 16 Jan 2012 17:37:12 +0000 (17:37 +0000)]
Fix 2.5d split (#745)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8847 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoKeep UTM zone numbers in range, regress-test _ST_BestSRID (#1234)
Sandro Santilli [Mon, 16 Jan 2012 17:00:50 +0000 (17:00 +0000)]
Keep UTM zone numbers in range, regress-test _ST_BestSRID (#1234)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8846 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd an ST_AsEWKT(text) to prefer geometry over geography
Sandro Santilli [Mon, 16 Jan 2012 15:39:24 +0000 (15:39 +0000)]
Add an ST_AsEWKT(text) to prefer geometry over geography

git-svn-id: http://svn.osgeo.org/postgis/trunk@8845 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd ST_EWKT for geography type (#675)
Sandro Santilli [Mon, 16 Jan 2012 14:46:03 +0000 (14:46 +0000)]
Add ST_EWKT for geography type (#675)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8844 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoThe official unknown SRID is 0, not -1
Sandro Santilli [Mon, 16 Jan 2012 14:33:28 +0000 (14:33 +0000)]
The official unknown SRID is 0, not -1

git-svn-id: http://svn.osgeo.org/postgis/trunk@8843 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave 'make doc' build the single-page HTML
Sandro Santilli [Mon, 16 Jan 2012 14:21:54 +0000 (14:21 +0000)]
Have 'make doc' build the single-page HTML

git-svn-id: http://svn.osgeo.org/postgis/trunk@8842 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAllow building with gettext 0.14. Patch by Greg Troxel <gdt@ir.bbn.com>
Sandro Santilli [Mon, 16 Jan 2012 14:04:21 +0000 (14:04 +0000)]
Allow building with gettext 0.14. Patch by Greg Troxel <gdt@ir.bbn.com>

git-svn-id: http://svn.osgeo.org/postgis/trunk@8841 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDetect PERL locally
Sandro Santilli [Mon, 16 Jan 2012 13:56:11 +0000 (13:56 +0000)]
Detect PERL locally

git-svn-id: http://svn.osgeo.org/postgis/trunk@8840 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIgnore generated extension files
Sandro Santilli [Mon, 16 Jan 2012 13:10:35 +0000 (13:10 +0000)]
Ignore generated extension files

git-svn-id: http://svn.osgeo.org/postgis/trunk@8839 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMove lwgeom_summary to liblwgeom (#1446)
Sandro Santilli [Mon, 16 Jan 2012 12:33:16 +0000 (12:33 +0000)]
Move lwgeom_summary to liblwgeom (#1446)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8838 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDrop getsrid (#1401)
Sandro Santilli [Mon, 16 Jan 2012 12:25:23 +0000 (12:25 +0000)]
Drop getsrid (#1401)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8837 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd test for insertion into typmod-ed table (#1414)
Sandro Santilli [Mon, 16 Jan 2012 12:10:05 +0000 (12:10 +0000)]
Add test for insertion into typmod-ed table (#1414)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8836 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix WKB output for POINT EMPTY with SRID or higher dims (#1478)
Sandro Santilli [Mon, 16 Jan 2012 11:22:27 +0000 (11:22 +0000)]
Fix WKB output for POINT EMPTY with SRID or higher dims (#1478)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8835 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd WKB round-trip test for TIN
Sandro Santilli [Mon, 16 Jan 2012 10:34:30 +0000 (10:34 +0000)]
Add WKB round-trip test for TIN

git-svn-id: http://svn.osgeo.org/postgis/trunk@8834 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix reading TRIANGLE EMPTY in WKB form (#1474)
Sandro Santilli [Mon, 16 Jan 2012 10:31:18 +0000 (10:31 +0000)]
Fix reading TRIANGLE EMPTY in WKB form (#1474)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8833 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd POLYHEDRALSURFACE roundtrip WKB test
Sandro Santilli [Mon, 16 Jan 2012 10:31:09 +0000 (10:31 +0000)]
Add POLYHEDRALSURFACE roundtrip WKB test

git-svn-id: http://svn.osgeo.org/postgis/trunk@8832 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement lwgeom_same for MULTICURVE and MULTISURFACE (#1475)
Sandro Santilli [Mon, 16 Jan 2012 10:24:54 +0000 (10:24 +0000)]
Implement lwgeom_same for MULTICURVE and MULTISURFACE (#1475)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8831 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement lwgeom_same for CURVEPOLYGON types (#1475)
Sandro Santilli [Mon, 16 Jan 2012 10:21:09 +0000 (10:21 +0000)]
Implement lwgeom_same for CURVEPOLYGON types (#1475)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8830 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement lwgeom_same for COMPOUNDCURVE (#1475)
Sandro Santilli [Mon, 16 Jan 2012 10:18:07 +0000 (10:18 +0000)]
Implement lwgeom_same for COMPOUNDCURVE (#1475)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8829 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement lwgeom_same for circularstring (#1475)
Sandro Santilli [Mon, 16 Jan 2012 10:11:44 +0000 (10:11 +0000)]
Implement lwgeom_same for circularstring (#1475)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8828 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoA CURVEPOLY is also a collection. Fixes #1473.
Sandro Santilli [Mon, 16 Jan 2012 09:11:45 +0000 (09:11 +0000)]
A CURVEPOLY is also a collection. Fixes #1473.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8827 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoPrevent lwcollection_construct from creating non-collection types
Sandro Santilli [Mon, 16 Jan 2012 09:11:38 +0000 (09:11 +0000)]
Prevent lwcollection_construct from creating non-collection types

git-svn-id: http://svn.osgeo.org/postgis/trunk@8826 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUse a CTE for queries involving largs WKB input.
Sandro Santilli [Mon, 16 Jan 2012 08:25:08 +0000 (08:25 +0000)]
Use a CTE for queries involving largs WKB input.

Reduces parsing and execution time.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8825 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoComment out expensive DEBUG lines
Sandro Santilli [Mon, 16 Jan 2012 08:25:00 +0000 (08:25 +0000)]
Comment out expensive DEBUG lines

git-svn-id: http://svn.osgeo.org/postgis/trunk@8824 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDowngrade notice of face splitting to debug level
Sandro Santilli [Mon, 16 Jan 2012 08:24:53 +0000 (08:24 +0000)]
Downgrade notice of face splitting to debug level

git-svn-id: http://svn.osgeo.org/postgis/trunk@8823 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoWrap DEBUG output in ifdef POSTGIS_TOPOLOGY_DEBUG (#1469)
Sandro Santilli [Sun, 15 Jan 2012 20:52:08 +0000 (20:52 +0000)]
Wrap DEBUG output in ifdef POSTGIS_TOPOLOGY_DEBUG (#1469)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8822 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake AddTopoGeometryColumn less sequence-number-eager, regress-test
Sandro Santilli [Sun, 15 Jan 2012 17:50:46 +0000 (17:50 +0000)]
Make AddTopoGeometryColumn less sequence-number-eager, regress-test

git-svn-id: http://svn.osgeo.org/postgis/trunk@8821 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoput in spaces in ST_InterpolatePoint See Also references
Regina Obe [Sun, 15 Jan 2012 09:25:51 +0000 (09:25 +0000)]
put in spaces in ST_InterpolatePoint See Also references

git-svn-id: http://svn.osgeo.org/postgis/trunk@8820 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoditto for ST_LocateBetween - name change flag and minor other corrections
Regina Obe [Sun, 15 Jan 2012 09:23:34 +0000 (09:23 +0000)]
ditto for ST_LocateBetween - name change flag and minor other corrections

git-svn-id: http://svn.osgeo.org/postgis/trunk@8819 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoput a note ST_LocateAlong name changed (and is a new name in 2.0 - old name is ST_Loc...
Regina Obe [Sun, 15 Jan 2012 09:10:33 +0000 (09:10 +0000)]
put a note ST_LocateAlong name changed (and is a new name in 2.0 - old name is ST_Locate_Along_Measure)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8818 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agolink to where to download pre-built cheat sheets
Regina Obe [Sun, 15 Jan 2012 03:59:47 +0000 (03:59 +0000)]
link to where to download pre-built cheat sheets

git-svn-id: http://svn.osgeo.org/postgis/trunk@8817 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agorevise docs about make installing extensions to note that extensions are now installe...
Regina Obe [Sun, 15 Jan 2012 03:32:29 +0000 (03:32 +0000)]
revise docs about make installing extensions to note that extensions are now installed by default if compiling against 9.1+.  Also provide an example query to run to verify extensions are installed.  THANKS pramsey -- now if we can only have a real tagged release that would be SWEET.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8816 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1401 Goodbye getSRID()
Regina Obe [Sun, 15 Jan 2012 03:18:16 +0000 (03:18 +0000)]
#1401 Goodbye getSRID()

git-svn-id: http://svn.osgeo.org/postgis/trunk@8815 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDisplay "Creating Index..." text within the progress dialog rather than within the...
Mark Cave-Ayland [Sat, 14 Jan 2012 13:10:27 +0000 (13:10 +0000)]
Display "Creating Index..." text within the progress dialog rather than within the shp2pgsql-gui log window.

This should make it more obvious to users that something is still happening in the case that
they are building on a index on larger shapefiles which can often take quite some time.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8814 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agochange eol from native to LF to try to resolve #1466
Regina Obe [Sat, 14 Jan 2012 07:37:36 +0000 (07:37 +0000)]
change eol from native to LF to try to resolve #1466

git-svn-id: http://svn.osgeo.org/postgis/trunk@8813 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agodocument --with-gettext=no optionand case why you would want to do this. Also minor...
Regina Obe [Sat, 14 Jan 2012 07:29:26 +0000 (07:29 +0000)]
document --with-gettext=no optionand case why you would want to do this.  Also minor modifications as to use GEOS 3.3.2 and why you should

git-svn-id: http://svn.osgeo.org/postgis/trunk@8812 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd ST_InterpolatePoint, deprecate ST_Locate_Between_Measures and ST_Locate_Along_Mea...
Paul Ramsey [Sat, 14 Jan 2012 01:03:37 +0000 (01:03 +0000)]
Add ST_InterpolatePoint, deprecate ST_Locate_Between_Measures and ST_Locate_Along_Measure. Document new functions. Alter regressions and docs to use AsText instead of AsEWKT.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8811 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUse normal autoconf convention of using #define to determine whether or not GDALFPOLY...
Mark Cave-Ayland [Sat, 14 Jan 2012 00:49:29 +0000 (00:49 +0000)]
Use normal autoconf convention of using #define to determine whether or not GDALFPOLYGONIZE is present, rather than always having it present and setting its value to either 0 or 1.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8810 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSwitch liblwgeom to use the POSTGIS_* defines already generated by configure, rather...
Mark Cave-Ayland [Sat, 14 Jan 2012 00:49:21 +0000 (00:49 +0000)]
Switch liblwgeom to use the POSTGIS_* defines already generated by configure, rather than passing them in directly.

Similar to my previous commit, however here the aim is that by moving the logic outside of make then we can
potentially allow other generators (such as CMake) to detect and use other compilers rather than embedding
specific -D flags into the command line.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8809 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSwitch NLS build to use the in-built ENABLE_NLS define rather than USE_NLS.
Mark Cave-Ayland [Sat, 14 Jan 2012 00:49:14 +0000 (00:49 +0000)]
Switch NLS build to use the in-built ENABLE_NLS define rather than USE_NLS.

The key concept here is that we eliminate all logic from the Makefile and put
it in the build system (e.g. configure). By having the logic at this higher
layer, we make it much easier to transition to another build system in future
such as CMake.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8808 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoEnable configure to accept the additional parameter --with-gettext=no to disable...
Mark Cave-Ayland [Sat, 14 Jan 2012 00:49:05 +0000 (00:49 +0000)]
Enable configure to accept the additional parameter --with-gettext=no to disable NLS builds.

This makes it possible to explicitly disable builds at configure time if required for
platforms where this causes problems such as Windows (see bug #748).

git-svn-id: http://svn.osgeo.org/postgis/trunk@8807 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix incorrect camel-casing for HAVE_JSON within configure.ac.
Mark Cave-Ayland [Sat, 14 Jan 2012 00:48:54 +0000 (00:48 +0000)]
Fix incorrect camel-casing for HAVE_JSON within configure.ac.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8806 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix up AC_DEFINE macros in configure.ac that don't have a description.
Mark Cave-Ayland [Sat, 14 Jan 2012 00:48:48 +0000 (00:48 +0000)]
Fix up AC_DEFINE macros in configure.ac that don't have a description.

While autoheader emits a warning, it actually fails and does not regenerate
postgis_config.h.in. Along with this fix, we commit an updated version of
postgis_config.h created from a fresh invocation of autoheader minus the
PACKAGE_* macros.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8805 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd test for creating tables with circularstring typmod (#1085)
Sandro Santilli [Fri, 13 Jan 2012 17:34:24 +0000 (17:34 +0000)]
Add test for creating tables with circularstring typmod (#1085)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8804 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFirst draft of a test for typmod (#1085)
Sandro Santilli [Fri, 13 Jan 2012 17:33:26 +0000 (17:33 +0000)]
First draft of a test for typmod (#1085)

This version simply creates the tables and checks geometry_columns.
Should be enhanced to test effectiveness of constraints.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8803 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoremove dangling reference to geometry_same
Regina Obe [Fri, 13 Jan 2012 16:28:11 +0000 (16:28 +0000)]
remove dangling reference to geometry_same

git-svn-id: http://svn.osgeo.org/postgis/trunk@8802 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoVirtualize ``make'' calls (#1464)
Sandro Santilli [Fri, 13 Jan 2012 16:23:18 +0000 (16:23 +0000)]
Virtualize ``make'' calls (#1464)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8801 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRename geometry column header in shp2pgsql-gui to "geo column" to reduce its visible...
Mark Cave-Ayland [Fri, 13 Jan 2012 15:54:15 +0000 (15:54 +0000)]
Rename geometry column header in shp2pgsql-gui to "geo column" to reduce its visible width based upon feedback from Regina.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8800 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoremove ~= from documentation -- we don't want people using this operator
Regina Obe [Fri, 13 Jan 2012 15:50:12 +0000 (15:50 +0000)]
remove ~= from documentation -- we don't want people using this operator

git-svn-id: http://svn.osgeo.org/postgis/trunk@8799 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd all signature in the current repository
Sandro Santilli [Fri, 13 Jan 2012 13:31:43 +0000 (13:31 +0000)]
Add all signature in the current repository

git-svn-id: http://svn.osgeo.org/postgis/trunk@8798 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd more signatures found in a more recent dump of mine
Sandro Santilli [Fri, 13 Jan 2012 11:34:27 +0000 (11:34 +0000)]
Add more signatures found in a more recent dump of mine

git-svn-id: http://svn.osgeo.org/postgis/trunk@8797 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake verbose output of postgis_restore.pl more useful for maintainance
Sandro Santilli [Fri, 13 Jan 2012 11:29:47 +0000 (11:29 +0000)]
Make verbose output of postgis_restore.pl more useful for maintainance

It will now avoid to collapse all spaces to keep the door open for
better parsing in the future and to be more human readable.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8796 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake ~= operator GIST-indexable, following existing documentation
Sandro Santilli [Fri, 13 Jan 2012 10:00:39 +0000 (10:00 +0000)]
Make ~= operator GIST-indexable, following existing documentation

NOTE: it takes a dump/reload for this to be in effect.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8795 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd in an offset option to ST_LocateBetween
Paul Ramsey [Thu, 12 Jan 2012 21:43:56 +0000 (21:43 +0000)]
Add in an offset option to ST_LocateBetween

git-svn-id: http://svn.osgeo.org/postgis/trunk@8794 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd support for MULTIPOINT and POINT to ST_LocateBetween
Paul Ramsey [Thu, 12 Jan 2012 19:55:30 +0000 (19:55 +0000)]
Add support for MULTIPOINT and POINT to ST_LocateBetween

git-svn-id: http://svn.osgeo.org/postgis/trunk@8793 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFlip ST_LocateBetween to use the same LRS code as ST_LocateBetweenElevations
Paul Ramsey [Thu, 12 Jan 2012 19:07:02 +0000 (19:07 +0000)]
Flip ST_LocateBetween to use the same LRS code as ST_LocateBetweenElevations

git-svn-id: http://svn.osgeo.org/postgis/trunk@8792 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd regress test for topology.AddFace robustness (see #1383)
Sandro Santilli [Thu, 12 Jan 2012 17:41:17 +0000 (17:41 +0000)]
Add regress test for topology.AddFace robustness (see #1383)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8791 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix lw_dist2d_pt_seg(B, AB), see #1459
Sandro Santilli [Thu, 12 Jan 2012 17:06:04 +0000 (17:06 +0000)]
Fix lw_dist2d_pt_seg(B, AB), see #1459

Includes regress testing. Should also fix #1383

git-svn-id: http://svn.osgeo.org/postgis/trunk@8790 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoComplete tests for higher coordinate dimensions (#1455)
Sandro Santilli [Thu, 12 Jan 2012 11:21:11 +0000 (11:21 +0000)]
Complete tests for higher coordinate dimensions (#1455)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8789 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix bug in dimension computer for collection WKT.
Sandro Santilli [Thu, 12 Jan 2012 11:21:06 +0000 (11:21 +0000)]
Fix bug in dimension computer for collection WKT.

The parser got confused by inner M letters.
This commit also improves speed early breaking the loop over WKT.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8788 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd tests for higher coordinate dimensions (#1455)
Sandro Santilli [Thu, 12 Jan 2012 11:20:59 +0000 (11:20 +0000)]
Add tests for higher coordinate dimensions (#1455)

GEOMETRYCOLLECTION still fails

git-svn-id: http://svn.osgeo.org/postgis/trunk@8787 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTest roundtrip of WKT. Higher dimensions still needed (#1455)
Sandro Santilli [Thu, 12 Jan 2012 08:52:11 +0000 (08:52 +0000)]
Test roundtrip of WKT. Higher dimensions still needed (#1455)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8786 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix a bug in gserialized_read_gbox_p reading garbage in EMPTY point
Sandro Santilli [Thu, 12 Jan 2012 08:52:03 +0000 (08:52 +0000)]
Fix a bug in gserialized_read_gbox_p reading garbage in EMPTY point

Includes cunit test. Fixes #1458.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8785 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agogbox_float_round: do not attempt to round M when not present
Sandro Santilli [Thu, 12 Jan 2012 08:51:58 +0000 (08:51 +0000)]
gbox_float_round: do not attempt to round M when not present

git-svn-id: http://svn.osgeo.org/postgis/trunk@8784 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoExpose gbox_float_round to liblwgeom API
Sandro Santilli [Thu, 12 Jan 2012 08:51:53 +0000 (08:51 +0000)]
Expose gbox_float_round to liblwgeom API

git-svn-id: http://svn.osgeo.org/postgis/trunk@8783 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoChange references to BOX2DFLOAT4 to just BOX2D and remove the struct. Ding dong.
Paul Ramsey [Wed, 11 Jan 2012 19:45:13 +0000 (19:45 +0000)]
Change references to BOX2DFLOAT4 to just BOX2D and remove the struct. Ding dong.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8782 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTie astext(geography) and asbinary(geography) directly to the lwgeom_ C functions...
Paul Ramsey [Wed, 11 Jan 2012 19:20:35 +0000 (19:20 +0000)]
Tie astext(geography) and asbinary(geography) directly to the lwgeom_ C functions, without a cast

git-svn-id: http://svn.osgeo.org/postgis/trunk@8781 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAllow higher dimensions in GeomFromWKB (#1452)
Sandro Santilli [Wed, 11 Jan 2012 18:53:28 +0000 (18:53 +0000)]
Allow higher dimensions in GeomFromWKB (#1452)

Includes regress test for WKB roundtrip
(failing as expected with point empty)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8780 b70326c6-7e19-0410-871a-916f4a2858ee