]> granicus.if.org Git - postgis/log
postgis
15 years agoFix 443. Move all regress export functions test files in a single one. add geography...
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

15 years agoAdd more unit tests for WKT
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

15 years agoFix #441. And introduce a change in behaviour: if geometryCollection and bbox, not...
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

15 years agoLet ST_CleanGeometry down to C [RT-SIGTA]
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

15 years agoDerive an lwgeom_make_valid from ST_MakeValid [RT-SIGTA]
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

15 years agoST_AsLatLonText(geometry, format) from Jeff Adams
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

15 years agoFollow style guidelines for function naming
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

15 years agoFirst cut of new WKT output functions, need more unit tests.
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

15 years agoFix missing math.h include in lwout_svg (#438). Put back lwgeom_export.h as we need...
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

15 years agoOops (#434)
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

15 years agoFix warnings when building with GEOS < 3.3.0 (ticket #434
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

15 years agoFix missing prototypes warnings
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

15 years agoId tag
Olivier Courtin [Mon, 22 Feb 2010 19:31:17 +0000 (19:31 +0000)]
Id tag

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

15 years agomerge all export functions in a same file. remove useless old ones. rename SVG one...
Olivier Courtin [Mon, 22 Feb 2010 19:16:00 +0000 (19:16 +0000)]
merge all export functions in a same file. remove useless old ones. rename SVG one to LWGEOM_asSVG for consistancy.

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

15 years agoFix comment stuff in cunit
Olivier Courtin [Mon, 22 Feb 2010 18:49:40 +0000 (18:49 +0000)]
Fix comment stuff in cunit

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

15 years agomove ST_AsSVG from postgis to lwgeom dir. write cun it tests. related to #377
Olivier Courtin [Mon, 22 Feb 2010 18:43:06 +0000 (18:43 +0000)]
move ST_AsSVG from postgis to lwgeom dir. write cun it tests. related to #377

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

15 years agobbox only bother about external ring. add the related cunit test
Olivier Courtin [Mon, 22 Feb 2010 15:37:09 +0000 (15:37 +0000)]
bbox only bother about external ring. add the related cunit test

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

15 years agoMove stringbuffer from ./loader to ./liblwgeom for use in string emitter functions.
Paul Ramsey [Mon, 22 Feb 2010 15:30:10 +0000 (15:30 +0000)]
Move stringbuffer from ./loader to ./liblwgeom for use in string emitter functions.

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

15 years agoMove ST_AsGeoJson from postgis to liblwgeom dir. Use as most as cunit test as possibl...
Olivier Courtin [Mon, 22 Feb 2010 14:03:19 +0000 (14:03 +0000)]
Move ST_AsGeoJson from postgis to liblwgeom dir. Use as most as cunit test as possible. Related to #377.

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

15 years agoCleanup the GeometryClean function now that vertex checking is done better in ST_Make...
Sandro Santilli [Sun, 21 Feb 2010 22:34:07 +0000 (22:34 +0000)]
Cleanup the GeometryClean function now that vertex checking is done better in ST_MakeValid

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

15 years agoForce multi-type in output if input was multi [RT-SIGTA]
Sandro Santilli [Sun, 21 Feb 2010 22:10:02 +0000 (22:10 +0000)]
Force multi-type in output if input was multi [RT-SIGTA]

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

15 years agoAdd missing MultiPoint test. Fix wrong LWGEOM type on cu_gml tests.
Olivier Courtin [Sun, 21 Feb 2010 21:53:16 +0000 (21:53 +0000)]
Add missing MultiPoint test. Fix wrong LWGEOM type on cu_gml tests.

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

15 years agoadd explicit void return type
Olivier Courtin [Sun, 21 Feb 2010 21:34:45 +0000 (21:34 +0000)]
add explicit void return type

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

15 years agoDisable 'clean' test (still deciding on what's the expected output); keep only cut...
Sandro Santilli [Sun, 21 Feb 2010 21:11:03 +0000 (21:11 +0000)]
Disable 'clean' test (still deciding on what's the expected output); keep only cut-lines that have vertices not shared with boundary of final area; move 'clean' code in separate file [RT-SIGTA].

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

15 years agoMove ST_AsKML from postgis to liblwgeom dir. Use as most cunit test as possible....
Olivier Courtin [Sun, 21 Feb 2010 20:32:11 +0000 (20:32 +0000)]
Move ST_AsKML from postgis to liblwgeom dir. Use as most cunit test as possible. Few related corrections on GML similar implementation. cf #377

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

15 years agoAdd forgotten lwout_gml.c file (#377)
Olivier Courtin [Sun, 21 Feb 2010 18:23:49 +0000 (18:23 +0000)]
Add forgotten lwout_gml.c file (#377)

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

15 years agoMove ST_AsGML from postgis dir to liblwgeom. Rewrite most units test with cunit....
Olivier Courtin [Sun, 21 Feb 2010 18:18:37 +0000 (18:18 +0000)]
Move ST_AsGML from postgis dir to liblwgeom. Rewrite most units test with cunit. cf #377

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

15 years agomake astyle session
Olivier Courtin [Sun, 21 Feb 2010 12:36:27 +0000 (12:36 +0000)]
make astyle session

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

15 years agoST_RemoveRepeatedPoints [RT-SIGTA]
Sandro Santilli [Sun, 21 Feb 2010 12:22:08 +0000 (12:22 +0000)]
ST_RemoveRepeatedPoints [RT-SIGTA]

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

15 years agostyle...
Sandro Santilli [Sun, 21 Feb 2010 12:21:27 +0000 (12:21 +0000)]
style...

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

15 years agoMake stylish
Sandro Santilli [Sun, 21 Feb 2010 12:21:04 +0000 (12:21 +0000)]
Make stylish

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

15 years agouse the rights homogenize cunit suite handlers
Olivier Courtin [Sat, 20 Feb 2010 19:47:49 +0000 (19:47 +0000)]
use the rights homogenize cunit suite handlers

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

15 years agoFix computed string length in Polygon with several rings for ST_AsGML with GML3....
Olivier Courtin [Sat, 20 Feb 2010 19:09:30 +0000 (19:09 +0000)]
Fix computed string length in Polygon with several rings for ST_AsGML with GML3. Related to #421

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

15 years agoUse lwgeom_homogenize in in_kml stuff. Related to #375
Olivier Courtin [Sat, 20 Feb 2010 18:26:59 +0000 (18:26 +0000)]
Use lwgeom_homogenize in in_kml stuff. Related to #375

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

15 years agoAdd lwgeom_homogenize function. Related to #375. Add cunit related tests
Olivier Courtin [Sat, 20 Feb 2010 18:25:42 +0000 (18:25 +0000)]
Add lwgeom_homogenize function. Related to #375. Add cunit related tests

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

15 years agoAdd Cunit - lwerror use case handle - #420
Olivier Courtin [Sat, 20 Feb 2010 16:47:12 +0000 (16:47 +0000)]
Add Cunit - lwerror use case handle - #420

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

15 years agoAdd multilinestring support to st_line_substring (#419)
Paul Ramsey [Thu, 18 Feb 2010 21:02:49 +0000 (21:02 +0000)]
Add multilinestring support to st_line_substring (#419)

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

15 years agoAllow retaining badly collapsed rings (single-point) as points in ST_MakeValid. Add...
Sandro Santilli [Wed, 17 Feb 2010 21:02:49 +0000 (21:02 +0000)]
Allow retaining badly collapsed rings (single-point) as points in ST_MakeValid. Add testcase for it [RT-SIGTA]

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

15 years agoremoved sfs_compliant note for ST_Transform
Kevin Neufeld [Tue, 16 Feb 2010 23:27:23 +0000 (23:27 +0000)]
removed sfs_compliant note for ST_Transform

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

15 years agoReturn NULL rather than throwing when a COLLECTION is given to ST_Boundary [RT-SIGTA]
Sandro Santilli [Tue, 16 Feb 2010 09:38:30 +0000 (09:38 +0000)]
Return NULL rather than throwing when a COLLECTION is given to ST_Boundary [RT-SIGTA]

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

15 years agoFix build with --enable-debug=3 [RT-SIGTA]
Sandro Santilli [Tue, 16 Feb 2010 09:29:31 +0000 (09:29 +0000)]
Fix build with --enable-debug=3 [RT-SIGTA]

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

15 years agoAdd origin field for the clean dataset table, so we can add PG-specific ones w/out...
Sandro Santilli [Tue, 16 Feb 2010 09:08:11 +0000 (09:08 +0000)]
Add origin field for the clean dataset table, so we can add PG-specific ones w/out caring about visualizing them:)

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

15 years agoAdd a test for input being invalid (a test of the test)
Sandro Santilli [Tue, 16 Feb 2010 09:06:48 +0000 (09:06 +0000)]
Add a test for input being invalid (a test of the test)

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

15 years agoSeparate areal-specific cleanups in LWGEOM_GEOS_makeValidPolygon [RT-SIGTA]
Sandro Santilli [Tue, 16 Feb 2010 09:03:21 +0000 (09:03 +0000)]
Separate areal-specific cleanups in LWGEOM_GEOS_makeValidPolygon [RT-SIGTA]

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

15 years agoEmpty geometries are cleanest [RT-SIGTA]
Sandro Santilli [Tue, 16 Feb 2010 08:28:35 +0000 (08:28 +0000)]
Empty geometries are cleanest [RT-SIGTA]

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

15 years agoDrop the optional arg to ST_MakeClean, document what it does, improve the ST_CleanGeo...
Sandro Santilli [Tue, 16 Feb 2010 08:22:50 +0000 (08:22 +0000)]
Drop the optional arg to ST_MakeClean, document what it does, improve the ST_CleanGeometry stub. [RT-SIGTA]

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

15 years agoDrop the optional parameter to ST_MakeValid, we always want to collect collapses...
Sandro Santilli [Tue, 16 Feb 2010 08:07:39 +0000 (08:07 +0000)]
Drop the optional parameter to ST_MakeValid, we always want to collect collapses (users can always filter later) [RT-SIGTA].

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

15 years agoDocument ST_Dimension handling of empty geometries
Sandro Santilli [Tue, 16 Feb 2010 08:03:03 +0000 (08:03 +0000)]
Document ST_Dimension handling of empty geometries

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

15 years agoDo not throw exception on empty ST_Dimension(empty) [RT-SIGTA]
Sandro Santilli [Tue, 16 Feb 2010 07:54:28 +0000 (07:54 +0000)]
Do not throw exception on empty ST_Dimension(empty) [RT-SIGTA]

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

15 years agoFurther cleanups in ST_MakeClean [RT-SIGTA]
Sandro Santilli [Mon, 15 Feb 2010 22:41:57 +0000 (22:41 +0000)]
Further cleanups in ST_MakeClean [RT-SIGTA]

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

15 years agoFix unsupported message
Sandro Santilli [Mon, 15 Feb 2010 22:31:11 +0000 (22:31 +0000)]
Fix unsupported message

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

15 years agoPlug more leaks
Sandro Santilli [Mon, 15 Feb 2010 21:17:36 +0000 (21:17 +0000)]
Plug more leaks

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

15 years agoPlug memory leak on GEOS geom construction failure [RT-SIGTA]
Sandro Santilli [Mon, 15 Feb 2010 20:40:32 +0000 (20:40 +0000)]
Plug memory leak on GEOS geom construction failure [RT-SIGTA]

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

15 years agoRework the regress test to make it easier for curious people to keep the test dataset...
Sandro Santilli [Mon, 15 Feb 2010 20:21:09 +0000 (20:21 +0000)]
Rework the regress test to make it easier for curious people to keep the test dataset for inspection with some GUI (give it a try, it's a nice one).

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

15 years agoClarify the case of linestring invalidity dropping confugins reference to linearrings
Sandro Santilli [Sun, 14 Feb 2010 23:35:08 +0000 (23:35 +0000)]
Clarify the case of linestring invalidity dropping confugins reference to linearrings

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

15 years agoImplement ST_MakeValid(geom_in, collect_collapses) and stub ST_CleanGeometry. Add...
Sandro Santilli [Sun, 14 Feb 2010 22:59:57 +0000 (22:59 +0000)]
Implement ST_MakeValid(geom_in, collect_collapses) and stub ST_CleanGeometry. Add regression test for ST_MakeValid and polygons [RT-SIGTA]

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

15 years agoCleanups. Hope to reuse some structs for a C-version of ST_DumpPoints
Sandro Santilli [Sun, 14 Feb 2010 16:54:37 +0000 (16:54 +0000)]
Cleanups. Hope to reuse some structs for a C-version of ST_DumpPoints

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

15 years agoTry to make st_DumpPoints reference somewhat clearer [RT-SIGTA]
Sandro Santilli [Sun, 14 Feb 2010 16:33:06 +0000 (16:33 +0000)]
Try to make st_DumpPoints reference somewhat clearer [RT-SIGTA]

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

15 years agoptarray_remove_repeated_points [RT-SIGTA]
Sandro Santilli [Sun, 14 Feb 2010 13:46:36 +0000 (13:46 +0000)]
ptarray_remove_repeated_points [RT-SIGTA]

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

15 years agoAdd another validity test [RT-SIGTA]
Sandro Santilli [Sat, 13 Feb 2010 15:29:01 +0000 (15:29 +0000)]
Add another validity test [RT-SIGTA]

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

15 years agoHandle NULL returns from POSTGIS2GEOS and LWGEOM2GEOS now that we allow that [RT...
Sandro Santilli [Sat, 13 Feb 2010 14:35:24 +0000 (14:35 +0000)]
Handle NULL returns from POSTGIS2GEOS and LWGEOM2GEOS now that we allow that [RT-SIGTA].
Add a 'commit' rule (give it a try)

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

15 years agoRevert GEOS error handlers to be lwnotice to avoid aborting full transactions (like...
Sandro Santilli [Fri, 12 Feb 2010 23:04:43 +0000 (23:04 +0000)]
Revert GEOS error handlers to be lwnotice to avoid aborting full transactions (like it was in 1.5)

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

15 years agoFix typo
Sandro Santilli [Thu, 11 Feb 2010 23:12:39 +0000 (23:12 +0000)]
Fix typo

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

15 years agoGet style
Sandro Santilli [Thu, 11 Feb 2010 21:01:15 +0000 (21:01 +0000)]
Get style

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

15 years agoSeparate GEOS part of 'buildarea' function from POSTGIS part of it (might eventually...
Sandro Santilli [Thu, 11 Feb 2010 18:56:06 +0000 (18:56 +0000)]
Separate GEOS part of 'buildarea' function from POSTGIS part of it (might eventually be moved down to GEOS) [RT-SIGTA]

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

15 years agoxref
Sandro Santilli [Wed, 10 Feb 2010 22:23:40 +0000 (22:23 +0000)]
xref

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

15 years agoEnhance documentation of ptarray_addPoint [RT-SIGTA]
Sandro Santilli [Wed, 10 Feb 2010 20:54:08 +0000 (20:54 +0000)]
Enhance documentation of ptarray_addPoint [RT-SIGTA]

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

15 years agoDon't refuse to output invalid geometries trough a cursor, being consistent with...
Sandro Santilli [Tue, 9 Feb 2010 22:36:08 +0000 (22:36 +0000)]
Don't refuse to output invalid geometries trough a cursor, being consistent with other output routines (dumper ends up using these) -- [RT-SIGTA]

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

15 years agoOops, it seems I broke the build (sorry)
Sandro Santilli [Tue, 9 Feb 2010 17:59:25 +0000 (17:59 +0000)]
Oops, it seems I broke the build (sorry)

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

15 years agoFix documention
Sandro Santilli [Tue, 9 Feb 2010 06:52:27 +0000 (06:52 +0000)]
Fix documention

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

15 years agotweak the sponsor name
Sandro Santilli [Mon, 8 Feb 2010 22:36:46 +0000 (22:36 +0000)]
tweak the sponsor name

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

15 years agoInitialie GEOS using lwerror for errors so that exceptions are really handled (or...
Sandro Santilli [Mon, 8 Feb 2010 21:39:57 +0000 (21:39 +0000)]
Initialie GEOS using lwerror for errors so that exceptions are really handled (or testcases in #411 crash on many GEOS functions)

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

15 years agoAdd credits to new feature item
Sandro Santilli [Mon, 8 Feb 2010 20:05:32 +0000 (20:05 +0000)]
Add credits to new feature item

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

15 years agoDon't refuse to unparse malformed geometries. Fixes #411. Didn't seem to expose the...
Sandro Santilli [Mon, 8 Feb 2010 18:54:47 +0000 (18:54 +0000)]
Don't refuse to unparse malformed geometries. Fixes #411. Didn't seem to expose the crash in #168, the testcase for it was expanded to extract invalidity reason.

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

15 years agoSimplify hooks on GEOS error reporter function from isvalid* functions
Sandro Santilli [Sat, 6 Feb 2010 13:57:52 +0000 (13:57 +0000)]
Simplify hooks on GEOS error reporter function from isvalid* functions

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

15 years agoAdd another test for #407
Sandro Santilli [Sat, 6 Feb 2010 13:48:44 +0000 (13:48 +0000)]
Add another test for #407

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

15 years agoFix non NULL terminated string in ST_AsSVG with GEOMETRYCOLLECTION EMPTY, cf #409...
Olivier Courtin [Sat, 6 Feb 2010 10:49:22 +0000 (10:49 +0000)]
Fix non NULL terminated string in ST_AsSVG with GEOMETRYCOLLECTION EMPTY, cf #409 reported by sdikiy. Add related unit test

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

15 years agoAdd ST_isValidDetail item
Sandro Santilli [Fri, 5 Feb 2010 20:58:32 +0000 (20:58 +0000)]
Add ST_isValidDetail item

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

15 years agoRegister a buffer-logger as error-reporter from ST_isValidReason and ST_isValidDetail...
Sandro Santilli [Fri, 5 Feb 2010 20:55:54 +0000 (20:55 +0000)]
Register a buffer-logger as error-reporter from ST_isValidReason and ST_isValidDetail so to catch exceptions thrown by GEOS at postgis->geos conversion for the sake of reporting actual error. Fixes ticket #408. Completed with testcase.

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

15 years agoA space after return type looks better (and seems to be the policy) for funcdef tags
Sandro Santilli [Fri, 5 Feb 2010 17:58:25 +0000 (17:58 +0000)]
A space after return type looks better (and seems to be the policy) for funcdef tags

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

15 years agoDocument ST_IsValidDetail
Sandro Santilli [Fri, 5 Feb 2010 17:57:20 +0000 (17:57 +0000)]
Document ST_IsValidDetail

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

15 years agoAdd ST_isValidDetail(geom) returns valid_detail (new type!)
Sandro Santilli [Fri, 5 Feb 2010 17:26:23 +0000 (17:26 +0000)]
Add ST_isValidDetail(geom) returns valid_detail (new type!)

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

15 years agoAstyle run (a-ha, got you!)
Sandro Santilli [Thu, 4 Feb 2010 20:30:44 +0000 (20:30 +0000)]
Astyle run (a-ha, got you!)

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

15 years agoPush version numbers on trunk forward to next release.
Paul Ramsey [Thu, 4 Feb 2010 17:43:47 +0000 (17:43 +0000)]
Push version numbers on trunk forward to next release.

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

15 years agoUpdate release dates and changelog for 1.5.0
Paul Ramsey [Thu, 4 Feb 2010 17:21:23 +0000 (17:21 +0000)]
Update release dates and changelog for 1.5.0

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

15 years agoInitialize config->createindex value to 0
Paul Ramsey [Wed, 3 Feb 2010 22:42:13 +0000 (22:42 +0000)]
Initialize config->createindex value to 0

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

15 years agoFix handling of "missing table argument" case to use file name properly.
Paul Ramsey [Wed, 3 Feb 2010 21:42:20 +0000 (21:42 +0000)]
Fix handling of "missing table argument" case to use file name properly.

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

15 years agoAdd --no-psqlrc to run_test (#405)
Paul Ramsey [Tue, 2 Feb 2010 23:47:46 +0000 (23:47 +0000)]
Add --no-psqlrc to run_test (#405)

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

15 years agoTiny re-format
Paul Ramsey [Tue, 2 Feb 2010 22:44:06 +0000 (22:44 +0000)]
Tiny re-format

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

15 years agoExtra information per Greg Troxel
Paul Ramsey [Tue, 2 Feb 2010 17:44:18 +0000 (17:44 +0000)]
Extra information per Greg Troxel

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

15 years agoUpdate usage string to show correct default encoding.
Paul Ramsey [Tue, 2 Feb 2010 16:13:31 +0000 (16:13 +0000)]
Update usage string to show correct default encoding.

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

15 years agoastyle recent change
Paul Ramsey [Tue, 2 Feb 2010 04:14:29 +0000 (04:14 +0000)]
astyle recent change

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

15 years agoFix segfault on cases where not enough arguments are provided. (#402)
Paul Ramsey [Tue, 2 Feb 2010 02:41:36 +0000 (02:41 +0000)]
Fix segfault on cases where not enough arguments are provided. (#402)

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

15 years agoFix mis-handling of the commandline operations modes (#401)
Paul Ramsey [Tue, 2 Feb 2010 00:15:14 +0000 (00:15 +0000)]
Fix mis-handling of the commandline operations modes (#401)

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

15 years agoSilence 'no-eol' compiler warning.
Paul Ramsey [Mon, 1 Feb 2010 18:24:09 +0000 (18:24 +0000)]
Silence 'no-eol' compiler warning.

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

15 years ago1.5 astyle pass
Paul Ramsey [Mon, 1 Feb 2010 17:35:55 +0000 (17:35 +0000)]
1.5 astyle pass

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

15 years agoKeep floats out of registers for spheroid calculation. Fixes odd bug in OS/X gcc...
Paul Ramsey [Fri, 29 Jan 2010 21:24:24 +0000 (21:24 +0000)]
Keep floats out of registers for spheroid calculation. Fixes odd bug in OS/X gcc 4.1. Could probably be narrowed to only use flag on affected platform. (#395)

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

15 years agofix example
Regina Obe [Fri, 29 Jan 2010 18:22:35 +0000 (18:22 +0000)]
fix example

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

15 years agoExtra debugging information in spheroid area calculation.
Paul Ramsey [Fri, 29 Jan 2010 18:00:16 +0000 (18:00 +0000)]
Extra debugging information in spheroid area calculation.

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

15 years agoMake area unit tests actually test against known good values
Paul Ramsey [Thu, 28 Jan 2010 17:42:52 +0000 (17:42 +0000)]
Make area unit tests actually test against known good values

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