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 |
|
Olivier Courtin
|
df80a93181
|
Change SRID to srid in LWGEOM struct (and also in CHIP too). Rename some functions related to SRID from Camel notation to lower case: errorIfSRIDMismatch, pglwgeom_getSRID, pglwgeom_setSRID, LWGEOM_getSRID, LWGEOM_setSRID, hasSRID. Related to #658
git-svn-id: http://svn.osgeo.org/postgis/trunk@6204 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-11-25 17:34:21 +00:00 |
|
Paul Ramsey
|
0a1c671fae
|
Ensure that flags are initialized cleanly in constructors
git-svn-id: http://svn.osgeo.org/postgis/trunk@6194 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-11-24 00:28:40 +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
|
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
|
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
|
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 |
|
Mark Cave-Ayland
|
8c815339fb
|
Fix a memory leak in all of the MULTI* deserialize routines - once the relevant information had been copied from the LWGEOM_INSPECTED structure, the inspected structure itself was not being freed.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5824 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-08-14 10:57:41 +00:00 |
|
Olivier Courtin
|
284a032273
|
Few lwtype_name add
git-svn-id: http://svn.osgeo.org/postgis/trunk@5822 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-08-13 17:30:10 +00:00 |
|
Paul Ramsey
|
1ca9049cde
|
Some function renaming: lwgeom_typename => lwtype_name. The internal float/up/down functions get slightly better names. Make collection types re-sizable: added maxgeoms to all collections, and created lwcollection_add_lwgeom() function. Remove all *_add functions. Revized homogenize function to use the new _add_lwgeom and variants.
git-svn-id: http://svn.osgeo.org/postgis/trunk@5439 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-03-16 03:13:33 +00:00 |
|
Sandro Santilli
|
f6ac58c764
|
ST_RemoveRepeatedPoints [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@5273 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-02-21 12:22:08 +00:00 |
|
Paul Ramsey
|
8cabdcf81f
|
1.5 astyle pass
git-svn-id: http://svn.osgeo.org/postgis/trunk@5181 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-02-01 17:35:55 +00:00 |
|
Paul Ramsey
|
e003325935
|
Fixed up de-serialization routines to avoid *geoms = malloc(0) cases which were causing free to fail later on down the line (#370)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5099 b70326c6-7e19-0410-871a-916f4a2858ee
|
2010-01-04 17:55:14 +00:00 |
|
Paul Ramsey
|
a7f032948f
|
CFLAGS=-pedantic pass over the codebase and warnings reduced
git-svn-id: http://svn.osgeo.org/postgis/trunk@5039 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-12-20 17:42:44 +00:00 |
|
Paul Ramsey
|
cfb44a749f
|
astyle --style=ansi --indent=tab (#133)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4168 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-06-11 16:44:03 +00:00 |
|
Paul Ramsey
|
cdfcc4e366
|
Propset Author Id Keyword Revision on all files.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3639 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-02-04 00:28:37 +00:00 |
|
Paul Ramsey
|
e35e08942e
|
Remove double-free problem from loader in presence of new deep-freeing lwfree calls.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3519 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-01-12 19:29:57 +00:00 |
|
Paul Ramsey
|
6744f68423
|
Rename lwfree_* to *_free.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3510 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-01-09 17:41:23 +00:00 |
|
Paul Ramsey
|
825548243f
|
Alter lwfree_* to deep-free memory. Add variants of *_release to support shallow-free. Go through lwgeom/ and replace any lwfree_* instances with *_release where appropriate. (Surprisingly few.)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3502 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-01-08 17:04:00 +00:00 |
|
Paul Ramsey
|
ef6ca1b8bb
|
Add in lwfree_* deep memory clean-up routines for multi-objects.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3454 b70326c6-7e19-0410-871a-916f4a2858ee
|
2008-12-19 19:20:34 +00:00 |
|
Mark Cave-Ayland
|
ffde636dc0
|
Split the basic geometry accessors into a separate static library liblwgeom.a; this potentially allows re-use of the liblwgeom functions from within PostGIS, or could be extended at a later date to include databases other than MySQL. This patch includes a change to the liblwgeom handler functions; instead of sprinkling init_pg_func()s around the source, I have changed the default liblwgeom handlers to make use of a callback to allow linked libraries to set their own handlers the first time any of them are called. I have also tidied up the parser API a little in liblwgeom.h, which means wktparse.h can be removed from all of the headers in the lwgeom/ directory, plus renamed wktunparse.c to lwgunparse.c to keep things similar to lwgparse.c. Finally, I renamed liblwgeom.c to lwutil.c to avoid confusion within the new interface. TODO: the liblwgeom Makefile has some gcc-specific options, but these can be fixed later - it seemed more important to make the warnings visible to developers.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2815 b70326c6-7e19-0410-871a-916f4a2858ee
|
2008-06-29 19:11:48 +00:00 |
|