]> granicus.if.org Git - postgis/log
postgis
16 years agoPorting the floating point comparison operator upgrade from the 1.3 branch.
Mark Leslie [Tue, 9 Dec 2008 23:29:31 +0000 (23:29 +0000)]
Porting the floating point comparison operator upgrade from the 1.3 branch.

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

16 years agocorrect mm reference of ST_PointFromText and remove from old MM section
Regina Obe [Sun, 7 Dec 2008 02:52:43 +0000 (02:52 +0000)]
correct mm reference of ST_PointFromText and remove from old MM section

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

16 years agoMinor additions
Regina Obe [Sun, 7 Dec 2008 02:47:45 +0000 (02:47 +0000)]
Minor additions

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

16 years agofix some typos
Regina Obe [Sun, 7 Dec 2008 02:42:38 +0000 (02:42 +0000)]
fix some typos

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

16 years agoMove over (x,y,z) min/max family and add cross reference to those from ST_X, ST_Y...
Regina Obe [Sun, 7 Dec 2008 02:29:22 +0000 (02:29 +0000)]
Move over (x,y,z) min/max family and add cross reference to those from ST_X, ST_Y, ST_Z

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

16 years agoMove over ST_Box2D and ST_Box3D and flag ST_Accum as working with circular strings
Regina Obe [Sun, 7 Dec 2008 00:40:47 +0000 (00:40 +0000)]
Move over ST_Box2D and ST_Box3D and flag ST_Accum as working with circular strings

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

16 years agorevise example
Regina Obe [Fri, 5 Dec 2008 19:39:33 +0000 (19:39 +0000)]
revise example

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

16 years agoClarify use of ST_Relation and include Martin's example of interior intersects
Regina Obe [Fri, 5 Dec 2008 19:31:28 +0000 (19:31 +0000)]
Clarify use of ST_Relation and include Martin's example of interior intersects

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

16 years ago#HISTORY: #GBT:34 - .prj creation by pgsql2shp
Regina Obe [Fri, 5 Dec 2008 13:46:50 +0000 (13:46 +0000)]
#HISTORY: #GBT:34 - .prj creation by pgsql2shp

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

16 years ago#GBT 80: ST_Multi seg faults when given MULTILINESTRING
Regina Obe [Fri, 5 Dec 2008 12:33:20 +0000 (12:33 +0000)]
#GBT 80: ST_Multi seg faults when given MULTILINESTRING

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

16 years agoMove over rest of Long Transactions
Regina Obe [Thu, 4 Dec 2008 17:01:35 +0000 (17:01 +0000)]
Move over rest of Long Transactions

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

16 years agoFix GBT#79: shp2pgsql does not honor -s (also known as Mark accidentally missed the...
Mark Cave-Ayland [Wed, 3 Dec 2008 17:12:54 +0000 (17:12 +0000)]
Fix GBT#79: shp2pgsql does not honor -s (also known as Mark accidentally missed the sr_id from the geometry constructors)

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

16 years agoLightbulb moment: the fix for GBT#21: locate_along_measure: wrong values, invalid...
Mark Cave-Ayland [Wed, 3 Dec 2008 16:02:32 +0000 (16:02 +0000)]
Lightbulb moment: the fix for GBT#21: locate_along_measure: wrong values, invalid data required extra work as floating point errors could still be introduced by the removal of the memcpy(). In fact it was the clipping logic that was wrong, so this patch re-adds the memcpy() in the correct place(s) and corrects the clipping flags to remove this floating point error. With thanks to Stephen Davies.

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

16 years agoRemove some junk and fix some typos, rephrase descriptions
Regina Obe [Tue, 2 Dec 2008 20:04:23 +0000 (20:04 +0000)]
Remove some junk and fix some typos, rephrase descriptions

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

16 years agoMove over LockRow
Regina Obe [Tue, 2 Dec 2008 20:00:31 +0000 (20:00 +0000)]
Move over LockRow

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

16 years agoMove over CheckAuth
Regina Obe [Tue, 2 Dec 2008 19:43:08 +0000 (19:43 +0000)]
Move over CheckAuth

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

16 years agotypo
Regina Obe [Mon, 1 Dec 2008 23:34:03 +0000 (23:34 +0000)]
typo

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

16 years agoremove extra def
Regina Obe [Mon, 1 Dec 2008 22:19:14 +0000 (22:19 +0000)]
remove extra def

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

