Commit graph

24 commits

Author SHA1 Message Date
Paul Ramsey c2f26121cb Remove leak in mixed time ptarray case (#1102)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7593 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-05 22:02:40 +00:00
Paul Ramsey 45db0c6bf6 Remove memory leaks when a parse error kicks out in WKT (#1102)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7587 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-04 22:51:37 +00:00
Paul Ramsey a2dbab5b3f Fix cunit failures on Polyhedral surface (#697)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6333 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 19:10:16 +00:00
Paul Ramsey 417ee6b8d8 WKB and WKT closure checks are now in X/Y only (#693)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6332 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 18:10:34 +00:00
Paul Ramsey 4cc4123357 Replace the old WKB/WKT parser and emitters with the new ones.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6291 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-07 21:08:05 +00:00
Paul Ramsey f15ed06fc5 Updates to the WKT parser to report errlocation in more places.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6275 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-03 21:38:52 +00:00
Olivier Courtin 586c389dc8 Change POINTARRAY.dims to POINTARRAY.flags. Related to #658
git-svn-id: http://svn.osgeo.org/postgis/trunk@6205 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-25 18:38:20 +00:00
Paul Ramsey 262696c293 Make the ptarray_add_point behavior more explicit.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6190 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-23 00:44:24 +00:00
Olivier Courtin 931390d022 #658 part 1. Enhance LWGEOM struct (type, flags and GBOX) and related functions call.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6180 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-21 19:02:23 +00:00
Paul Ramsey 4afb908dba An argument for git. This massive commit includes the renaming of function in the ptarray API, the removal of some pointArray_* variants in favor of ptarray_* variants, and, importantly, the adition of _append_point and _insert_point options for pointarrays. Functions have been switched over to using the API instead of managing the serialized_pointlist themselves. This has necessitated the re-writing of some functions. Simplify2d and Force2d have been re-written as lwgeom functions instead of serialized form functions, and moved into liblwgeom. There are still some major functions to move into liblwgeom, including the point_in_polygon functions that support the intersects shortcuts and the linear referencing fuctions in lwgeom_functions_analytic.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6175 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-18 05:28:19 +00:00
Paul Ramsey 805635643d Remove unused function. Rename lwgeom_is_collection to lwtype_is_collection.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6166 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-02 05:52:32 +00:00
Paul Ramsey f544929bb3 Remove DYNPTARRAY and all users of it
git-svn-id: http://svn.osgeo.org/postgis/trunk@6161 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-01 08:11:06 +00:00
Paul Ramsey 0bb9c409dd Flip all the internal liblwgeom files over to use liblwgeom_internal.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@6160 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-01 01:28:12 +00:00
Paul Ramsey acc51bc0a6 Add/improve comments, fix SRID handling for EWKT inputs.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6123 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-25 04:57:14 +00:00
Paul Ramsey 5e4c85e8d0 More care handling mixed dimensional inputs and being tolerant of wierd stuff
git-svn-id: http://svn.osgeo.org/postgis/trunk@6122 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-25 04:34:17 +00:00
Paul Ramsey ef8f30c3f8 Add destructors for the _list elements of the grammar.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6121 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-25 00:14:32 +00:00
Paul Ramsey 8e2646c64d Add in tests for more WKT types and fix bugs as they show up.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6112 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-24 19:00:00 +00:00
Paul Ramsey 4171834659 Match the error strings with the legacy ones in the old WKT parser.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6110 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-24 16:04:35 +00:00
Paul Ramsey 3942a7e8b6 Finish untested support for all types in WKT input.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6105 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-23 23:48:37 +00:00
Paul Ramsey 33b6ad1711 Add in the ISO extended types to the WKT parser and emitter.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6101 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-22 23:27:13 +00:00
Paul Ramsey 7ff5ee83dd Add in more parser cases and test an EMPTY case.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6094 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-22 02:14:06 +00:00
Paul Ramsey d824b588b7 Add support for point and multipoints to the WKT parser.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6093 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-21 22:22:26 +00:00
Paul Ramsey 30ec5743e7 Current work on bison-based WKT-to-LWGEOM parser. Implemented for LINESTRING, almost ready to extend to all types.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6091 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-20 22:51:30 +00:00
Paul Ramsey 37111647d5 Put the WKT new parser files into repo so others can see them and I can work in synch with trunk.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6060 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-10 00:08:58 +00:00