]>
granicus.if.org Git - postgis/log
Regina Obe [Fri, 12 Dec 2008 13:17:58 +0000 (13:17 +0000)]
Remove Postgis_JTS_Version from docs. No longer in 1.4 code base.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3386
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Fri, 12 Dec 2008 13:05:46 +0000 (13:05 +0000)]
Revise to use an xml collection instead of repetitive loops. Also put in select start and end so when the server crashes you know where it broke.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3385
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Fri, 12 Dec 2008 11:07:56 +0000 (11:07 +0000)]
Looks like I accidentally removed some code from LWGEOM_accum that was required to set the Oid of the array being used to store the aggregate results. As reported by Regina.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3384
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 11 Dec 2008 19:38:50 +0000 (19:38 +0000)]
Fix typo in geometry test
git-svn-id: http://svn.osgeo.org/postgis/trunk@3381
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 11 Dec 2008 18:57:57 +0000 (18:57 +0000)]
put in the svn:keywords thingy and also update postgis_gardentest to generate garden test for all unary postgis functions and aggregates
git-svn-id: http://svn.osgeo.org/postgis/trunk@3380
b70326c6 -7e19-0410-871a-
916f4a2858ee
Kevin Neufeld [Thu, 11 Dec 2008 17:18:19 +0000 (17:18 +0000)]
added a HINT to the ERROR message in errorIfGeometryCollection indicating the geometry that is in error.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3379
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 11 Dec 2008 16:56:53 +0000 (16:56 +0000)]
First draft of garden test sql generator. This version just searches the docs and outputs tests for functions that take no arguments. Need to formulate a list of geometries to generate code for unary and so forth.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3378
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Thu, 11 Dec 2008 15:56:18 +0000 (15:56 +0000)]
Incorporated Mark's suggestion to use PQescapeStringConn instead of building a custom function. Also fixed typo. Note using free() instead of PQfree since couldn't find a PQfree. I looked at the 8.3.5 postgresql source code base, and that's what they seem to use when releasing buffer space.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3377
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Thu, 11 Dec 2008 14:55:21 +0000 (14:55 +0000)]
Increase the amount of allocated memory by 3 bytes, so that if maxlength < 3 and we return just "..." then we still have enough space to store the string without clobbering memory.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3376
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Thu, 11 Dec 2008 13:46:29 +0000 (13:46 +0000)]
Fix up a couple of errors in the new lwmessage_truncate() function found by Kevin - correct an off-by-one error in the code, and include a missing startpos offset in the end truncation code. Also ensure that if maxlength gets too small then we return "..." rather than crashing.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3375
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Wed, 10 Dec 2008 12:36:28 +0000 (12:36 +0000)]
Resolve local merge conflict from previous commit.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3374
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Wed, 10 Dec 2008 12:32:40 +0000 (12:32 +0000)]
Add new lwmessage_truncate() function to liblwgeom that will truncate a string to a maximum number of characters, adding a "..." to indicate where the string has been trimmed. Truncation can be specified to occur from either the start or end of the string as required. Also update the parser error handler to use the new function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3373
b70326c6 -7e19-0410-871a-
916f4a2858ee
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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