Commit graph

4210 commits

Author SHA1 Message Date
Sandro Santilli 87798fdd85 Implement split-line-by-line
git-svn-id: http://svn.osgeo.org/postgis/trunk@5433 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-13 10:59:19 +00:00
Sandro Santilli efb29930c7 Be polite
git-svn-id: http://svn.osgeo.org/postgis/trunk@5432 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-13 09:22:06 +00:00
Sandro Santilli 90342dd79a Fix memory errors in presence of NULL (0-verticed) geometries and insert (default) policy.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5430 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-12 18:39:17 +00:00
Sandro Santilli 478d2fffb0 ptarray_substring *does* already implement interpolation
git-svn-id: http://svn.osgeo.org/postgis/trunk@5429 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-12 15:46:09 +00:00
Sandro Santilli d243685d98 Drop extraneous task (if it referred to loader we do have a switch for index creation now)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5428 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-12 15:25:33 +00:00
Sandro Santilli 9e25bdc8e8 Fix ST_DumpPoints not to relay on NULL return from ST_NumGeometries to tell multi and singles apart
git-svn-id: http://svn.osgeo.org/postgis/trunk@5427 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-12 15:15:44 +00:00
Sandro Santilli 6dea288dfb Trigger reconstruction of regress' postgis.sql when original one changes
git-svn-id: http://svn.osgeo.org/postgis/trunk@5426 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-12 15:14:01 +00:00
Sandro Santilli 2d80e4f979 Add item about GeometryN/NumGeometries
git-svn-id: http://svn.osgeo.org/postgis/trunk@5424 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-12 14:03:43 +00:00
Sandro Santilli 9d115d0b1e Add support for simple geometries in ST_GeometryN and ST_NumGeometries
git-svn-id: http://svn.osgeo.org/postgis/trunk@5423 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-12 13:50:22 +00:00
Mark Cave-Ayland 1c5cb035c3 Fix the PGXS override code for detecting older versions of PostgreSQL - the existing (incomplete) check was still checking for a minimum version of 8.5, rather
than the new version number of 9.0.


