Sandro Santilli
23cd9570fe
Fix %name-prefix usage in gramma file
...
Fixes warning: deprecated directive, use ‘%name-prefix’ [-Wdeprecated]
git-svn-id: http://svn.osgeo.org/postgis/trunk@12947 b70326c6-7e19-0410-871a-916f4a2858ee
2014-09-05 14:38:30 +00:00
Sandro Santilli
1ebad39775
Fix grammar file to work around suspected bison 3.0.2 bug
...
See http://lists.osgeo.org/pipermail/postgis-devel/2014-September/024507.html
git-svn-id: http://svn.osgeo.org/postgis/trunk@12946 b70326c6-7e19-0410-871a-916f4a2858ee
2014-09-05 14:38:23 +00:00
Paul Ramsey
dd03422897
Remove many warnings from -pedantic build, and clean up parser globals a little more thoroughly.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@10661 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-09 00:09:35 +00:00
Paul Ramsey
01828634d2
Parse error on WKT for multi with empty elements ( #1703 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9530 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-22 16:55:18 +00:00
Sandro Santilli
809ae790e4
Move LWDEBUG macros in a new lwgeom_log.h header file (see #1220 )
...
Update all implementation files accordingly.
Fix some misuses out of liblwgeom.
Add missing copyright notices in a few files.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7907 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-28 10:05:36 +00:00
Paul Ramsey
babffaccab
Update parser to handling compound curves within multicurves ( #525 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6364 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 21:42:11 +00:00
Paul Ramsey
1ae5b8f68b
ptarray_free now frees the serialized_ptlist, unless FLAGS_GET_READONLY is set.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6340 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-11 00:28:57 +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
b05eea79c6
Rename lwgeom_from_wkt to lwgeom_parse_wkt to note the use of the parser object.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6294 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-08 00:02:31 +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
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
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
823769562a
Turn off verbose grammar
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6113 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-24 19:00:20 +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
70c8f067a1
Add dimensional empties to the grammar
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6103 b70326c6-7e19-0410-871a-916f4a2858ee
2010-10-22 23:32:14 +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