Commit graph

2673 commits

Author SHA1 Message Date
Mark Cave-Ayland 971be1e74a Fix stupid mistake in the liblwgeom parser...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3067 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-05 17:33:03 +00:00
Paul Ramsey e790f6e2f9 Fix boneheaded error in prepared intersects.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3065 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-04 21:29:16 +00:00
Paul Ramsey 1eb2c316cf Protect prepared geometry implementation in GEOS>=3.1 defines.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3064 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-04 17:49:51 +00:00
Mark Cave-Ayland 1bd5b641ed Fix the DEBUGF statements I didn't realise I broke with the new LWGEOM parser/unparser API (in response to Paul's r3061 commit).
git-svn-id: http://svn.osgeo.org/postgis/trunk@3063 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-04 16:00:46 +00:00
Paul Ramsey 921bcd09fa Some extra debugf's in the prepared geometry code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3062 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-03 18:07:18 +00:00
Paul Ramsey fd0ce72f9b Patch up and comment out some DEBUGF lines that don't compile due to changes in function
signatures in liblwgeom


git-svn-id: http://svn.osgeo.org/postgis/trunk@3061 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-03 17:37:42 +00:00
Regina Obe 530439ba5b correct incorrect statement
git-svn-id: http://svn.osgeo.org/postgis/trunk@3060 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-03 13:23:56 +00:00
Regina Obe 9101a545a6 Update ST_Union's fitness for 3d with examples.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3059 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-03 13:20:28 +00:00
Regina Obe 00f971e34b Add more examples of 3d use and annotate more 3d functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@3058 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-03 09:22:13 +00:00
Paul Ramsey 9c0d6af060 Rework prepared geometry handling to look more like the implementation of
PJ caching in transform.


