Sandro Santilli
27c0bab9a4
Fixed memory alignment bug in base geometry type serializers, added integrity check for geometry type flag and it's pointarrays dimension mismatch
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@2030 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-11 17:45:46 +00:00
Sandro Santilli
d2df927adc
Big API cleanup.
...
Bug fix in box3d computation for collections containing empty elements.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1544 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-18 12:36:27 +00:00
Sandro Santilli
6ce75e5f02
Changed 'char' to 'uchar' (unsigned char typedef) wherever octet is actually
...
meant to be.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1390 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-10 10:52:53 +00:00
Sandro Santilli
1c531a9662
Replaced DEBUG* macros with PGIS_DEBUG*, to avoid clashes with postgresql DEBUG
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1374 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-07 13:21:10 +00:00
Sandro Santilli
3fd456ac04
Added lwpoly_from_lwlines()
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1232 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-06 13:45:01 +00:00
Sandro Santilli
163159d776
lwgeom_same new implementation
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@974 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-11 07:15:20 +00:00
Sandro Santilli
0a753c3513
segmentize2d() port and use of new LWGEOM structure.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@972 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-10 20:31:23 +00:00
Sandro Santilli
b6bd129246
Changed LWGEOM structure to point to an actual BOX2DFLOAT4.
...
Renamed most function to reflect a TYPE_method naming convention.
(you'll need a dump/reload for it to work)
Added more manipulation functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@967 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-08 13:20:55 +00:00
Sandro Santilli
1449cae461
API cleanup, more steps toward standalone library.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@951 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-07 10:03:23 +00:00
Sandro Santilli
956920e4bc
Bug fix in size computation.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@930 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 17:15:42 +00:00
Sandro Santilli
be428ac347
Added ZM dimensions flags knowledge.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@929 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 16:28:34 +00:00
Sandro Santilli
d745e459b8
Serialized form and WKB prepared to accept ZM flags replacing DD (dimensions)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@923 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-04 13:53:42 +00:00
Sandro Santilli
c304b64232
Made GEOS<->LWGEOM converters keep geometry structures.
...
Fixed bug in serializers.
Added noop(geometry) for deserialize/serialize debugging.
git-svn-id: http://svn.osgeo.org/postgis/trunk@920 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-03 15:52:23 +00:00
Sandro Santilli
6550aaeed2
Added lwgeom_add(LWGEOM *to, int where, LWGEOM *what).
...
Added LWGEOM2GEOS keeping input geometry structure.
git-svn-id: http://svn.osgeo.org/postgis/trunk@919 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-01 14:49:34 +00:00
Sandro Santilli
f3e6e82ff3
Added BBOX finders and its support in serializer.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@915 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-30 15:42:28 +00:00
Sandro Santilli
2a346e2d9a
More common flags between LW<type>s.
...
LWGEOM_summary output made cleaner and moved to lwgeom_debug.c
git-svn-id: http://svn.osgeo.org/postgis/trunk@913 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-30 11:45:40 +00:00
Sandro Santilli
271ff4b266
Added serialize function for LWGEOM
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@910 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-29 15:25:21 +00:00
Sandro Santilli
904c0d5652
Big layout change.
...
lwgeom.h is public API
liblwgeom.h is private header
lwgeom_pg.h is for PG-links
lw<type>.c contains type-specific functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@909 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-29 10:50:30 +00:00