]> granicus.if.org Git - postgis/log
postgis
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

13 years agoFix bug in gbox_same -> lwgeom_same -> ST_OrderingEquals (#1454)
Sandro Santilli [Wed, 11 Jan 2012 18:45:00 +0000 (18:45 +0000)]
Fix bug in gbox_same -> lwgeom_same -> ST_OrderingEquals (#1454)

Adds regression test for lwgeom_same and ST_OrderingEquals

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

13 years agoFix EMPTY ~= EMPTY to return TRUE (#1453)
Sandro Santilli [Wed, 11 Jan 2012 17:18:27 +0000 (17:18 +0000)]
Fix EMPTY ~= EMPTY to return TRUE (#1453)

This also fixes ST_OrderingEquals for empty geometries and
adds the concept of NULL boxes to represent EMPTY boxes.

ST_Equals is still broken as it uses the overlap operator instead.

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

13 years agoEncode dependency of libpgcommon on postgis_config.h
Sandro Santilli [Wed, 11 Jan 2012 17:18:19 +0000 (17:18 +0000)]
Encode dependency of libpgcommon on postgis_config.h

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

13 years agoXref ST_AsBinary to its reverse ST_GeomFromWKB
Sandro Santilli [Wed, 11 Jan 2012 17:18:15 +0000 (17:18 +0000)]
Xref ST_AsBinary to its reverse ST_GeomFromWKB

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

13 years agoAdd paranoid test of another malformed WKB found in #168
Sandro Santilli [Wed, 11 Jan 2012 15:57:22 +0000 (15:57 +0000)]
Add paranoid test of another malformed WKB found in #168

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

13 years agoDrop ST_AsBinary(text) wrapper, removed in previous commits
Sandro Santilli [Wed, 11 Jan 2012 15:51:27 +0000 (15:51 +0000)]
Drop ST_AsBinary(text) wrapper, removed in previous commits

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

13 years agoAdd documentation about enhancements in ST_AsBinary (#288)
Sandro Santilli [Wed, 11 Jan 2012 14:50:16 +0000 (14:50 +0000)]
Add documentation about enhancements in ST_AsBinary (#288)

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

13 years agoDrop geography-specific C-side of AsBinary function. Proxy to geometry.
Sandro Santilli [Wed, 11 Jan 2012 14:46:13 +0000 (14:46 +0000)]
Drop geography-specific C-side of AsBinary function. Proxy to geometry.

See #288

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

13 years agoLimit geometry_columns view definition within 80 columns.
Sandro Santilli [Wed, 11 Jan 2012 12:30:12 +0000 (12:30 +0000)]
Limit geometry_columns view definition within 80 columns.

This is to avoid issues like #1449

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

13 years agoAdd regress test for WKB (#1448) and enable the existing one for WKT
Sandro Santilli [Wed, 11 Jan 2012 11:17:10 +0000 (11:17 +0000)]
Add regress test for WKB (#1448) and enable the existing one for WKT

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

13 years agoUnlease higher dimensions in ST_AsBinary, using SQL/MM (#288)
Sandro Santilli [Wed, 11 Jan 2012 11:17:03 +0000 (11:17 +0000)]
Unlease higher dimensions in ST_AsBinary, using SQL/MM (#288)

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

13 years agoST_AsText item is an enhancement, not a new feature
Sandro Santilli [Wed, 11 Jan 2012 11:16:58 +0000 (11:16 +0000)]
ST_AsText item is an enhancement, not a new feature

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

13 years agoAdd note aboute AsText support for higher dimension
Sandro Santilli [Wed, 11 Jan 2012 10:40:21 +0000 (10:40 +0000)]
Add note aboute AsText support for higher dimension

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

13 years agoUnleash SQL/MM WKT returned by ST_AsText (#287)
Sandro Santilli [Wed, 11 Jan 2012 10:34:41 +0000 (10:34 +0000)]
Unleash SQL/MM WKT returned by ST_AsText (#287)

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

13 years agoUse $(MAKE) to invoke whatever make was used by builder
Sandro Santilli [Wed, 11 Jan 2012 08:36:29 +0000 (08:36 +0000)]
Use $(MAKE) to invoke whatever make was used by builder

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

13 years agoUpdate HARD UPGRADE section, mention --with-topology
Sandro Santilli [Wed, 11 Jan 2012 08:26:36 +0000 (08:26 +0000)]
Update HARD UPGRADE section, mention --with-topology

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

13 years agoTry an older bash syntax for robe?
Paul Ramsey [Wed, 11 Jan 2012 02:27:41 +0000 (02:27 +0000)]
Try an older bash syntax for robe?

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

13 years agoAdd ST_LocateAlong support for multipoints too (completeness)
Paul Ramsey [Tue, 10 Jan 2012 23:22:18 +0000 (23:22 +0000)]
Add ST_LocateAlong support for multipoints too (completeness)

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

13 years agoBind ST_LocateAlong() to the new LRS function that supports offsets.
Paul Ramsey [Tue, 10 Jan 2012 23:14:28 +0000 (23:14 +0000)]
Bind ST_LocateAlong() to the new LRS function that supports offsets.

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

13 years agosvn:ignore properties
Paul Ramsey [Tue, 10 Jan 2012 23:04:51 +0000 (23:04 +0000)]
svn:ignore properties

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

13 years agoSpacing, yes
Paul Ramsey [Tue, 10 Jan 2012 23:04:10 +0000 (23:04 +0000)]
Spacing, yes

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

13 years ago#1444 fix typo in command (should be command not comand)
Regina Obe [Tue, 10 Jan 2012 22:20:35 +0000 (22:20 +0000)]
#1444 fix typo in command (should be command not comand)

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

13 years agoBring the extensions into the autoconf environment
Paul Ramsey [Tue, 10 Jan 2012 21:51:21 +0000 (21:51 +0000)]
Bring the extensions into the autoconf environment

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

13 years agoFixed incorrect call to rt_raster_geopoint_to_cell in rt_band_load_offline_data and...
Bborie Park [Tue, 10 Jan 2012 19:36:52 +0000 (19:36 +0000)]
Fixed incorrect call to rt_raster_geopoint_to_cell in rt_band_load_offline_data and added additional debug messages

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

13 years agoFixed incorrect use of rt_band_destroy when loading offline band data. ALso added...
Bborie Park [Tue, 10 Jan 2012 18:45:19 +0000 (18:45 +0000)]
Fixed incorrect use of rt_band_destroy when loading offline band data.  ALso added rules to raster_columns and raster_overviews to gracefully handle insert/update/delete.

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

13 years agoFixed double free of memory when using out-of-database bands
Bborie Park [Tue, 10 Jan 2012 18:18:23 +0000 (18:18 +0000)]
Fixed double free of memory when using out-of-database bands

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

13 years agoAdd rules on geometry_columns view to tolerate insert/update/delete
Sandro Santilli [Tue, 10 Jan 2012 18:12:27 +0000 (18:12 +0000)]
Add rules on geometry_columns view to tolerate insert/update/delete

Fixes OGR, see #1426. Raises no warning on operation (it should).
This commit includes changes in postgis_proc_upgrade.pl to retain rules.

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