Commit graph

366 commits

Author SHA1 Message Date
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 8a2c547af6 Added test.o to cleanup list
git-svn-id: http://svn.osgeo.org/postgis/trunk@983 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-11 12:23:34 +00:00
Sandro Santilli 1d1e1f5d11 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@982 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-11 12:23:26 +00:00
Sandro Santilli 2d269e4597 Moved misuring functions to misures.c (from lwgeom_functions_basic.c).
Added -lm to build line for the API test application.


git-svn-id: http://svn.osgeo.org/postgis/trunk@981 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-11 11:53:26 +00:00
Sandro Santilli 13b10e6d9b Changed collect() to return MULTI* if applicabe (all input is corresponding
SINGLE type).


git-svn-id: http://svn.osgeo.org/postgis/trunk@979 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-11 10:31:29 +00:00
Sandro Santilli 69526b4ff8 Added debug strings
git-svn-id: http://svn.osgeo.org/postgis/trunk@978 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-11 10:30:44 +00:00
Sandro Santilli ccb8960119 collect() always return a collection, with a component for each input
geometry.
memcollect() obsoleted.


git-svn-id: http://svn.osgeo.org/postgis/trunk@977 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-11 09:55:27 +00:00
Sandro Santilli f2c483436f Fixed bug making it unbuildable.
git-svn-id: http://svn.osgeo.org/postgis/trunk@976 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-11 09:46:42 +00:00
Sandro Santilli f8afcfa025 Added lwgeom_addBBOX() and lwcollection_construct_empty()
git-svn-id: http://svn.osgeo.org/postgis/trunk@975 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-11 09:32:44 +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 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
Sandro Santilli 6a2e841019 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@898 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-27 17:27:35 +00:00
Sandro Santilli 1b7d38ae04 Debugging defines set to NODEBUG.
git-svn-id: http://svn.osgeo.org/postgis/trunk@897 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-27 08:26:03 +00:00
Sandro Santilli 0fe42e4616 Added profile.h deps
git-svn-id: http://svn.osgeo.org/postgis/trunk@894 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-24 22:27:57 +00:00
Sandro Santilli bc45e50b22 Added box2d->geometry cast.
git-svn-id: http://svn.osgeo.org/postgis/trunk@890 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-24 09:46:53 +00:00
Sandro Santilli 40bd206c26 Modified GML output as suggested by Martin Daly.
git-svn-id: http://svn.osgeo.org/postgis/trunk@888 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-23 15:09:07 +00:00
Sandro Santilli 3d09c5e1d5 Initial GML output routines.
git-svn-id: http://svn.osgeo.org/postgis/trunk@887 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-23 11:12:47 +00:00
Sandro Santilli 2dbb60a9d8 Profile output modified again, input geoms points and conversion times separated
git-svn-id: http://svn.osgeo.org/postgis/trunk@886 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-23 10:13:15 +00:00
Sandro Santilli 03dc6cbb48 indentation fixes
git-svn-id: http://svn.osgeo.org/postgis/trunk@885 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 17:13:26 +00:00
Sandro Santilli 486b21d9b6 indentation and function-call-debugging preparation
git-svn-id: http://svn.osgeo.org/postgis/trunk@884 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 17:12:40 +00:00
Sandro Santilli 668cfc900f removed some compiler warnings
git-svn-id: http://svn.osgeo.org/postgis/trunk@883 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 17:11:56 +00:00
Sandro Santilli eca0fbae57 Added missing prototype to make compiler happy
git-svn-id: http://svn.osgeo.org/postgis/trunk@882 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 17:11:28 +00:00
Sandro Santilli 543968d2b7 Added lwpoint_size, lwline_size, lwpoly_size for computing
serialized size from deserialized objects.


git-svn-id: http://svn.osgeo.org/postgis/trunk@881 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 16:52:13 +00:00
Sandro Santilli eb473aed1a Some more source file cleanups.
git-svn-id: http://svn.osgeo.org/postgis/trunk@880 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 16:29:18 +00:00
Sandro Santilli 4c8fa68722 Moved size computation functions in module static scope.
Renamed public one to lwgeom_size(char *).


git-svn-id: http://svn.osgeo.org/postgis/trunk@879 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 16:09:54 +00:00
Sandro Santilli c657a75358 lw<type>_findlength function made statics of lwgeom_api.c.
public functions with those names should accept LW<TYPE> pointers instead..


