Commit graph

4935 commits

Author SHA1 Message Date
Sandro Santilli ce575c8661 Fix builds against libgeos < 3.3.0
git-svn-id: http://svn.osgeo.org/postgis/trunk@6234 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 16:23:53 +00:00
Sandro Santilli e89cf842e3 Retain SRID in output
git-svn-id: http://svn.osgeo.org/postgis/trunk@6233 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 16:23:01 +00:00
Sandro Santilli 2da09bdad9 Newer script (2009 rather than 2006). Hoping others' won't have it updated (my ./autogen.sh runs always update it)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6232 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 16:15:13 +00:00
Sandro Santilli c05d010647 Build and register ST_SharedPaths
git-svn-id: http://svn.osgeo.org/postgis/trunk@6231 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 15:54:11 +00:00
Sandro Santilli e3495ee327 postgis/Makefile is generated from postgis/Makefile.in by ./configure
git-svn-id: http://svn.osgeo.org/postgis/trunk@6230 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 15:42:49 +00:00
Regina Obe e07676b664 no fair -- I want a collection of empties too
git-svn-id: http://svn.osgeo.org/postgis/trunk@6229 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 15:12:00 +00:00
Sandro Santilli 364059bbe1 typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@6228 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 15:07:03 +00:00
Sandro Santilli 7e126fda68 Test dumping an insanely _empty_ geometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@6227 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 14:56:45 +00:00
Sandro Santilli 528cf352cd Test ST_Dump(EMPTY)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6226 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 14:44:01 +00:00
Sandro Santilli 2e3fb76f0a Add test for ST_Dump
git-svn-id: http://svn.osgeo.org/postgis/trunk@6225 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 14:41:30 +00:00
Sandro Santilli 7efa1f7728 some ignores
git-svn-id: http://svn.osgeo.org/postgis/trunk@6224 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 13:57:52 +00:00
Sandro Santilli c2838e89da Execute bit
git-svn-id: http://svn.osgeo.org/postgis/trunk@6223 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 13:57:46 +00:00
Sandro Santilli 95c6398a1c Build ST_SharedPaths function (currently returning a geometrycollection)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6222 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 13:57:39 +00:00
Paul Ramsey 0675c21e43 Add stringbuffer_create_size() to allow different starting sizes for the buffer
git-svn-id: http://svn.osgeo.org/postgis/trunk@6221 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 01:02:20 +00:00
Paul Ramsey 7e82a76279 Move affine transforms into liblwgeom and expunge LWGEOM_INSPECTED
git-svn-id: http://svn.osgeo.org/postgis/trunk@6220 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 00:53:03 +00:00
Paul Ramsey 7df5f6a706 Make spheroid distance respect z if it's there.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6219 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-01 00:00:22 +00:00
Paul Ramsey 2a0504f0d2 Remove old length_ellipse functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@6218 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-30 23:46:32 +00:00
Paul Ramsey 562fc263bb Move spheroid length calculation to using same function as geography
git-svn-id: http://svn.osgeo.org/postgis/trunk@6217 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-30 23:44:09 +00:00
Paul Ramsey 9bc0b0e2ec Include some extra memory freeing in the force_ndims variants.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6216 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-30 23:23:35 +00:00
Paul Ramsey 5ff93efd20 Move length calculations fully to liblwgeom and remove LWGEOM_INSPECTED
git-svn-id: http://svn.osgeo.org/postgis/trunk@6215 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-30 22:55:54 +00:00
Paul Ramsey 5e8f733459 Move area calculations fully to liblwgeom and remove LWGEOM_INSPECTED
git-svn-id: http://svn.osgeo.org/postgis/trunk@6214 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-30 21:54:55 +00:00
Paul Ramsey 4689c034a6 Remove LWGEOM_INSPECTED from AsGML and AsKML
git-svn-id: http://svn.osgeo.org/postgis/trunk@6213 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-30 21:35:19 +00:00
Paul Ramsey f2ccc4f157 Remove LWGEOM_INSPECTED from AsGeoJSON
git-svn-id: http://svn.osgeo.org/postgis/trunk@6212 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-30 20:11:13 +00:00
Paul Ramsey 46713307b5 Remove LWGEOM_INSPECTED from AsSVG
git-svn-id: http://svn.osgeo.org/postgis/trunk@6211 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-30 19:02:11 +00:00
Regina Obe 5d410a11a0 more logging cleanup and add create index test for geometry/geography. Change verison number arg in ST_GeoJSON so can stuff the right value in testing
git-svn-id: http://svn.osgeo.org/postgis/trunk@6210 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-30 07:02:46 +00:00
Regina Obe bb6ed3f05a more mistakes
git-svn-id: http://svn.osgeo.org/postgis/trunk@6209 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-29 13:02:25 +00:00
Regina Obe 8c847bc2c4 fix typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@6208 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-29 12:55:53 +00:00
Regina Obe 8cc1e633d7 fix more mistakes in table logging. replace toxic curved geometries with little more harmless. Get rid of false positive relationships by forcing geometries to have bounding boxes that intersect at least sometimes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6207 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-26 16:55:58 +00:00
Regina Obe 8057a6da49 put back curved geometries. Had taken them out in 1.4, but guess never put them back because of distance issues. Also some other minor cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@6206 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-26 13:40:02 +00:00
Olivier Courtin 586c389dc8 Change POINTARRAY.dims to POINTARRAY.flags. Related to #658
git-svn-id: http://svn.osgeo.org/postgis/trunk@6205 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-25 18:38:20 +00:00
Olivier Courtin df80a93181 Change SRID to srid in LWGEOM struct (and also in CHIP too). Rename some functions related to SRID from Camel notation to lower case: errorIfSRIDMismatch, pglwgeom_getSRID, pglwgeom_setSRID, LWGEOM_getSRID, LWGEOM_setSRID, hasSRID. Related to #658
git-svn-id: http://svn.osgeo.org/postgis/trunk@6204 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-25 17:34:21 +00:00
Regina Obe 16bb7e6933 fix casing in dropRastertable
git-svn-id: http://svn.osgeo.org/postgis/trunk@6203 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-24 23:44:13 +00:00
Regina Obe fb142f50ac fix table casing in Addrastercolumn
git-svn-id: http://svn.osgeo.org/postgis/trunk@6202 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-24 22:29:35 +00:00
Paul Ramsey e4b39d9a8e Fully free temporary ptarray
git-svn-id: http://svn.osgeo.org/postgis/trunk@6201 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-24 17:49:46 +00:00
Regina Obe c9bda6f4f0 reenable st_curvetoline and st_linetocurve functions. Seem to work now.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6200 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-24 17:46:45 +00:00
Regina Obe 7d1db4f509 Exclude ST_MinimumBoundingCircle from testing. That uses ST_AddPoint too.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6199 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-24 15:41:12 +00:00
Regina Obe 82d18cf103 change polygon z and m building to not use ST_AddPoint and remove ST_AddPoint from testing until it works again. Put ST_Transform back.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6198 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-24 13:34:09 +00:00
Paul Ramsey 2e43836409 Inherit gbox flags from lwgeom when calculating. This makes sense.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6197 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-24 01:09:15 +00:00
Paul Ramsey c692cf3eed Initialize static GBOX flags to zero to avoid nastiness.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6196 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-24 01:06:11 +00:00
Paul Ramsey f9c79d2a04 Tighten up lwgeodetic a little
git-svn-id: http://svn.osgeo.org/postgis/trunk@6195 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-24 00:39:12 +00:00
Paul Ramsey 0a1c671fae Ensure that flags are initialized cleanly in constructors
git-svn-id: http://svn.osgeo.org/postgis/trunk@6194 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-24 00:28:40 +00:00
Paul Ramsey 537e0b0a59 Update geography functions to use the in-build .flags attribute on LWGEOM
git-svn-id: http://svn.osgeo.org/postgis/trunk@6193 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-23 23:47:44 +00:00
Paul Ramsey 1826cb4795 Remove libgeom.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@6192 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-23 20:22:25 +00:00
Regina Obe d77db90bdf fix casing of pixel types
git-svn-id: http://svn.osgeo.org/postgis/trunk@6191 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-23 15:49:45 +00:00
Paul Ramsey 262696c293 Make the ptarray_add_point behavior more explicit.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6190 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-23 00:44:24 +00:00
Paul Ramsey 1ea46cf7a5 Remove dlfcn.h. Doesn't seem to make any difference under OS/X.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6189 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-23 00:23:54 +00:00
Paul Ramsey fa620c46e1 Update force2d to preserve repeated points.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6188 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-23 00:16:30 +00:00
Paul Ramsey 954aec48b8 Add in actual cu_ptarray.c test file
git-svn-id: http://svn.osgeo.org/postgis/trunk@6187 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-22 22:33:19 +00:00
Paul Ramsey 719561604f Make ptarray_append_point handle higher dimensions more consistently.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6186 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-22 22:23:02 +00:00
Paul Ramsey 420fab271f Make LWGEOM_expand use the ptarray API
git-svn-id: http://svn.osgeo.org/postgis/trunk@6185 b70326c6-7e19-0410-871a-916f4a2858ee
2010-11-22 19:24:08 +00:00