Commit graph

366 commits

Author SHA1 Message Date
Sandro Santilli fbeeb78437 Added UpdateGeometrySRID
git-svn-id: http://svn.osgeo.org/postgis/trunk@1150 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-15 12:54:49 +00:00
Sandro Santilli 563a43b20a updated TODO
git-svn-id: http://svn.osgeo.org/postgis/trunk@1149 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-15 09:46:20 +00:00
Sandro Santilli 8814c0fe25 Fixed a bug in lwgeom_dropBBOX()
git-svn-id: http://svn.osgeo.org/postgis/trunk@1144 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-14 11:41:43 +00:00
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 4b84efd650 Added SRID check in collect_garray();
git-svn-id: http://svn.osgeo.org/postgis/trunk@1142 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-14 09:47:00 +00:00
Sandro Santilli 3a4b567f05 reduced function calls in lwcollection_serialize_size
git-svn-id: http://svn.osgeo.org/postgis/trunk@1141 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-14 09:37:47 +00:00
Sandro Santilli 5eecff1d24 fixed a typo in polygonize function
git-svn-id: http://svn.osgeo.org/postgis/trunk@1140 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-14 09:29:40 +00:00
Sandro Santilli 16b9e5fa8c Initial skeleton on join selectivity estimator.
Current estimators application for box2d && box2d operator.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1138 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-13 14:03:07 +00:00
Sandro Santilli 4dcaa1da1c lwpostgis.sql copy moved from root to lwgeom/Makefile
git-svn-id: http://svn.osgeo.org/postgis/trunk@1137 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-13 13:04:41 +00:00
Sandro Santilli fd175ffbaa Removed obsoleted function and fixed some warnings.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1135 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-13 12:25:27 +00:00
Sandro Santilli 471c06c057 implemented estimated_extent() function
git-svn-id: http://svn.osgeo.org/postgis/trunk@1129 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-10 12:35:11 +00:00
Sandro Santilli 80dcfbb41b Fixed a bug in pt_in_ring_2d.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1123 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-29 16:37:12 +00:00
Sandro Santilli f8110e33f6 Commented out useless CFLAGS override.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1122 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-29 11:16:08 +00:00
Sandro Santilli 10698108c5 Some initializzations to make compiler happy.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1121 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-29 11:15:48 +00:00
Sandro Santilli 43df315dee Removed duplicated tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@1120 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 17:08:22 +00:00
Sandro Santilli a9d2269d6a Moved basic LWGEOM parsing tests in mainstream regress dir.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1119 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 17:06:36 +00:00
Sandro Santilli fdcfa3c356 First regress test cleaned up.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1118 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 16:54:43 +00:00
Sandro Santilli 4c8edd69cf lwcollection_same allows different components ordering to
reflect older behaviour.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1114 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 15:06:08 +00:00
Sandro Santilli e92a34519a Cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@1113 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 14:56:13 +00:00
Sandro Santilli 82cbb8c5ec Fixed a bug in lwcollection_same
git-svn-id: http://svn.osgeo.org/postgis/trunk@1112 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-26 14:55:05 +00:00
Sandro Santilli 33a6ea80c2 POSTGIS2GEOS conversion failures handled cleanier
git-svn-id: http://svn.osgeo.org/postgis/trunk@1109 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-23 16:16:26 +00:00
Sandro Santilli 8284de2f1b precision made of type signed int (for %.*d correct use).
git-svn-id: http://svn.osgeo.org/postgis/trunk@1106 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-19 17:29:09 +00:00
Sandro Santilli f94b02dd4b Added support for PG<73 in gist support functions
and modified preprocessor flags to be compatible with older versions.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1105 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-19 13:48:10 +00:00
Sandro Santilli 3898adb8cc Fixed IN/OUT representation of types to support < 73 PG versions
git-svn-id: http://svn.osgeo.org/postgis/trunk@1104 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-19 13:32:50 +00:00
Sandro Santilli 42f712c3ae Substituted isfinite() with finite().
git-svn-id: http://svn.osgeo.org/postgis/trunk@1101 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-18 13:47:57 +00:00
Sandro Santilli 9bc4fd48bf Yet another GEOSHasZ bug fix
git-svn-id: http://svn.osgeo.org/postgis/trunk@1100 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-17 15:28:44 +00:00
Sandro Santilli 1a343cd92c GEOSHasZ now checks both DoubleNotANumber and isFinite
git-svn-id: http://svn.osgeo.org/postgis/trunk@1099 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-17 15:18:09 +00:00
Sandro Santilli 3e215083cc Changes GEOSHasZ to use isfinite()
git-svn-id: http://svn.osgeo.org/postgis/trunk@1098 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-17 09:07:38 +00:00
Sandro Santilli 67869cd7cc SRID checks and enforce for all GEOS operations.
Z value handled so to show it only when available.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1096 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-16 13:54:39 +00:00
Sandro Santilli a7cae3c0a4 Added GEOSHasZ() and GEOSSetSRID()
git-svn-id: http://svn.osgeo.org/postgis/trunk@1095 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-16 13:52:42 +00:00
Sandro Santilli f59a0529c8 Made PointN, InteriorRingN and GeometryN 1-based as required by
OGC conformance suite.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1091 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-12 17:50:46 +00:00
Paul Ramsey c1aa826b33 Added grep -v ^# to cpp pipeline for .sql generation. Under OS/X cpp adds a
header with a # comment field to the start of the output file.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1090 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-11 21:29:51 +00:00
Sandro Santilli 54e8e9a02e updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@1089 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-11 09:42:26 +00:00
Sandro Santilli 5594f9fece Added -fPIC to CFLAGS as suggested by Vincent Schut.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1086 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-08 11:08:01 +00:00
Sandro Santilli 61182f144a updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@1085 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-05 11:44:55 +00:00
Sandro Santilli d4c75cedc1 Had isvalid raise a NOTICE with invalidity message.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1084 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-05 11:44:40 +00:00
Sandro Santilli 2056962396 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@1083 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-05 10:04:31 +00:00
Sandro Santilli f08541a6cf Added ndims(geometry) function, used in a 3rd constraint set
by AddGeometryColumn, documented.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1082 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-05 08:16:46 +00:00
Sandro Santilli 349acb6d7c Renamed max/min/avg macros to LW_MAX, LW_MIN, LW_AVG.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1081 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-04 11:40:08 +00:00
Sandro Santilli 03ead7f958 Oops.. my attemt at moving lwpostgis.sql.in one dir up was bogus.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1080 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-04 09:18:06 +00:00
Sandro Santilli dc26fdb4fc Moved lwpostgis.sql.in and it's build logic up to root directory.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1079 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-04 08:56:48 +00:00
Sandro Santilli 221f5327fe Fixed "compat.h" include to be local.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1078 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-02 17:53:06 +00:00
Sandro Santilli e72eae5a31 Added a copy of GNU vsprintf.c file and compiled in.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1077 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-02 16:48:54 +00:00
Sandro Santilli 4b167be8f6 min/max macro made available regardless of MINGW32 define.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1076 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-02 15:59:10 +00:00
Sandro Santilli 25987eea70 Fixed a typo in probe_geometry_columns() reported by Vinko Vrsalovic.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1073 b70326c6-7e19-0410-871a-916f4a2858ee
2004-11-02 07:25:38 +00:00
Sandro Santilli b662e5d784 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@1072 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-29 05:28:05 +00:00
Sandro Santilli dfb8cf71c4 Fixed bug in AddGeometryColumn refusing to add 4D geoms.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1071 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-29 05:27:09 +00:00
Sandro Santilli 7b12c9cde9 header inclusion cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@1069 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-28 16:28:07 +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 db88832953 More cleanups.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1066 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-28 16:23:17 +00:00