16 years agoMove over Enable/Disable LongTransactions
Regina Obe [Mon, 1 Dec 2008 22:06:57 +0000 (22:06 +0000)]
Move over Enable/Disable LongTransactions

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

16 years agoDamn casing - wrong fix
Regina Obe [Mon, 1 Dec 2008 12:41:20 +0000 (12:41 +0000)]
Damn casing - wrong fix

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

16 years agotypo ?
Regina Obe [Mon, 1 Dec 2008 12:38:13 +0000 (12:38 +0000)]
typo ?

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

16 years agotypo?
Regina Obe [Mon, 1 Dec 2008 12:13:52 +0000 (12:13 +0000)]
typo?

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

16 years agoMove over ST_HasBBox
Regina Obe [Mon, 1 Dec 2008 06:32:33 +0000 (06:32 +0000)]
Move over ST_HasBBox

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

16 years agoMove over ST_AddBBox, ST_DropBBox - the last of the Geometry Editors
Regina Obe [Mon, 1 Dec 2008 06:26:25 +0000 (06:26 +0000)]
Move over ST_AddBBox, ST_DropBBox - the last of the Geometry Editors

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

16 years agowrap isvalidreason in test for GEOS >= 3.1
Paul Ramsey [Fri, 28 Nov 2008 16:38:59 +0000 (16:38 +0000)]
wrap isvalidreason in test for GEOS >= 3.1

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

16 years agocorrection
Regina Obe [Thu, 27 Nov 2008 19:04:36 +0000 (19:04 +0000)]
correction

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

16 years agoST_IsValidReason typo and add an example of a valid geometry
Regina Obe [Thu, 27 Nov 2008 18:53:26 +0000 (18:53 +0000)]
ST_IsValidReason typo and add an example of a valid geometry

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

16 years agoDocument new ST_IsValidReason function. I suppose this may be the last time I can...
Regina Obe [Thu, 27 Nov 2008 18:31:12 +0000 (18:31 +0000)]
Document new ST_IsValidReason function.  I suppose this may be the last time I can successfully create invalid geometries before Mark ruins all the fun.

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

16 years agoST_IsValidReason(geometry) returns text reason for validity failure.
Paul Ramsey [Wed, 26 Nov 2008 19:04:15 +0000 (19:04 +0000)]
ST_IsValidReason(geometry) returns text reason for validity failure.
Requires GEOS >= 3.1.
GBT#51

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

16 years agoApply patch from strk to prevent unneccesary invocation of 'ar' when building liblwgeom.
Mark Cave-Ayland [Wed, 26 Nov 2008 13:40:07 +0000 (13:40 +0000)]
Apply patch from strk to prevent unneccesary invocation of 'ar' when building liblwgeom.

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

16 years agoCorrect install docs to agree with README. Not sure if this is necessary since this...
Regina Obe [Wed, 26 Nov 2008 12:11:00 +0000 (12:11 +0000)]
Correct install docs to agree with README.  Not sure if this is necessary since this is partially for already installed postgis.  Are we going to have an lwgeom folder in contrib?

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

16 years agoCreate liblwgeom as a phony dependency, so that any changes to liblwgeom cause a...
Mark Cave-Ayland [Wed, 26 Nov 2008 11:49:48 +0000 (11:49 +0000)]
Create liblwgeom as a phony dependency, so that any changes to liblwgeom cause a re-build of liblwgeom.a during "make". Patch provided by strk.

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

16 years agoFix some minor errors in the README documentation as indicated by strk.
Mark Cave-Ayland [Wed, 26 Nov 2008 11:43:50 +0000 (11:43 +0000)]
Fix some minor errors in the README documentation as indicated by strk.

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

16 years agoBring forward release notes from 1.3.4
Paul Ramsey [Tue, 25 Nov 2008 21:46:44 +0000 (21:46 +0000)]
Bring forward release notes from 1.3.4

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

16 years agoQuick fix for GBT#72: ST_Estimated_Extent sometimes returns null if table exists...
Mark Cave-Ayland [Tue, 25 Nov 2008 10:42:32 +0000 (10:42 +0000)]
Quick fix for GBT#72: ST_Estimated_Extent sometimes returns null if table exists but not in current schema.

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

16 years agoFix indentation for estimated_extent example. Document ST_Force_Collection broken...
Regina Obe [Mon, 24 Nov 2008 13:18:09 +0000 (13:18 +0000)]
Fix indentation for estimated_extent example.  Document ST_Force_Collection broken when given Circular strings for versions prior to 1.3.4

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

