Commit graph

7240 commits

Author SHA1 Message Date
Sandro Santilli bce8e015d6 Virtualize ``make'' calls (#1464)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8801 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-13 16:23:18 +00:00
Mark Cave-Ayland 021bdc94b9 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
2012-01-13 15:54:15 +00:00
Regina Obe 8849ac3a97 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
2012-01-13 15:50:12 +00:00
Sandro Santilli d90f670d6d Add all signature in the current repository
git-svn-id: http://svn.osgeo.org/postgis/trunk@8798 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-13 13:31:43 +00:00
Sandro Santilli a040e6bc06 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
2012-01-13 11:34:27 +00:00
Sandro Santilli 931c6fec94 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
2012-01-13 11:29:47 +00:00
Sandro Santilli 01f343995c 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
2012-01-13 10:00:39 +00:00
Paul Ramsey 6f1e0a2f48 Add in an offset option to ST_LocateBetween
git-svn-id: http://svn.osgeo.org/postgis/trunk@8794 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 21:43:56 +00:00
Paul Ramsey 816f40e8aa Add support for MULTIPOINT and POINT to ST_LocateBetween
git-svn-id: http://svn.osgeo.org/postgis/trunk@8793 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 19:55:30 +00:00
Paul Ramsey af3b7fe1db 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
2012-01-12 19:07:02 +00:00
Sandro Santilli f6fbc6612a Add regress test for topology.AddFace robustness (see #1383)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8791 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 17:41:17 +00:00
Sandro Santilli 7a3b803b9e 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
2012-01-12 17:06:04 +00:00
Sandro Santilli 51e6e8e15e Complete tests for higher coordinate dimensions (#1455)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8789 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 11:21:11 +00:00
Sandro Santilli 442a2c98e3 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
2012-01-12 11:21:06 +00:00
Sandro Santilli 6e1d73efb0 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
2012-01-12 11:20:59 +00:00
Sandro Santilli 11432aa902 Test roundtrip of WKT. Higher dimensions still needed (#1455)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8786 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 08:52:11 +00:00
Sandro Santilli 9acf63d0cb 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
2012-01-12 08:52:03 +00:00
Sandro Santilli 605fa40a95 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
2012-01-12 08:51:58 +00:00
Sandro Santilli a58b999828 Expose gbox_float_round to liblwgeom API
git-svn-id: http://svn.osgeo.org/postgis/trunk@8783 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 08:51:53 +00:00
Paul Ramsey 4565be828a 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
2012-01-11 19:45:13 +00:00
Paul Ramsey addeeb758f 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
2012-01-11 19:20:35 +00:00
Sandro Santilli 6b22793afc 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
2012-01-11 18:53:28 +00:00
Sandro Santilli 8c6afecd88 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
2012-01-11 18:45:00 +00:00
Sandro Santilli 887793cead 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
2012-01-11 17:18:27 +00:00
Sandro Santilli 1ecb481104 Encode dependency of libpgcommon on postgis_config.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@8777 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 17:18:19 +00:00
Sandro Santilli 77a7370e11 Xref ST_AsBinary to its reverse ST_GeomFromWKB
git-svn-id: http://svn.osgeo.org/postgis/trunk@8776 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 17:18:15 +00:00
Sandro Santilli e6d78c3dc7 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
2012-01-11 15:57:22 +00:00
Sandro Santilli 51d5935d14 Drop ST_AsBinary(text) wrapper, removed in previous commits
git-svn-id: http://svn.osgeo.org/postgis/trunk@8774 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 15:51:27 +00:00
Sandro Santilli de54e17fde Add documentation about enhancements in ST_AsBinary (#288)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8773 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 14:50:16 +00:00
Sandro Santilli 63838db72e 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
2012-01-11 14:46:13 +00:00
Sandro Santilli bebeae78a6 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
2012-01-11 12:30:12 +00:00
Sandro Santilli 9540a582f6 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
2012-01-11 11:17:10 +00:00
Sandro Santilli d2b342f3a6 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
2012-01-11 11:17:03 +00:00
Sandro Santilli e228e4ba5a 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
2012-01-11 11:16:58 +00:00
Sandro Santilli de4e4bd598 Add note aboute AsText support for higher dimension
git-svn-id: http://svn.osgeo.org/postgis/trunk@8767 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 10:40:21 +00:00
Sandro Santilli d5c60e3097 Unleash SQL/MM WKT returned by ST_AsText (#287)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8766 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 10:34:41 +00:00
Sandro Santilli 6ed3d3879d 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
2012-01-11 08:36:29 +00:00
Sandro Santilli 926ca62b9f Update HARD UPGRADE section, mention --with-topology
git-svn-id: http://svn.osgeo.org/postgis/trunk@8760 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 08:26:36 +00:00
Paul Ramsey a4298ca293 Try an older bash syntax for robe?
git-svn-id: http://svn.osgeo.org/postgis/trunk@8759 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 02:27:41 +00:00
Paul Ramsey 559feb23d9 Add ST_LocateAlong support for multipoints too (completeness)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8758 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-10 23:22:18 +00:00
Paul Ramsey 242d9c9476 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
2012-01-10 23:14:28 +00:00
Paul Ramsey c48d00d607 svn:ignore properties
git-svn-id: http://svn.osgeo.org/postgis/trunk@8756 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-10 23:04:51 +00:00
Paul Ramsey dfce8d3f65 Spacing, yes
git-svn-id: http://svn.osgeo.org/postgis/trunk@8755 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-10 23:04:10 +00:00
Regina Obe c324386526 #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
2012-01-10 22:20:35 +00:00
Paul Ramsey cd2ef3c505 Bring the extensions into the autoconf environment
git-svn-id: http://svn.osgeo.org/postgis/trunk@8753 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-10 21:51:21 +00:00
Bborie Park bd703fcc7f 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
2012-01-10 19:36:52 +00:00
Bborie Park c4305740bc 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
2012-01-10 18:45:19 +00:00
Bborie Park 7fe12a51e0 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
2012-01-10 18:18:23 +00:00
Sandro Santilli 7cc0eff83f 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
2012-01-10 18:12:27 +00:00
Sandro Santilli bfa3222be1 Reflect type of empty from ST_Dimension (#1441)
No existing testcase fail, no new testcase is added.
This change doesn't invalidate any part of the reference manual.
Reference manual isn't updated.

Signed-off-by: Charlie Brown

git-svn-id: http://svn.osgeo.org/postgis/trunk@8748 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-10 14:58:16 +00:00