git-svn-id: http://svn.osgeo.org/postgis/trunk@878 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 15:15:51 +00:00
Sandro Santilli 48d3f27f1f LWGEOM TODO moved back to the lwgeom/ dir.
git-svn-id: http://svn.osgeo.org/postgis/trunk@877 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 15:11:30 +00:00
Sandro Santilli 94659e78a8 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@876 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 14:57:17 +00:00
Sandro Santilli edfbdec353 line_interpolate_point added.
git-svn-id: http://svn.osgeo.org/postgis/trunk@875 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 14:57:00 +00:00
Sandro Santilli a12153246e fixed a comment
git-svn-id: http://svn.osgeo.org/postgis/trunk@874 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 14:56:33 +00:00
Sandro Santilli 71164db850 Added 'label' argument to the profreport macro.
git-svn-id: http://svn.osgeo.org/postgis/trunk@873 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 13:45:11 +00:00
Sandro Santilli 0f687e9f3f Renamed lwgeom_npoints_recursive to lwgeom_npoints and exposed in lwgeom.h.
Changed SERIALIZED_FORM macro to be less LWGEOM structure aware.
Added profiling header file.
Modified profiling calls to include total query time.
Initial profiling support in the mindistance function.


git-svn-id: http://svn.osgeo.org/postgis/trunk@872 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-22 11:42:45 +00:00
Sandro Santilli 9d36434ce8 slightly changed PROF_SUM output for sort acceptance
git-svn-id: http://svn.osgeo.org/postgis/trunk@870 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-21 21:04:14 +00:00
Sandro Santilli c3bf4fa141 Fixed a profiler bug.
Added points count and doubled profiler output.


git-svn-id: http://svn.osgeo.org/postgis/trunk@869 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-21 20:44:14 +00:00
Sandro Santilli 4737c374f5 Added missing profiling report calls in predicates
git-svn-id: http://svn.osgeo.org/postgis/trunk@866 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-21 17:50:56 +00:00
Sandro Santilli bfbcb9df08 Added GEOS profiling support.
git-svn-id: http://svn.osgeo.org/postgis/trunk@865 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-21 17:36:54 +00:00
Sandro Santilli 5c1c4b5b2c reduced memory copies in GEOS2POSTGIS()
git-svn-id: http://svn.osgeo.org/postgis/trunk@864 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-21 16:08:03 +00:00
Sandro Santilli a51da0d6c9 buffer serialized accept NULL as return-size pointer
git-svn-id: http://svn.osgeo.org/postgis/trunk@863 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-21 16:07:25 +00:00
Sandro Santilli 6f27bd99cc Added lwgeom_empy_length(), lwgeom_constructempty_buf(), lwexploded_serialize_buf()
git-svn-id: http://svn.osgeo.org/postgis/trunk@862 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-21 15:44:53 +00:00
Sandro Santilli 05fad4e009 Added lwexploded_findlength
git-svn-id: http://svn.osgeo.org/postgis/trunk@861 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-21 10:57:26 +00:00
Sandro Santilli 8c1f0ecf46 Optimized postgis->geos conversion
git-svn-id: http://svn.osgeo.org/postgis/trunk@860 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 21:13:23 +00:00
Sandro Santilli 17505c8ab0 commented pfree call in GEOSnoop (seems to generate memory faults)
git-svn-id: http://svn.osgeo.org/postgis/trunk@859 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 21:13:01 +00:00
Sandro Santilli 31b86139f9 Added force_4d(geometry)
git-svn-id: http://svn.osgeo.org/postgis/trunk@855 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 17:03:41 +00:00
Sandro Santilli 76986f09de Renamed README
git-svn-id: http://svn.osgeo.org/postgis/trunk@846 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 10:09:06 +00:00
Sandro Santilli 5d1d72d034 Added missing 'uninstall' rules. Fixed existing install rules.
git-svn-id: http://svn.osgeo.org/postgis/trunk@845 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 10:08:18 +00:00
Sandro Santilli cbbbfa301c Configuration and common Makefile work moved to Makefile.config
Build is possible from each directory and from the root directory.


git-svn-id: http://svn.osgeo.org/postgis/trunk@844 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 09:58:26 +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 0dc6740832 Reworked build scripts.
git-svn-id: http://svn.osgeo.org/postgis/trunk@842 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 09:22:25 +00:00
Sandro Santilli b10179364d fixed bugs in non-GEOS centroid function
git-svn-id: http://svn.osgeo.org/postgis/trunk@841 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 09:21:29 +00:00
Sandro Santilli 9c2a6c6bfa cleanups
git-svn-id: http://svn.osgeo.org/postgis/trunk@840 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 09:20:51 +00:00
Sandro Santilli 9cc288963a generalized library ignore line
git-svn-id: http://svn.osgeo.org/postgis/trunk@839 b70326c6-7e19-0410-871a-916f4a2858ee
2004-09-20 08:53:06 +00:00
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