16 years agoFix for GBT#73: ST_Force_Collection crashes with CIRCULARSTRING. This is basically...
Mark Cave-Ayland [Mon, 24 Nov 2008 11:04:44 +0000 (11:04 +0000)]
Fix for GBT#73: ST_Force_Collection crashes with CIRCULARSTRING. This is basically the same fix for GBT#66: ST_Dump kills backend when fed CIRCULAR STRING except that it occurs in a different place.

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

16 years agoMove lwgeom_contains_subgeoms() into liblwgeom core as it seems it is now required...
Mark Cave-Ayland [Mon, 24 Nov 2008 11:01:39 +0000 (11:01 +0000)]
Move lwgeom_contains_subgeoms() into liblwgeom core as it seems it is now required outside of lwgeom_dump.c.

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

16 years agoMove over the rest of the ST_Force* family
Regina Obe [Sun, 23 Nov 2008 19:18:08 +0000 (19:18 +0000)]
Move over the rest of the ST_Force* family

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

16 years agoMove over ST_Estimated_Extent
Regina Obe [Sun, 23 Nov 2008 07:22:31 +0000 (07:22 +0000)]
Move over ST_Estimated_Extent

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

16 years agominor changes
Regina Obe [Sun, 23 Nov 2008 06:54:02 +0000 (06:54 +0000)]
minor changes

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

16 years agoMove over ST_GeomFromWKB
Regina Obe [Sun, 23 Nov 2008 06:50:49 +0000 (06:50 +0000)]
Move over ST_GeomFromWKB

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

16 years agotypo
Regina Obe [Fri, 21 Nov 2008 14:41:58 +0000 (14:41 +0000)]
typo

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

16 years agoFix indentation of examples
Regina Obe [Fri, 21 Nov 2008 14:30:40 +0000 (14:30 +0000)]
Fix indentation of examples

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

16 years agoGBT #71: Update section 4.2 of docs to describe manual adding to geometry columns...
Regina Obe [Fri, 21 Nov 2008 14:28:42 +0000 (14:28 +0000)]
GBT #71: Update section 4.2 of docs to describe manual adding to geometry columns - revision.  Add pretty anchor, reference pretty anchor in AddGeometryColumn reference section.  Rearrange order.

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

16 years agoGBT #71: Update section 4.2 of docs to describe manual adding to geometry columns.
Regina Obe [Fri, 21 Nov 2008 14:15:35 +0000 (14:15 +0000)]
GBT #71: Update section 4.2 of docs to describe manual adding to geometry columns.

Decided to just add a new section after

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

16 years agogit-svn-id: http://svn.osgeo.org/postgis/trunk@3311 b70326c6-7e19-0410-871a-916f4a2858ee
Regina Obe [Fri, 21 Nov 2008 08:32:11 +0000 (08:32 +0000)]
git-svn-id: http://svn.osgeo.org/postgis/trunk@3311 b70326c6-7e19-0410-871a-916f4a2858ee

16 years agoMove over ST_CoordDim
Regina Obe [Fri, 21 Nov 2008 08:31:27 +0000 (08:31 +0000)]
Move over ST_CoordDim

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

16 years agoLocated more profile calls using grep and converted them over to use the new macros...
Mark Cave-Ayland [Thu, 20 Nov 2008 22:03:22 +0000 (22:03 +0000)]
Located more profile calls using grep and converted them over to use the new macros. Hopefully I've caught all of them now...

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

16 years agoFound some new locations containing profiling code outside of the GEOS functions...
Mark Cave-Ayland [Thu, 20 Nov 2008 18:45:09 +0000 (18:45 +0000)]
Found some new locations containing profiling code outside of the GEOS functions, so swap them over to using the new macros.

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

16 years agoSwitch GEOS profiling over to use conditional macros, much in the same way as LWDEBUG...
Mark Cave-Ayland [Thu, 20 Nov 2008 15:00:57 +0000 (15:00 +0000)]
Switch GEOS profiling over to use conditional macros, much in the same way as LWDEBUG(F) has been implemented. This improves code readability by not having constant #if...#endif sections throughout the code. I've also changed the variable that indicates whether profiling has been enabled to POSTGIS_PROFILE, and integrated it into the autoconf configuration. Hence profiling can be enabled by running configure with the --enable-profile option, or setting POSTGIS_PROFILE in postgis_config.h to 1 and re-compiling.

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