git-svn-id: http://svn.osgeo.org/postgis/trunk@5422 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-12 13:29:28 +00:00
Regina Obe d098835512 put in note about improvement to ST_Line_SubString #410
git-svn-id: http://svn.osgeo.org/postgis/trunk@5419 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-12 00:21:21 +00:00
Sandro Santilli 75a5c45426 More comments cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@5416 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 20:50:40 +00:00
Sandro Santilli 94438cbefb remove wrong comment
git-svn-id: http://svn.osgeo.org/postgis/trunk@5415 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 20:48:46 +00:00
Sandro Santilli 645634d9a3 Set interface specs in stone within the implementation file, add a testcase to show what's "left" and what's "right" in the split-line-by-point
git-svn-id: http://svn.osgeo.org/postgis/trunk@5414 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 20:34:01 +00:00
Sandro Santilli a9a589d65b *always* return a collection from ST_SplitGeometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@5413 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 20:28:24 +00:00
Sandro Santilli e44c62ca56 Have ST_SplitGeometry return a collection of at most 2 elements (original part, cut-away part) so it's easier to handle by callers
git-svn-id: http://svn.osgeo.org/postgis/trunk@5412 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 20:19:14 +00:00
Sandro Santilli 4cd7232685 Add SRID retainment testcase for removerepeatedpoint (paranoia)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5411 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 17:53:20 +00:00
Sandro Santilli f5a2df405b Add SRID retainment testcases
git-svn-id: http://svn.osgeo.org/postgis/trunk@5410 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 17:51:00 +00:00
Sandro Santilli 5bb6c262b8 Don't 'clean' the SRID...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5409 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 17:21:42 +00:00
Paul Ramsey 8ac3be8ece Grammar fix.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5401 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-11 14:34:19 +00:00
Paul Ramsey 9e05dc82e6 Fix to allow compile on 9.0alpha
git-svn-id: http://svn.osgeo.org/postgis/trunk@5398 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-10 15:38:30 +00:00
Sandro Santilli 4a7cb9dd18 Initial work on ST_SplitGeometry. Split line by point implemented.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5396 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-10 15:33:33 +00:00
Sandro Santilli fb7ab3a9a3 Since we do a full scan of pointarray from ptarray_locate_point, take the chance to also return min distance
git-svn-id: http://svn.osgeo.org/postgis/trunk@5395 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-10 15:29:39 +00:00
Sandro Santilli c2eac6cc1a Document closest_point_on_segment in header file
git-svn-id: http://svn.osgeo.org/postgis/trunk@5394 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-10 14:32:54 +00:00
Sandro Santilli 8ed31bd563 Document ptarray_locate_point in header file
git-svn-id: http://svn.osgeo.org/postgis/trunk@5393 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-10 14:20:04 +00:00
Sandro Santilli 3680dc978a Export geos error logger
git-svn-id: http://svn.osgeo.org/postgis/trunk@5392 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-10 10:07:37 +00:00
Paul Ramsey c0ddd4dc6e Fix syntax error in spatial_ref_sys hard upgrade directions (#373)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5389 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-09 00:37:49 +00:00
Paul Ramsey 2c29303c60 Include 'geography_columns' defn when upgrading from <= 1.4 (#414)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5387 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-09 00:31:26 +00:00
Paul Ramsey 9e89461232 Quiet notices in the .sql install files (#415)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5386 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-09 00:22:52 +00:00
Paul Ramsey a17c33cc33 Update the bbox when you alter the underlying geometry (#410) ST_SetPoint, ST_Ad
dPoint, ST_RemovePoint.



git-svn-id: http://svn.osgeo.org/postgis/trunk@5384 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-08 23:28:28 +00:00
Kevin Neufeld 346e30aa94 updated broken link to utmzone PostGIS plpgsql helper function.
bug #461

git-svn-id: http://svn.osgeo.org/postgis/trunk@5380 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-08 16:37:05 +00:00
Paul Ramsey 8a37818497 Note minimum required versions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5377 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-05 23:31:12 +00:00
Sandro Santilli cfc1a829f3 Fix typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@5376 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-05 21:49:54 +00:00
Paul Ramsey 3345c77743 A few more WKB unit tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5375 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-05 02:35:16 +00:00
Olivier Courtin 3e7d81a025 Add ST_PointN xref in ST_SetPoint entry, from Bruno Friedmann report
git-svn-id: http://svn.osgeo.org/postgis/trunk@5374 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-04 09:40:28 +00:00
Paul Ramsey b9b682cd5f Set keywords.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5372 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-03 06:10:41 +00:00
Paul Ramsey 0c32bc13d1 Set keywords and some copyright headers.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5371 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-03 06:10:07 +00:00
Paul Ramsey f4f4aa7dbe Add some tests of the old versus new WKB output.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5370 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-03 06:06:23 +00:00
Paul Ramsey 7dbd3c0c6f Move spheroid test to the correct place.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5369 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-03 06:06:00 +00:00
Paul Ramsey e0e7243ee8 Remove doxygen flags from static functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5368 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-03 05:40:29 +00:00
Paul Ramsey a81a0a2f90 Add some documentation to the public functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5367 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-03 05:38:38 +00:00
Paul Ramsey 7658099f7c Add in tests and fixes for WKB emitter.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5366 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-03 01:15:16 +00:00
Paul Ramsey de4dd5aa76 Add first cut to lwgeom_to_wkb function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5365 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-02 23:18:39 +00:00
Paul Ramsey ecbea23876 Add a couple functions (length, copy) to stringbuffer, and add comments.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5364 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-02 23:16:44 +00:00
Sandro Santilli ebc424f290 ST_MakeValid : turn collapsed lines into points [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5363 b70326c6-7e19-0410-871a-916f4a2858ee
2010-03-02 21:32:09 +00:00
Sandro Santilli 2d61c313c5 Node lineal geometries resulting invalid. Re-enable automated testcase for st_MakeValid [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5360 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-28 23:11:08 +00:00
Sandro Santilli 283b307076 Don't use a collection when there's no area
git-svn-id: http://svn.osgeo.org/postgis/trunk@5359 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-28 22:48:42 +00:00
Sandro Santilli b12f29406a Fix build with debugging on, fix bug when run against invalid linestrings
git-svn-id: http://svn.osgeo.org/postgis/trunk@5358 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-28 22:24:18 +00:00
Sandro Santilli 2fc1283d96 Add paranoid check to make super-sure no input vertices are dropped by ST_MakeValid [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5357 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-28 21:31:01 +00:00
Sandro Santilli 0bbf144f65 Put GEOS-only functionality of ST_MakeValid in its own function
git-svn-id: http://svn.osgeo.org/postgis/trunk@5356 b70326c6-7e19-0410-871a-916f4a2858ee
2010-02-28 20:36:02 +00:00