Commit graph

32 commits

Author SHA1 Message Date
Sandro Santilli a87cc9fa3e Added geometry::text cast.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1143 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-14 11:02:08 +00:00
Sandro Santilli d67518a254 Fixed bug in debugguing output
git-svn-id: http://svn.osgeo.org/postgis/trunk@1068 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-28 16:25:06 +00:00
Sandro Santilli 97fc49b05d Removed useless network type includes,
Added param.h include for BYTE_ORDER defines under win32.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1038 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-25 12:27:33 +00:00
Sandro Santilli 98df5600a6 Added endiannes specification to unparse_WKB, AsBinary, lwgeom_to_wkb.
git-svn-id: http://svn.osgeo.org/postgis/trunk@984 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-11 14:03:33 +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 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 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 909c07e70a added missing prototype
git-svn-id: http://svn.osgeo.org/postgis/trunk@843 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 09:29:29 +00:00
Sandro Santilli ff415dc0e5 Added binary input/output function for type geometry.
git-svn-id: http://svn.osgeo.org/postgis/trunk@808 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-13 14:26:56 +00:00
Sandro Santilli 80242e7cd6 asbinary(), geomfromwkb
git-svn-id: http://svn.osgeo.org/postgis/trunk@794 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-10 07:36:25 +00:00
Sandro Santilli 424a6fde1a some bug fixes... geometry_analyze added
git-svn-id: http://svn.osgeo.org/postgis/trunk@788 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-08 16:34:36 +00:00
Sandro Santilli e45a5556a3 Changed getbox2d_p signature to return 0 for EMPTY geometries.
Ported DP simplifier.


git-svn-id: http://svn.osgeo.org/postgis/trunk@771 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-06 16:04:13 +00:00
Sandro Santilli 092fb61dc4 Added IsEmpty()
git-svn-id: http://svn.osgeo.org/postgis/trunk@770 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-06 12:24:17 +00:00
Sandro Santilli 81b81d780a Added LWGEOM_EXPLODED structure definition and utility funx.
Added collector() function and memcollect() aggregate.
Still faulting...


git-svn-id: http://svn.osgeo.org/postgis/trunk@759 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-27 14:35:26 +00:00
Sandro Santilli afbe496291 Moved some OGC functions from lwgeom_inout.c to lwgeom_ogc.c.
Added area2d (area) to lwgeom_functions_basic.c


git-svn-id: http://svn.osgeo.org/postgis/trunk@744 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-25 07:29:32 +00:00
Sandro Santilli 97a3488a3c Fixed a bug in LWGEOM_addBBOX preventing it to detect missing BBOX embedding.
git-svn-id: http://svn.osgeo.org/postgis/trunk@731 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-24 13:33:10 +00:00
Sandro Santilli 7e26ef63c5 Added Geom{etry,}FromWkb(<geometry>,[<int4>]) funx.
Added LWGEOM typedef and SERIALIZED_FORM(LWGEOM) macro.
Made lwgeom_setSRID an API function.
Added LWGEOM_setAllocator().


git-svn-id: http://svn.osgeo.org/postgis/trunk@710 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-20 14:08:41 +00:00
Sandro Santilli 74596c53b8 indentation fixes
git-svn-id: http://svn.osgeo.org/postgis/trunk@703 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-19 14:16:41 +00:00
Sandro Santilli 3a5e49e646 allowed lower case in wkt
git-svn-id: http://svn.osgeo.org/postgis/trunk@598 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 10:07:06 +00:00
David Blasby 61c3c1e192 Noted diff between inf and Infinity on Solaris/Intel machines
git-svn-id: http://svn.osgeo.org/postgis/trunk@542 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-29 18:44:36 +00:00
David Blasby e53be2835f removed an elog(NOTICE)
git-svn-id: http://svn.osgeo.org/postgis/trunk@525 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 21:00:43 +00:00
David Blasby c5169c0a58 minor changes for solaris
git-svn-id: http://svn.osgeo.org/postgis/trunk@518 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-27 23:12:11 +00:00
David Blasby 7f00d8b36d Initial working version - based on Ralph Masons WKT and WKB parser/writer.
git-svn-id: http://svn.osgeo.org/postgis/trunk@508 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-26 23:05:20 +00:00
David Blasby 16328b7229 Added a cstring(lwgeom) function that returns WKT!
git-svn-id: http://svn.osgeo.org/postgis/trunk@501 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-07 23:12:31 +00:00
David Blasby 9e400d7b67 Changes to make it work with all the PostGIS type.
git-svn-id: http://svn.osgeo.org/postgis/trunk@499 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-06 22:58:11 +00:00
David Blasby c56c47f81f Added support for 4d coordinates
git-svn-id: http://svn.osgeo.org/postgis/trunk@498 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-02 19:03:06 +00:00
David Blasby cd94686d55 minor clean and trying to figure out a memory bug. valgrind wasnt helping, but
it went away.


git-svn-id: http://svn.osgeo.org/postgis/trunk@487 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-11 01:27:43 +00:00
David Blasby 72d7890d79 Should be working (with a tonne of notices) for points lines and polygons (2d
and 3d)


git-svn-id: http://svn.osgeo.org/postgis/trunk@486 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-11 00:54:37 +00:00
David Blasby a43dace9d6 WKB reader and WKB writer (totally untested)
git-svn-id: http://svn.osgeo.org/postgis/trunk@482 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-10 01:15:06 +00:00
David Blasby 04fcd499c5 Empty files - preparing for writting actual code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@471 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 18:25:34 +00:00