Commit graph

117 commits

Author SHA1 Message Date
Mark Leslie 6a68925c53 Cleaned up distance_sphere and updated documentation.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1492 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-04 19:31:36 +00:00
Mark Leslie d1e58a9a5b Rebuilt the distance_sphere function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1466 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-03 17:20:47 +00:00
Sandro Santilli 419d1ad4c0 Added bool::text cast.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1428 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-23 09:00:36 +00:00
Sandro Santilli a9ebea2780 Improved transform() errors verbosity.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1406 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-17 16:09:56 +00:00
Sandro Santilli 2755cd9fba Fixed probe_geometry_columns to work with PG72 (pg_constraint was pg_relcheck)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1379 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-08 07:59:07 +00:00
Sandro Santilli 760c4df115 Fixed probe_geometry_columns so to work on spatial tables with multiple
geometry columns.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1378 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-08 07:37:42 +00:00
Sandro Santilli 9d1a7bce5e Fixed broken 72 index bindings.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1376 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-07 14:02:20 +00:00
Sandro Santilli fbcc98eae2 Changed performance-sensible functions from STABLE to IMMUTABLE
git-svn-id: http://svn.osgeo.org/postgis/trunk@1362 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-01 16:53:53 +00:00
Sandro Santilli 800645e170 More error handlings in transform(geom, int)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1356 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-31 09:01:14 +00:00
Sandro Santilli 373b025463 Made all *FromText() accept only WKT <text>, no more cheating.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1342 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-25 11:29:03 +00:00
Sandro Santilli a716805b76 Made all OGC TypeFromWKB() functions consistent in taking a bytea
git-svn-id: http://svn.osgeo.org/postgis/trunk@1340 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-25 09:03:45 +00:00
Sandro Santilli c2e56ab352 Used quote_ident() for spatial columns constraints nams, suggested by Bernhard Herzog
git-svn-id: http://svn.osgeo.org/postgis/trunk@1308 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-17 11:44:50 +00:00
Sandro Santilli f222a53d70 Switched to preprocessor driver CREATEFUNCTION attribute specification
git-svn-id: http://svn.osgeo.org/postgis/trunk@1305 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-14 16:36:15 +00:00
Sandro Santilli f533a1fbbe estimated_extent() prepared for future expansion (support of pre-800 PGSQL)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1302 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-13 17:41:40 +00:00
Sandro Santilli eac605decd fixed postgis_gist_joinsel signature for PG72
git-svn-id: http://svn.osgeo.org/postgis/trunk@1280 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-11 18:05:59 +00:00
Sandro Santilli 0fce773ce3 dropped special pgsql 7.1 handling
git-svn-id: http://svn.osgeo.org/postgis/trunk@1278 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-11 17:56:57 +00:00
Sandro Santilli ceea31b0b8 Added postgis_lib_build_date() and postgis_scripts_build_date() provided by Markus Schaber
git-svn-id: http://svn.osgeo.org/postgis/trunk@1275 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-11 17:39:05 +00:00
Mark Cave-Ayland e8d4bde7d1 Added new indexable operators <<|, &<|, |&> and |>> to allow comparisons of bounding box positions in the Y axis
git-svn-id: http://svn.osgeo.org/postgis/trunk@1270 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-11 14:20:41 +00:00
Sandro Santilli c9f5b29443 Dropped BOX2D operators. They will rely on cast to geometry.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1260 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-07 18:32:57 +00:00
Sandro Santilli 7698eddc41 dropped dump(geometry) for PGSQL<73 builds
git-svn-id: http://svn.osgeo.org/postgis/trunk@1253 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-07 12:24:13 +00:00
Sandro Santilli 72478216c0 fixed typo in symdifference function definition
git-svn-id: http://svn.osgeo.org/postgis/trunk@1250 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-07 11:57:25 +00:00
Sandro Santilli ee7cf9ded9 fixed postgis_gist_joinsel definition for PG73
git-svn-id: http://svn.osgeo.org/postgis/trunk@1249 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-07 11:55:43 +00:00
Sandro Santilli 9daac94c28 Dump(geometry) enabled by default.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1244 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-07 10:10:10 +00:00
Sandro Santilli 8b400807e4 Renamed Apply_Grid to SnapToGrid, documented behaviour of collapsed geoms.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1235 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-06 15:29:03 +00:00
Sandro Santilli 2d59a17f98 Added makepolygon(geometry, geometry[])
git-svn-id: http://svn.osgeo.org/postgis/trunk@1234 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-06 13:46:41 +00:00
Sandro Santilli 688b9a6cfa Added accom(geom) aggregate
git-svn-id: http://svn.osgeo.org/postgis/trunk@1229 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-06 09:36:45 +00:00
Sandro Santilli 376421314f Added apply_grid wrappers.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1228 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-06 09:08:14 +00:00
Sandro Santilli a37607a04f Integrated apply_grid() contributed function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1220 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-05 17:06:18 +00:00
Sandro Santilli e83c09ce09 iscacheable patch from Carl Anderson
git-svn-id: http://svn.osgeo.org/postgis/trunk@1215 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-03 15:00:56 +00:00
Sandro Santilli d7f25db65d Added cache_bbox trigger
git-svn-id: http://svn.osgeo.org/postgis/trunk@1190 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-30 10:24:25 +00:00
Sandro Santilli 95f57cb314 Added bool hasBBOX(geometry). Removed useless input copy in zmflag(geometry).
git-svn-id: http://svn.osgeo.org/postgis/trunk@1183 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-27 09:59:04 +00:00
Sandro Santilli 4d962ce2f5 GeomFromWKB() and GeometryFromText() issue a warning if provided formats
are not OGC-strict. Introduced GeomFromEWKT() and GeomFromEWKB() for
extended formats.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1177 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-22 10:32:27 +00:00
Sandro Santilli 5f59c5f1ec Made asText and asBinary strict OGC conformant, introduced asEWKT and asEWKB
for extended version outputs.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1175 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-21 17:46:44 +00:00
Sandro Santilli fbd3879946 Added array element delimiter for type geometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@1169 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-20 17:49:42 +00:00
Sandro Santilli af4b2b0318 Added dropBBOX().
git-svn-id: http://svn.osgeo.org/postgis/trunk@1165 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-20 14:01:48 +00:00
Sandro Santilli 660cdc8b7d Added canonical binary conversions as bytea<->geometry casts and
explicit _send and _recv for PG>73


git-svn-id: http://svn.osgeo.org/postgis/trunk@1159 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-17 10:10:32 +00:00
Sandro Santilli 9a1224ec37 Initial skel for geometry_send canonical binary rep.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1155 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-16 12:30:24 +00:00
Sandro Santilli b01cca1a22 Enforced schema use in UpdateGeometrySRID
git-svn-id: http://svn.osgeo.org/postgis/trunk@1151 b70326c6-7e19-0410-871a-916f4a2858ee
2004-12-15 12:59:40 +00:00
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 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 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 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 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 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 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 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 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 8416b910c4 Cleanups.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1061 b70326c6-7e19-0410-871a-916f4a2858ee
2004-10-28 09:38:44 +00:00