16 years agotypo
Regina Obe [Thu, 20 Nov 2008 13:32:19 +0000 (13:32 +0000)]
typo

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

16 years agoAdd note on ST_Transform and ST_AsKML that they require Proj support
Regina Obe [Thu, 20 Nov 2008 12:55:16 +0000 (12:55 +0000)]
Add note on ST_Transform and ST_AsKML that they require Proj support

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

16 years agoupdate doc on install to reference geos 3.0.3
Regina Obe [Wed, 19 Nov 2008 13:40:00 +0000 (13:40 +0000)]
update doc on install to reference geos 3.0.3

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

16 years agoamend ST_Mem_Size
Regina Obe [Mon, 17 Nov 2008 17:30:53 +0000 (17:30 +0000)]
amend ST_Mem_Size

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

16 years agotypos
Regina Obe [Mon, 17 Nov 2008 01:00:37 +0000 (01:00 +0000)]
typos

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

16 years agost_mem_size
Regina Obe [Mon, 17 Nov 2008 00:52:56 +0000 (00:52 +0000)]
st_mem_size

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

16 years agoDocument missing ST_AsGML func proto
Regina Obe [Mon, 17 Nov 2008 00:05:28 +0000 (00:05 +0000)]
Document missing ST_AsGML func proto

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

16 years agotypo
Regina Obe [Sun, 16 Nov 2008 15:54:16 +0000 (15:54 +0000)]
typo

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

16 years agoMove over ST_Polygon and ST_WKBToSQL, move ST_MakePolygon from Geometry Processing...
Regina Obe [Sat, 15 Nov 2008 20:33:39 +0000 (20:33 +0000)]
Move over ST_Polygon and ST_WKBToSQL, move ST_MakePolygon from Geometry Processing to Geometry Constructors section

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

16 years agoMove over rest of non-MM compliant Geometry Constructor functions
Regina Obe [Fri, 14 Nov 2008 23:46:05 +0000 (23:46 +0000)]
Move over rest of non-MM compliant Geometry Constructor functions

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

16 years agoUpdate with latest BS
Paul Ramsey [Wed, 12 Nov 2008 17:42:15 +0000 (17:42 +0000)]
Update with latest BS

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

16 years agoastyle --style=ansi --indent=tab=8
Paul Ramsey [Mon, 10 Nov 2008 16:35:40 +0000 (16:35 +0000)]
astyle --style=ansi --indent=tab=8

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

16 years agoFix error in prepgeomcache type
Paul Ramsey [Mon, 10 Nov 2008 15:48:39 +0000 (15:48 +0000)]
Fix error in prepgeomcache type

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

16 years agoDocument affine functions now work with curves. Though I don't have a tool to verify...
Regina Obe [Sat, 8 Nov 2008 14:43:04 +0000 (14:43 +0000)]
Document affine functions now work with curves.  Though I don't have a tool to verify correctness, so my assumption - it returns something that sounds sort of right.

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

16 years agodocument more functions that work with circular strings
Regina Obe [Sat, 8 Nov 2008 14:17:55 +0000 (14:17 +0000)]
document more functions that work with circular strings

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

16 years agodocument support for curves of functions Mark C just fixed with disclaimer only works...
Regina Obe [Sat, 8 Nov 2008 06:46:32 +0000 (06:46 +0000)]
document support for curves of functions Mark C just fixed with disclaimer only works in 1.3.4+

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

16 years agoPrepared geometry mixed-types bug fix ported forward from 1.3.
Paul Ramsey [Fri, 7 Nov 2008 17:07:12 +0000 (17:07 +0000)]
Prepared geometry mixed-types bug fix ported forward from 1.3.

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

16 years agoAfter a quick sanity grep, I noticed that ST_Transform() was also susceptible to...
Mark Cave-Ayland [Fri, 7 Nov 2008 14:23:59 +0000 (14:23 +0000)]
After a quick sanity grep, I noticed that ST_Transform() was also susceptible to crashing on curve types in the same way as the previous two fixes. Hence I'm committing a fix now before Regina finds it and logs another bug report :)

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

16 years agoFix GBT#69: ST_Translate crashes when fed circular string. lwgeom_affine_recursive...
Mark Cave-Ayland [Fri, 7 Nov 2008 14:21:09 +0000 (14:21 +0000)]
Fix GBT#69: ST_Translate crashes when fed circular string. lwgeom_affine_recursive() needs to know about the new lwgeom_getcurve_inspected() function.

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

