]>
granicus.if.org Git - postgis/log
Sandro Santilli [Sat, 13 Mar 2010 11:23:22 +0000 (11:23 +0000)]
Fix printf call
git-svn-id: http://svn.osgeo.org/postgis/trunk@5435
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sat, 13 Mar 2010 11:16:53 +0000 (11:16 +0000)]
Split-line-by-line: handle overlap cases by raising an exception
git-svn-id: http://svn.osgeo.org/postgis/trunk@5434
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sat, 13 Mar 2010 10:59:19 +0000 (10:59 +0000)]
Implement split-line-by-line
git-svn-id: http://svn.osgeo.org/postgis/trunk@5433
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sat, 13 Mar 2010 09:22:06 +0000 (09:22 +0000)]
Be polite
git-svn-id: http://svn.osgeo.org/postgis/trunk@5432
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Fri, 12 Mar 2010 18:39:17 +0000 (18:39 +0000)]
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
Sandro Santilli [Fri, 12 Mar 2010 15:46:09 +0000 (15:46 +0000)]
ptarray_substring *does* already implement interpolation
git-svn-id: http://svn.osgeo.org/postgis/trunk@5429
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Fri, 12 Mar 2010 15:25:33 +0000 (15:25 +0000)]
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
Sandro Santilli [Fri, 12 Mar 2010 15:15:44 +0000 (15:15 +0000)]
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
Sandro Santilli [Fri, 12 Mar 2010 15:14:01 +0000 (15:14 +0000)]
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
Sandro Santilli [Fri, 12 Mar 2010 14:03:43 +0000 (14:03 +0000)]
Add item about GeometryN/NumGeometries
git-svn-id: http://svn.osgeo.org/postgis/trunk@5424
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Fri, 12 Mar 2010 13:50:22 +0000 (13:50 +0000)]
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
Mark Cave-Ayland [Fri, 12 Mar 2010 13:29:28 +0000 (13:29 +0000)]
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
Regina Obe [Fri, 12 Mar 2010 00:21:21 +0000 (00:21 +0000)]
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
Sandro Santilli [Thu, 11 Mar 2010 20:50:40 +0000 (20:50 +0000)]
More comments cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@5416
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 11 Mar 2010 20:48:46 +0000 (20:48 +0000)]
remove wrong comment
git-svn-id: http://svn.osgeo.org/postgis/trunk@5415
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 11 Mar 2010 20:34:01 +0000 (20:34 +0000)]
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
Sandro Santilli [Thu, 11 Mar 2010 20:28:24 +0000 (20:28 +0000)]
*always* return a collection from ST_SplitGeometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@5413
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 11 Mar 2010 20:19:14 +0000 (20:19 +0000)]
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
Sandro Santilli [Thu, 11 Mar 2010 17:53:20 +0000 (17:53 +0000)]
Add SRID retainment testcase for removerepeatedpoint (paranoia)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5411
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 11 Mar 2010 17:51:00 +0000 (17:51 +0000)]
Add SRID retainment testcases
git-svn-id: http://svn.osgeo.org/postgis/trunk@5410
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 11 Mar 2010 17:21:42 +0000 (17:21 +0000)]
Don't 'clean' the SRID...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5409
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 11 Mar 2010 14:34:19 +0000 (14:34 +0000)]
Grammar fix.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5401
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 10 Mar 2010 15:38:30 +0000 (15:38 +0000)]
Fix to allow compile on 9.0alpha
git-svn-id: http://svn.osgeo.org/postgis/trunk@5398
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 10 Mar 2010 15:33:33 +0000 (15:33 +0000)]
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
Sandro Santilli [Wed, 10 Mar 2010 15:29:39 +0000 (15:29 +0000)]
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
Sandro Santilli [Wed, 10 Mar 2010 14:32:54 +0000 (14:32 +0000)]
Document closest_point_on_segment in header file
git-svn-id: http://svn.osgeo.org/postgis/trunk@5394
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 10 Mar 2010 14:20:04 +0000 (14:20 +0000)]
Document ptarray_locate_point in header file
git-svn-id: http://svn.osgeo.org/postgis/trunk@5393
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 10 Mar 2010 10:07:37 +0000 (10:07 +0000)]
Export geos error logger
git-svn-id: http://svn.osgeo.org/postgis/trunk@5392
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 9 Mar 2010 00:37:49 +0000 (00:37 +0000)]
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
Paul Ramsey [Tue, 9 Mar 2010 00:31:26 +0000 (00:31 +0000)]
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
Paul Ramsey [Tue, 9 Mar 2010 00:22:52 +0000 (00:22 +0000)]
Quiet notices in the .sql install files (#415)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5386
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 8 Mar 2010 23:28:28 +0000 (23:28 +0000)]
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
Kevin Neufeld [Mon, 8 Mar 2010 16:37:05 +0000 (16:37 +0000)]
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
Paul Ramsey [Fri, 5 Mar 2010 23:31:12 +0000 (23:31 +0000)]
Note minimum required versions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5377
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Fri, 5 Mar 2010 21:49:54 +0000 (21:49 +0000)]
Fix typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@5376
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 5 Mar 2010 02:35:16 +0000 (02:35 +0000)]
A few more WKB unit tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5375
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Thu, 4 Mar 2010 09:40:28 +0000 (09:40 +0000)]
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
Paul Ramsey [Wed, 3 Mar 2010 06:10:41 +0000 (06:10 +0000)]
Set keywords.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5372
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 3 Mar 2010 06:10:07 +0000 (06:10 +0000)]
Set keywords and some copyright headers.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5371
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 3 Mar 2010 06:06:23 +0000 (06:06 +0000)]
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
Paul Ramsey [Wed, 3 Mar 2010 06:06:00 +0000 (06:06 +0000)]
Move spheroid test to the correct place.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5369
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 3 Mar 2010 05:40:29 +0000 (05:40 +0000)]
Remove doxygen flags from static functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5368
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 3 Mar 2010 05:38:38 +0000 (05:38 +0000)]
Add some documentation to the public functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5367
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 3 Mar 2010 01:15:16 +0000 (01:15 +0000)]
Add in tests and fixes for WKB emitter.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5366
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 2 Mar 2010 23:18:39 +0000 (23:18 +0000)]
Add first cut to lwgeom_to_wkb function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5365
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 2 Mar 2010 23:16:44 +0000 (23:16 +0000)]
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
Sandro Santilli [Tue, 2 Mar 2010 21:32:09 +0000 (21:32 +0000)]
ST_MakeValid : turn collapsed lines into points [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5363
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sun, 28 Feb 2010 23:11:08 +0000 (23:11 +0000)]
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
Sandro Santilli [Sun, 28 Feb 2010 22:48:42 +0000 (22:48 +0000)]
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
Sandro Santilli [Sun, 28 Feb 2010 22:24:18 +0000 (22:24 +0000)]
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
Sandro Santilli [Sun, 28 Feb 2010 21:31:01 +0000 (21:31 +0000)]
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
Sandro Santilli [Sun, 28 Feb 2010 20:36:02 +0000 (20:36 +0000)]
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
Sandro Santilli [Sun, 28 Feb 2010 19:24:05 +0000 (19:24 +0000)]
Fix documentation to match current behaviour
git-svn-id: http://svn.osgeo.org/postgis/trunk@5355
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sun, 28 Feb 2010 19:09:00 +0000 (19:09 +0000)]
Simplify code
git-svn-id: http://svn.osgeo.org/postgis/trunk@5354
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sun, 28 Feb 2010 19:04:08 +0000 (19:04 +0000)]
Avoid a call to the GEOS CAPI when unnecessary (works around a bug in GEOS aborting in some cases of EMPTY polygons
git-svn-id: http://svn.osgeo.org/postgis/trunk@5353
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sun, 28 Feb 2010 17:20:05 +0000 (17:20 +0000)]
Move ST_CleanGeometry core code into specialized 'lwgeom' function
git-svn-id: http://svn.osgeo.org/postgis/trunk@5352
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sun, 28 Feb 2010 17:11:10 +0000 (17:11 +0000)]
cleanups
git-svn-id: http://svn.osgeo.org/postgis/trunk@5351
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sun, 28 Feb 2010 14:05:40 +0000 (14:05 +0000)]
Put areal part first in collection, and collapsed edges second
git-svn-id: http://svn.osgeo.org/postgis/trunk@5350
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Fri, 26 Feb 2010 15:05:55 +0000 (15:05 +0000)]
Add new 'make garden' rule to launch full Garden test regression tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@5349
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 26 Feb 2010 02:50:58 +0000 (02:50 +0000)]
Instructions on adding new tests to cunit, from Jeff Adams.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5348
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Fri, 26 Feb 2010 00:16:25 +0000 (00:16 +0000)]
Add few more lwgeom_typename, and update regress test if needed. Restore initial lwnotice behaviour in remove_repeated_points on unknown types (instead of lwerror).
git-svn-id: http://svn.osgeo.org/postgis/trunk@5347
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Thu, 25 Feb 2010 17:54:08 +0000 (17:54 +0000)]
Fix add forgotten return in flip_coordinates (cf #452). Add lwgeom_typename in several functions to avoid cryptic error message (#452 again).
git-svn-id: http://svn.osgeo.org/postgis/trunk@5346
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 25 Feb 2010 15:13:48 +0000 (15:13 +0000)]
Fix potential corner case in sphere area calculation (#451)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5345
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 25 Feb 2010 14:30:19 +0000 (14:30 +0000)]
Put new functions in alphabetical order.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5343
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 25 Feb 2010 14:23:29 +0000 (14:23 +0000)]
Put in What is new in 2.0 section to trap new 2.0 enhancements
git-svn-id: http://svn.osgeo.org/postgis/trunk@5342
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Thu, 25 Feb 2010 14:11:04 +0000 (14:11 +0000)]
Add libxml2 requirement para. Fix #344. Thanks to Mateus for report.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5341
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 25 Feb 2010 13:41:02 +0000 (13:41 +0000)]
Fix for st_area(geography) over the dateline (#450)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5339
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Thu, 25 Feb 2010 13:38:57 +0000 (13:38 +0000)]
rename ptarray_reverse_axis to ptarray_flip_coordinates. Add lwgeom_flip_coordinates and ST_FlipCoordinates (#354). Add relevant cunit tests and basic documentation.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5338
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 25 Feb 2010 13:30:09 +0000 (13:30 +0000)]
Drop unused code, avoid putting empty geometry in a collection.. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5337
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 25 Feb 2010 13:15:55 +0000 (13:15 +0000)]
Recursively try to build area with portions of the original boundary not on the boundary of newly constructed area and symdifference the new area (if any) with the final polygon being built. This behaviour gives more chance to get a pure areal (not mixed) output still not missing vertices.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5336
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 24 Feb 2010 14:40:17 +0000 (14:40 +0000)]
Change dimensionality indicators to have spaces between type indicators for WKT_ISO output form.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5335
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Wed, 24 Feb 2010 13:50:22 +0000 (13:50 +0000)]
Add support from SRID= block on EWKT
git-svn-id: http://svn.osgeo.org/postgis/trunk@5334
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 23 Feb 2010 22:18:15 +0000 (22:18 +0000)]
Remove last compile warnings.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5333
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 23 Feb 2010 22:16:33 +0000 (22:16 +0000)]
Making test methods static to avoid compiler warnings. For Jeff Adams.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5332
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 23 Feb 2010 22:14:07 +0000 (22:14 +0000)]
Making test methods static to avoid compiler warnings.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5331
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 23 Feb 2010 22:11:45 +0000 (22:11 +0000)]
Make test functions static.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5330
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 23 Feb 2010 22:07:14 +0000 (22:07 +0000)]
Made unit tests easier to add. New suites now just need to be added to two lines in cu_tester.c, no changes to header files necessary, new tests need one line in the appropriate .c file. From Jeff Adams.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5329
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 23 Feb 2010 21:41:52 +0000 (21:41 +0000)]
Remove unused va_copy.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5327
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 23 Feb 2010 21:41:09 +0000 (21:41 +0000)]
Woops again, got work and start size values reversed.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5326
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 23 Feb 2010 21:30:35 +0000 (21:30 +0000)]
Oops, commit stringbuffer.h with sensible values for internal sizes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5325
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 23 Feb 2010 21:29:57 +0000 (21:29 +0000)]
Improve performance and cut back stringbuffer_t to the minimum.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5324
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 23 Feb 2010 19:51:41 +0000 (19:51 +0000)]
Allow cu_tester to accept parameters to run individual tests or suites, from Jeff Adams.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5323
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 23 Feb 2010 19:42:15 +0000 (19:42 +0000)]
Don't let ST_RemoveRepeatedPoint collapse LINESTRINGs (not sure why, but someone doesn't want them in the db)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5322
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Tue, 23 Feb 2010 18:29:00 +0000 (18:29 +0000)]
Move ptarray reverse axis function from postgis/lwgeom_in_gml to liblwgeom/ptarray
git-svn-id: http://svn.osgeo.org/postgis/trunk@5319
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 23 Feb 2010 18:18:19 +0000 (18:18 +0000)]
More WKT tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5318
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 23 Feb 2010 17:55:00 +0000 (17:55 +0000)]
More WKT unit tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@5317
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Tue, 23 Feb 2010 15:55:33 +0000 (15:55 +0000)]
In fact Nested GeometryCollection are never been supported in SVG and GeoJSON. Update the cunit tests cases
git-svn-id: http://svn.osgeo.org/postgis/trunk@5316
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Tue, 23 Feb 2010 15:21:45 +0000 (15:21 +0000)]
Check astyle version prior to do anything. 'blessed' version is 1.23. Related to #433 and postgis-devel discussions
git-svn-id: http://svn.osgeo.org/postgis/trunk@5315
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Tue, 23 Feb 2010 14:52:28 +0000 (14:52 +0000)]
Fix 443. Move all regress export functions test files in a single one. add geography output regression tests (SVG/KML/GML/GeoJSON)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5314
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 22 Feb 2010 22:43:31 +0000 (22:43 +0000)]
Add more unit tests for WKT
git-svn-id: http://svn.osgeo.org/postgis/trunk@5312
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Mon, 22 Feb 2010 22:04:18 +0000 (22:04 +0000)]
Fix #441. And introduce a change in behaviour: if geometryCollection and bbox, not sub geoms bbox are provided anymore
git-svn-id: http://svn.osgeo.org/postgis/trunk@5311
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 22 Feb 2010 20:58:37 +0000 (20:58 +0000)]
Let ST_CleanGeometry down to C [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5307
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 22 Feb 2010 20:45:08 +0000 (20:45 +0000)]
Derive an lwgeom_make_valid from ST_MakeValid [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5306
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 22 Feb 2010 20:42:05 +0000 (20:42 +0000)]
ST_AsLatLonText(geometry, format) from Jeff Adams
git-svn-id: http://svn.osgeo.org/postgis/trunk@5305
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 22 Feb 2010 20:29:32 +0000 (20:29 +0000)]
Follow style guidelines for function naming
git-svn-id: http://svn.osgeo.org/postgis/trunk@5304
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 22 Feb 2010 19:53:22 +0000 (19:53 +0000)]
First cut of new WKT output functions, need more unit tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5302
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Mon, 22 Feb 2010 19:52:30 +0000 (19:52 +0000)]
Fix missing math.h include in lwout_svg (#438). Put back lwgeom_export.h as we need header for getSRSbySRID.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5301
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 22 Feb 2010 19:37:21 +0000 (19:37 +0000)]
Oops (#434)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5299
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 22 Feb 2010 19:35:05 +0000 (19:35 +0000)]
Fix warnings when building with GEOS < 3.3.0 (ticket #434
git-svn-id: http://svn.osgeo.org/postgis/trunk@5298
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 22 Feb 2010 19:31:43 +0000 (19:31 +0000)]
Fix missing prototypes warnings
git-svn-id: http://svn.osgeo.org/postgis/trunk@5297
b70326c6 -7e19-0410-871a-
916f4a2858ee