Commit graph

255 commits

Author SHA1 Message Date
Sandro Santilli d1362c5370 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@971 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-09 15:17:20 +00:00
Sandro Santilli 7c98297a80 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@969 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-08 13:26:05 +00:00
Sandro Santilli 3f1700cd45 Debugging output cleanup.
git-svn-id: http://svn.osgeo.org/postgis/trunk@968 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-08 13:21:44 +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 26e083d39f added memory allocation debugging
git-svn-id: http://svn.osgeo.org/postgis/trunk@966 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-08 13:16:58 +00:00
Sandro Santilli 2fd216dcac Added box2d.o module, reverted SCRIPTS_VERSION to 0.1.0.
git-svn-id: http://svn.osgeo.org/postgis/trunk@965 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-08 13:15:51 +00:00
Sandro Santilli 7980bc7127 Initial revision
git-svn-id: http://svn.osgeo.org/postgis/trunk@964 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-08 13:15:26 +00:00
Sandro Santilli 906328dc35 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@959 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-07 22:02:48 +00:00
Sandro Santilli 11b18fe20c Fixed bugs in TYPE_ macro usage
git-svn-id: http://svn.osgeo.org/postgis/trunk@956 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-07 20:39:30 +00:00
Sandro Santilli b2ea45f8d6 Changed ptarray2d_construct interface.
git-svn-id: http://svn.osgeo.org/postgis/trunk@955 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-07 17:18:50 +00:00
Sandro Santilli 92aac5356a Changed geometrytype() to support TYPEM.
git-svn-id: http://svn.osgeo.org/postgis/trunk@954 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-07 17:18:08 +00:00
Sandro Santilli 33ab82d97f Changed AddGeometryColumn to handle TYPEM.
Updated SCRIPTS_VERSION to 1.1.0


git-svn-id: http://svn.osgeo.org/postgis/trunk@953 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-07 17:17:37 +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 e00abe63fb Added zmflag(geom) function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@943 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-06 08:53:24 +00:00
Sandro Santilli ad4b88fd49 Flex invocation patch by Kris Jurka.
git-svn-id: http://svn.osgeo.org/postgis/trunk@938 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 21:59:52 +00:00
Sandro Santilli 9b80019ffc Yes another change in SPI_cursor_open
git-svn-id: http://svn.osgeo.org/postgis/trunk@936 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 21:54:48 +00:00
Sandro Santilli faa6893947 Fixed bugs in Centroid (not GEOS)
git-svn-id: http://svn.osgeo.org/postgis/trunk@935 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 21:53:11 +00:00
Sandro Santilli cf5f06a1d0 Cleanups for older compilers and PG verisons.
git-svn-id: http://svn.osgeo.org/postgis/trunk@934 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 21:42:22 +00:00
Sandro Santilli f50ff4bd84 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@933 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 21:20:48 +00:00
Sandro Santilli bafc0eea3c Added debugging lines, fixed a bug in TYPE_HASSRID and TYPE_HASBBOX macros.
git-svn-id: http://svn.osgeo.org/postgis/trunk@932 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 21:08:38 +00:00
Sandro Santilli 80f1a0cb67 Made clean rule verbose
git-svn-id: http://svn.osgeo.org/postgis/trunk@931 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 21:08:04 +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 22fcbae352 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@928 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 16:07:00 +00:00
Sandro Santilli 60c754e691 Added newlines in standalone reporters
git-svn-id: http://svn.osgeo.org/postgis/trunk@927 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 15:12:18 +00:00
Sandro Santilli c434604554 ZM aware WKT/WKB input/output.
git-svn-id: http://svn.osgeo.org/postgis/trunk@924 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-05 07:53:02 +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 e26c5de4ba Added missing prototype
git-svn-id: http://svn.osgeo.org/postgis/trunk@922 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-04 09:25:23 +00:00
Sandro Santilli 51f64d6cb5 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@921 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-03 15:57:41 +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 cf70856fc1 initial revision
git-svn-id: http://svn.osgeo.org/postgis/trunk@918 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-01 07:51:09 +00:00
Sandro Santilli cf7dc0a2a6 Added runtime cast functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@917 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-01 07:51:00 +00:00
Sandro Santilli e2a586c10d bug fixes
git-svn-id: http://svn.osgeo.org/postgis/trunk@916 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-30 16:06:05 +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 a92f57a588 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@914 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-30 11:49:39 +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 406c2623b7 Added missing liblwgeom.c file.
Made LWMPOINT, LWMLINE, LWMPOLY compatible with LWCOLLECTION.
Fixed reverse() and forcerhr() to maintain geometry structure.


git-svn-id: http://svn.osgeo.org/postgis/trunk@912 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-30 08:18:06 +00:00
Sandro Santilli fea9afb1f7 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@911 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-30 06:54:46 +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
Sandro Santilli e1ce40dcd9 Changed LWGEOM to PG_LWGEOM.
Changed LWGEOM_construct to PG_LWGEOM_construct.


git-svn-id: http://svn.osgeo.org/postgis/trunk@908 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-29 06:31:42 +00:00
Sandro Santilli 5b6a7163d6 Removed ^Ms, added note about flatting nature of LWGEOM_EXPLODED.
git-svn-id: http://svn.osgeo.org/postgis/trunk@907 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-28 17:13:36 +00:00
Sandro Santilli f3ce15d6f8 Fixed a bug in PostGIS2GEOS_point
git-svn-id: http://svn.osgeo.org/postgis/trunk@905 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-28 09:31:12 +00:00
Sandro Santilli 4817887f8f updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@904 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-28 09:05:24 +00:00
Sandro Santilli 346bde8960 Added forceRHR() and support functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@903 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-28 09:01:17 +00:00
Sandro Santilli 6c0c071607 Added ptarray_isccw(). Added extern modifiers to public prototypes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@902 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-28 09:00:33 +00:00
Sandro Santilli 0f779b5016 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@901 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-28 08:28:40 +00:00
Sandro Santilli e82d7e29ac Added reverse(geometry) and support functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@900 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-28 08:22:20 +00:00
Sandro Santilli 911c2db42f Added some const modifiers
git-svn-id: http://svn.osgeo.org/postgis/trunk@899 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-28 08:21:42 +00:00