Commit graph

165 commits

Author SHA1 Message Date
Sandro Santilli f6aca1f6bc Added postgis_geos_version.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@838 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 08:52:20 +00:00
Sandro Santilli 839eff4231 included local postgis_geos_version.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@837 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 08:52:01 +00:00
Sandro Santilli f797a31982 Added detect_geos_version rule
git-svn-id: http://svn.osgeo.org/postgis/trunk@836 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 08:51:43 +00:00
Sandro Santilli bd508b4784 Moved lwgeom TODO in the root
git-svn-id: http://svn.osgeo.org/postgis/trunk@835 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 08:29:33 +00:00
Sandro Santilli 32542774ac Fixed a serius bug in pointArray_construct.
Added debugging output, optimized some functions, indentation buties..


git-svn-id: http://svn.osgeo.org/postgis/trunk@831 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-18 22:15:35 +00:00
Sandro Santilli 27150b541c Added more debugging output
git-svn-id: http://svn.osgeo.org/postgis/trunk@830 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-18 22:13:44 +00:00
Sandro Santilli 1a3493fbf9 Added box3d_to_box2df_p to reduce number of required memcpys
git-svn-id: http://svn.osgeo.org/postgis/trunk@827 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-16 10:42:08 +00:00
Sandro Santilli bf36b54431 Changed SPI_cursor_open call changes to be used for USE_VERSION > 80
(change seems to be intended for future releases)


git-svn-id: http://svn.osgeo.org/postgis/trunk@826 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-16 09:06:44 +00:00
Sandro Santilli 3771b8a945 Added binary predicate short-circuits
git-svn-id: http://svn.osgeo.org/postgis/trunk@825 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-16 09:05:31 +00:00
Sandro Santilli ca19a49cf1 Added getbox2d_internal
git-svn-id: http://svn.osgeo.org/postgis/trunk@824 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-16 09:05:10 +00:00
Sandro Santilli e448d226da updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@823 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-16 09:04:45 +00:00
Sandro Santilli d349b26fe0 CHIP and GEOS types (forgot to add)
git-svn-id: http://svn.osgeo.org/postgis/trunk@821 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-14 12:31:31 +00:00
Sandro Santilli 645d76c39f fixed a typo in the geometry_send function definition
git-svn-id: http://svn.osgeo.org/postgis/trunk@818 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-14 08:39:24 +00:00
Sandro Santilli 02d44c24c2 Updated call to SPI_cursor_open to 8.0 (beta2) interface.
git-svn-id: http://svn.osgeo.org/postgis/trunk@816 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-14 07:43:00 +00:00
Sandro Santilli 420a67a53b updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@815 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-13 19:04:23 +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 106efdc5fb updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@806 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-13 13:35:20 +00:00
Sandro Santilli 398ecc65a9 Added AsSVG().
git-svn-id: http://svn.osgeo.org/postgis/trunk@805 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-13 13:32:01 +00:00
Sandro Santilli f6b428f61d updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@798 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-10 13:26:46 +00:00
Sandro Santilli 8f94a87228 Added all ..FromWKB functions, asbinary(geom) and bytea<->geom casts
git-svn-id: http://svn.osgeo.org/postgis/trunk@795 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-10 08:48:49 +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 2b2573246e updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@786 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-08 14:27:07 +00:00
Sandro Santilli f57cfd6a08 Added segmentize()
git-svn-id: http://svn.osgeo.org/postgis/trunk@785 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-08 14:19:25 +00:00
Sandro Santilli 7db775e2d8 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@783 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-08 10:57:08 +00:00
Sandro Santilli 3757c035df Fixed a bug in the z() function.
Added ! GEOS implementation of Centroid().


git-svn-id: http://svn.osgeo.org/postgis/trunk@781 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-08 10:25:26 +00:00
Sandro Santilli 6cdb7f83e2 GEOS support added.
git-svn-id: http://svn.osgeo.org/postgis/trunk@775 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-07 17:04:03 +00:00
Sandro Santilli 5e18b719ee Added CHIP type and support funx
git-svn-id: http://svn.osgeo.org/postgis/trunk@774 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-07 07:47:38 +00:00
Sandro Santilli 942d477249 updated some comments
git-svn-id: http://svn.osgeo.org/postgis/trunk@773 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-06 16:18:17 +00:00
Sandro Santilli 442084c7d0 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@772 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-06 16:05:12 +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 e4e7e35a21 Finished BOX3D functions porting.
Added envelope() and extent3d().


git-svn-id: http://svn.osgeo.org/postgis/trunk@769 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-06 10:37:09 +00:00
Sandro Santilli c40cb4cdf5 Added min/max coordinates from box2d and box3d.
Made geometry->box3d cast actually use 'z' value.


git-svn-id: http://svn.osgeo.org/postgis/trunk@768 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-06 09:32:19 +00:00
Sandro Santilli c50db67ca8 Added box3d support and expand(geom|box2d|box3d, double)
git-svn-id: http://svn.osgeo.org/postgis/trunk@767 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-06 09:13:13 +00:00
Sandro Santilli 268e8bf615 Added geom_accum(), collect_garray() and collect()
git-svn-id: http://svn.osgeo.org/postgis/trunk@762 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-27 16:01:48 +00:00
Sandro Santilli daf5128a44 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@761 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-27 15:04:09 +00:00
Sandro Santilli 208e9f78cf Fixed bug in lwgeom_explode allocating less memory then needed.
git-svn-id: http://svn.osgeo.org/postgis/trunk@760 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-27 15:03:11 +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 35a44b8518 Added point_inside_circle() and translate()
git-svn-id: http://svn.osgeo.org/postgis/trunk@758 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-27 08:13:16 +00:00
Sandro Santilli 9cd8d8d04d max_distance() raises an 'unimplemented yet' error.
git-svn-id: http://svn.osgeo.org/postgis/trunk@756 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-26 16:55:09 +00:00
Sandro Santilli 1522fb676d Added nrings(geom), multi(geom) and all of <type>FromText(geom, [srid])
git-svn-id: http://svn.osgeo.org/postgis/trunk@755 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-26 16:44:01 +00:00
Sandro Santilli a4cea467f6 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@754 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-26 15:04:30 +00:00
Sandro Santilli ebc03ba4fb Added (bogus) max_distance(geom,geom)
git-svn-id: http://svn.osgeo.org/postgis/trunk@753 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-26 15:02:59 +00:00
Sandro Santilli dcd4033a2c Added distance(geometry) and all support functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@752 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-26 12:55:30 +00:00
Sandro Santilli a3d0372f63 Added a note about spheroid computation
git-svn-id: http://svn.osgeo.org/postgis/trunk@751 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-26 12:54:28 +00:00
Sandro Santilli 85e55d8846 Added spheroid type and functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@750 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-26 08:57:39 +00:00
Sandro Santilli c3bc026581 Added IsClosed() and force_collection()
git-svn-id: http://svn.osgeo.org/postgis/trunk@749 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-25 15:28:46 +00:00
Sandro Santilli 55e49cf477 Added macros for LWGEOM.type manipulation
git-svn-id: http://svn.osgeo.org/postgis/trunk@748 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-25 15:26:24 +00:00
Sandro Santilli ea9fd3e3d3 Added force_3d
git-svn-id: http://svn.osgeo.org/postgis/trunk@747 b70326c6-7e19-0410-871a-916f4a2858ee
2004-08-25 13:41:43 +00:00