16 years agoFix GBT#70: ST_NPoints Crashes with Curves. lwgeom_npoints() needs to know about...
Mark Cave-Ayland [Fri, 7 Nov 2008 14:18:25 +0000 (14:18 +0000)]
Fix GBT#70: ST_NPoints Crashes with Curves. lwgeom_npoints() needs to know about the new lwgeom_getcurve_inspected() function.

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

16 years agoAdd missing lwgeom_getcurve_inspected() function which is required for some of the...
Mark Cave-Ayland [Fri, 7 Nov 2008 14:05:53 +0000 (14:05 +0000)]
Add missing lwgeom_getcurve_inspected() function which is required for some of the latest GBT fixes.

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

16 years agoYeh ST_Dump now works with curves
Regina Obe [Fri, 7 Nov 2008 07:44:08 +0000 (07:44 +0000)]
Yeh ST_Dump now works with curves

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

16 years agoAdd missing function prototype from r3263.
Mark Cave-Ayland [Thu, 6 Nov 2008 17:16:03 +0000 (17:16 +0000)]
Add missing function prototype from r3263.

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

16 years agoFix for GBT#66: ST_Dump kills backend when fed CIRCULAR STRING. With thanks to Regina...
Mark Cave-Ayland [Thu, 6 Nov 2008 17:05:31 +0000 (17:05 +0000)]
Fix for GBT#66: ST_Dump kills backend when fed CIRCULAR STRING. With thanks to Regina Obe.

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

16 years agoThe GEOS 2.2 series "geos_c.h" is missing header guards, so including the header...
Mark Cave-Ayland [Thu, 6 Nov 2008 16:12:11 +0000 (16:12 +0000)]
The GEOS 2.2 series "geos_c.h" is missing header guards, so including the header multiple times as is done in lwgeom_geos.h and lwgeom_geos_prepared.h causes compilation to fail with multiple definition errors. This patch fixes this problem allowing GEOS 2.2 to work with PostGIS once again, although of course it can easily be removed when it is decided that GEOS 2.2 support is no longer required.

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

16 years agoChange configure to check for the existence of the PGXS Makefile, even if pg_config...
Mark Cave-Ayland [Thu, 6 Nov 2008 15:15:06 +0000 (15:15 +0000)]
Change configure to check for the existence of the PGXS Makefile, even if pg_config can be found. This is become distributions such as Debian install pg_config as part of libpq-dev but this package doesn't contain the required Makefile. Per bug report from strk.

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

16 years agoamend ST_Longitude bug comment
Regina Obe [Wed, 5 Nov 2008 13:03:11 +0000 (13:03 +0000)]
amend ST_Longitude bug comment

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

16 years agoFix ST_AsGML() not recognising GEOMETRYCOLLECTION as a valid geometry type from my...
Mark Cave-Ayland [Wed, 5 Nov 2008 11:29:49 +0000 (11:29 +0000)]
Fix ST_AsGML() not recognising GEOMETRYCOLLECTION as a valid geometry type from my GBT#65 fix :(

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

16 years agoFix regression tests reporting incorrect failures due to a change of output caused...
Mark Cave-Ayland [Wed, 5 Nov 2008 11:25:14 +0000 (11:25 +0000)]
Fix regression tests reporting incorrect failures due to a change of output caused by r3243.

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

16 years agoFix for GBT#68 - ST_Shift_Longitude doesn't work with MULTIPOINT. Looks like this...
Mark Cave-Ayland [Wed, 5 Nov 2008 11:06:22 +0000 (11:06 +0000)]
Fix for GBT#68 - ST_Shift_Longitude doesn't work with MULTIPOINT. Looks like this was just a simple mistake in the code. I've also improved the error message to return the proper type name instead of just a number.

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

16 years agoadd ST_Collect as having some support for circular
Regina Obe [Wed, 5 Nov 2008 01:56:42 +0000 (01:56 +0000)]
add ST_Collect as having some support for circular

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

16 years agotypo in proto
Regina Obe [Tue, 4 Nov 2008 20:26:46 +0000 (20:26 +0000)]
typo in proto

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

16 years agoAdd missing proto for ST_CurveToLine
Regina Obe [Tue, 4 Nov 2008 20:05:59 +0000 (20:05 +0000)]
Add missing proto for ST_CurveToLine

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

16 years agoAdd ST_HasArc, pull some useful comments from source code to add to ST_CurveToLine
Regina Obe [Tue, 4 Nov 2008 14:15:37 +0000 (14:15 +0000)]
Add ST_HasArc, pull some useful comments from source code to add to ST_CurveToLine

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