git-svn-id: http://svn.osgeo.org/postgis/trunk@3056 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 23:53:37 +00:00
Paul Ramsey 4ff12f50e5 Flip format to 'astyle --style=ansi --indent=tab=8' to make upcoming
changes more consistent, stylewise. (Can't stand the mixed styles anymore!)


git-svn-id: http://svn.osgeo.org/postgis/trunk@3055 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 18:52:10 +00:00
Paul Ramsey c654959d62 add .so. to svn:ignore
git-svn-id: http://svn.osgeo.org/postgis/trunk@3054 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 18:35:45 +00:00
Paul Ramsey 001f1487aa add check for invalid srid to addgeometrycolumn (#33)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3053 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 17:36:52 +00:00
Paul Ramsey ce2698f20e ensure relate(g,g,p) is case insensitive (#44)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3050 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 16:46:39 +00:00
Regina Obe d7d26e4020 Flag more 3d compatible functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@3048 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 16:15:33 +00:00
Paul Ramsey 6e5407174a pass commandline options into backend command (#45)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3047 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 16:00:22 +00:00
Paul Ramsey d6e358b759 Fix log message to refer to correct function name
git-svn-id: http://svn.osgeo.org/postgis/trunk@3045 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 15:56:57 +00:00
Regina Obe 8aac032c2c Fix minor typos in ST_Polygonize
git-svn-id: http://svn.osgeo.org/postgis/trunk@3044 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 12:43:13 +00:00
Regina Obe fc21a457c2 Get rid of extra line breaks in specialty function section (by changing xsl). Move over ST_Polygonize and provide examples.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3043 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 12:14:05 +00:00
Regina Obe fb8f63664e Start annotating functions that support 3d, add some examples of 3d, update xsl to pull out functions that support 3d in a separate special function index
git-svn-id: http://svn.osgeo.org/postgis/trunk@3042 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 11:40:06 +00:00
Regina Obe de693d368e extraneous junk left
git-svn-id: http://svn.osgeo.org/postgis/trunk@3041 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 11:17:03 +00:00
Regina Obe 5474a5275c Move over ST_Extent
git-svn-id: http://svn.osgeo.org/postgis/trunk@3040 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-02 11:16:15 +00:00
Regina Obe 51d510fa5d Get rid of excess paragraph in mm compliance section
git-svn-id: http://svn.osgeo.org/postgis/trunk@3039 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-01 21:55:56 +00:00
Regina Obe 4ff152c69b Moved some functions to Geometry Processing section
git-svn-id: http://svn.osgeo.org/postgis/trunk@3038 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-01 21:53:01 +00:00
Regina Obe aa54d73c36 Put in SQL mm compliance for ST_Intersection
git-svn-id: http://svn.osgeo.org/postgis/trunk@3037 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-01 21:42:53 +00:00
Regina Obe 554a224381 Move ST_Intersection to new reference_new.xml
git-svn-id: http://svn.osgeo.org/postgis/trunk@3036 b70326c6-7e19-0410-871a-916f4a2858ee
2008-10-01 20:04:05 +00:00
Regina Obe 8ceb8f8849 Revise to include mm compliance section
git-svn-id: http://svn.osgeo.org/postgis/trunk@3035 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-30 17:42:11 +00:00
Regina Obe 0de812ac23 Move over ST_Intersects sql mm compliance note to reference_new (remove sT_Intersects from MM section of old reference)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3034 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-30 17:39:13 +00:00
Mark Cave-Ayland 7b89b5c5e8 Update regression tests to include test cases for GBT#21.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3032 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-30 13:29:49 +00:00
Mark Cave-Ayland 49f39d4e49 Fix for locate_along_measure returning invalid values (GBT#21)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3031 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-30 13:25:22 +00:00
Kevin Neufeld dba343e81f added a new aggregate and sql_mm toc to docs generated via a custom xsl (provided by Regina Obe) to the documentation Makefile
git-svn-id: http://svn.osgeo.org/postgis/trunk@3030 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-30 04:06:13 +00:00
Regina Obe eb729548e5 change to sort functions alphabetically
git-svn-id: http://svn.osgeo.org/postgis/trunk@3027 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-29 16:20:42 +00:00
Mark Cave-Ayland 74949bc755 Update LWGEOM unparser to (E)WKT/WKB to resturn a LWGEOM_UNPARSER_RESULT structure instead of just the WKT/WKB character array. This is the same work done for r3023 but applied to the unparser instead.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3026 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-28 19:48:17 +00:00
Mark Cave-Ayland 137120a034 With the advent of LWGEOM_PARSER_RESULT, it is now possible to get rid of the horrible SERIALIZED_LWGEOM hack for PostgreSQL 8.3 to allow us to return the size separate from the result. This is good as it removes another level of indirection from the parser. Note that the size field has now been added to the LWGEOM_PARSER_RESULT structure.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3025 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-28 16:18:12 +00:00
Mark Cave-Ayland ec619b69ff Clear up warnings (mixed declartions within code and invalid return) from r3022.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3024 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-28 15:47:02 +00:00
Mark Cave-Ayland b6083bfddc Update (E)WKT/WKB parser to return a structure (LWGEOM_PARSER_RESULT) instead of just the serialized lwgeom. This is in preparation for returning more detailed error information back to the caller.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3023 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-28 15:32:46 +00:00
Paul Ramsey 6e79d1df96 Update pip shortcut code to be less aggressive in building cache.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3022 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-28 09:03:32 +00:00
Mark Cave-Ayland ddc7e96a1d Rename parser_check_flags to unparser_check_flags for the unparser to prevent linking error under OS X. Also add missing function prototype to silence compiler warning in the PiP code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3021 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-27 08:19:18 +00:00
Paul Ramsey 41cebd4929 harmonize sql functions with c functions for prepared geometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@3020 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-26 21:46:23 +00:00
Paul Ramsey 6eb291477b Make preparedgeometry memory handling a good deal kinder (no longer losing base geometry every time)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3019 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-26 21:34:31 +00:00
Regina Obe debe10c84c put index in listitems and hope for the best
git-svn-id: http://svn.osgeo.org/postgis/trunk@3018 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-26 21:01:24 +00:00
Paul Ramsey a4fa95b301 P-I-P rennovation complete: memory leaks gone, multipolygon support added
git-svn-id: http://svn.osgeo.org/postgis/trunk@3017 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-26 19:43:19 +00:00
Regina Obe bc2eb17eca correct the comments
git-svn-id: http://svn.osgeo.org/postgis/trunk@3016 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-26 18:59:39 +00:00
Regina Obe 5acaa1a7ab xsl that generates index listing of postgis spatial aggregates and MM compliant functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@3015 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-26 18:55:43 +00:00
Regina Obe e4d04f472a Put in author/license info (hmm this is a guess - couldn't find a good example in SVN to go by). Also comment on what xsl is doing.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3014 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-26 12:45:38 +00:00
Kevin Neufeld 4d23bc7ba3 updated "make clean" directive to include the newly generated PDFs
git-svn-id: http://svn.osgeo.org/postgis/trunk@3013 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-26 02:50:51 +00:00
Mark Cave-Ayland a6a0bbc574 Add parser flags to the LWGEOM to (E)WKB/WKT parsers, similar to has already been done for the (E)WKB/WKT to LWGEOM parsers.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3012 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-25 21:50:19 +00:00
Mark Cave-Ayland b7dfc24a26 Remove missing variables from LWDEBUG(F) statement that would cause compilation to fail with POSTGIS_DEBUG_LEVEL > 0
git-svn-id: http://svn.osgeo.org/postgis/trunk@3011 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-25 21:34:13 +00:00
Paul Ramsey 952f0c05b0 Another biggish leak into the parent context.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3010 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-25 20:46:16 +00:00
Paul Ramsey 7c46722d86 More small memory leaks removed.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3009 b70326c6-7e19-0410-871a-916f4a2858ee
2008-09-25 19:18:37 +00:00