16 years agoFix lwgeom_typename() not returning a valid string for any of the newer geometry...
Mark Cave-Ayland [Tue, 4 Nov 2008 14:09:53 +0000 (14:09 +0000)]
Fix lwgeom_typename() not returning a valid string for any of the newer geometry types.

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

16 years agoFix for GBT#65: ST_AsGML kills the backend when fed a CIRCULAR STRING. The default...
Mark Cave-Ayland [Tue, 4 Nov 2008 13:58:34 +0000 (13:58 +0000)]
Fix for GBT#65: ST_AsGML kills the backend when fed a CIRCULAR STRING. The default code attempts to inspect any unknown geometry which fails on CIRCULARSTRING. A longer term fix may be to fix CIRCULARSTRING so that it can be inspected, however the fix here is to throw an ERROR for unknown types just as the other As_*() functions do.

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

16 years agoChange all ST_AsKML to use new ST_Transform
Regina Obe [Tue, 4 Nov 2008 13:43:15 +0000 (13:43 +0000)]
Change all ST_AsKML to use new ST_Transform

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

16 years agoMore flagging of functions that work with 3d
Regina Obe [Tue, 4 Nov 2008 13:14:24 +0000 (13:14 +0000)]
More flagging of functions that work with 3d

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

16 years agofill in all protos for kml, flag more functions as supporting 3d and circular/curve
Regina Obe [Tue, 4 Nov 2008 12:31:27 +0000 (12:31 +0000)]
fill in all protos for kml, flag more functions as supporting 3d and circular/curve

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

16 years agoChange ST_GeomFromText() to GeomFromText() for older hwgeom (-w) support - looks...
Mark Cave-Ayland [Tue, 4 Nov 2008 10:00:39 +0000 (10:00 +0000)]
Change ST_GeomFromText() to GeomFromText() for older hwgeom (-w) support - looks like I was a little bit to eager in my earlier conversion to use the new ST_ calling convention.

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

16 years agoAlter loader Makefile to add liblwgeom.a dependency, so people who just want to build...
Mark Cave-Ayland [Tue, 4 Nov 2008 09:57:03 +0000 (09:57 +0000)]
Alter loader Makefile to add liblwgeom.a dependency, so people who just want to build the shapefile loaders can do "make" within the loader subdirectory and liblwgeom.a will automagically get build first.

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

16 years agofix typo
Regina Obe [Tue, 4 Nov 2008 02:48:25 +0000 (02:48 +0000)]
fix typo

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

16 years agodocument circular support of more functions
Regina Obe [Tue, 4 Nov 2008 02:19:42 +0000 (02:19 +0000)]
document circular support of more functions

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

16 years agoGet rid of MM compliancy note for ST_LineToCurve, can only find ST_CurveToLine in...
Regina Obe [Tue, 4 Nov 2008 02:07:14 +0000 (02:07 +0000)]
Get rid of MM compliancy note for ST_LineToCurve, can only find ST_CurveToLine in MM docs

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

16 years agocorrect comment
Regina Obe [Tue, 4 Nov 2008 01:56:01 +0000 (01:56 +0000)]
correct comment

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

16 years agoAdd new section to document circular string support
Regina Obe [Tue, 4 Nov 2008 01:55:06 +0000 (01:55 +0000)]
Add new section to document circular string support

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

16 years agoDocument ST_LineToCurve and ST_CurveToLine, update template to include note about...
Regina Obe [Tue, 4 Nov 2008 01:47:05 +0000 (01:47 +0000)]
Document ST_LineToCurve and ST_CurveToLine, update template to include note about Circular String support in prep for new index section

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

16 years agoupdated url in comments to the documentation on the implemented point-in-polygon...
Kevin Neufeld [Mon, 3 Nov 2008 17:00:01 +0000 (17:00 +0000)]
updated url in comments to the documentation on the implemented point-in-polygon algorithm to http://softsurfer.com/Archive/algorithm_0103/algorithm_0103.htm#Winding%20Number.  Old link was dead.

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

16 years agoAdd missing ICONV_LDFLAGS variable to the loader Makefile. Thanks to Olivier Courtin...
Mark Cave-Ayland [Mon, 3 Nov 2008 16:23:45 +0000 (16:23 +0000)]
Add missing ICONV_LDFLAGS variable to the loader Makefile. Thanks to Olivier Courtin for noticing.

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