]> granicus.if.org Git - postgis/log
postgis
19 years agoremoved obsoleted script
Sandro Santilli [Tue, 11 Jan 2005 15:10:13 +0000 (15:10 +0000)]
removed obsoleted script

git-svn-id: http://svn.osgeo.org/postgis/trunk@1272 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded SRID checks for all operators.
Sandro Santilli [Tue, 11 Jan 2005 15:09:32 +0000 (15:09 +0000)]
Added SRID checks for all operators.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1271 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded new indexable operators <<|, &<|, |&> and |>> to allow comparisons of bounding...
Mark Cave-Ayland [Tue, 11 Jan 2005 14:20:41 +0000 (14:20 +0000)]
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

19 years agoFixed translate() to always use one of the AUTOCACHE_BBOX honouring
Sandro Santilli [Tue, 11 Jan 2005 14:10:58 +0000 (14:10 +0000)]
Fixed translate() to always use one of the AUTOCACHE_BBOX honouring
entry points.
Cleaned up expand(geom).

git-svn-id: http://svn.osgeo.org/postgis/trunk@1269 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoremoved link from geometry_dump type ref
Sandro Santilli [Tue, 11 Jan 2005 08:33:17 +0000 (08:33 +0000)]
removed link from geometry_dump type ref

git-svn-id: http://svn.osgeo.org/postgis/trunk@1268 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoDropped inherithed rule for static lib build (liblwgeom.a), added
Sandro Santilli [Tue, 11 Jan 2005 08:29:35 +0000 (08:29 +0000)]
Dropped inherithed rule for static lib build (liblwgeom.a), added
a 'tsort' rule to check xdeps status.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1267 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoFixed memory handling bug in dump(geom)
Sandro Santilli [Tue, 11 Jan 2005 08:12:42 +0000 (08:12 +0000)]
Fixed memory handling bug in dump(geom)

git-svn-id: http://svn.osgeo.org/postgis/trunk@1266 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded missing prototypes
Sandro Santilli [Mon, 10 Jan 2005 09:47:14 +0000 (09:47 +0000)]
Added missing prototypes

git-svn-id: http://svn.osgeo.org/postgis/trunk@1265 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agochanged size_t printing lines to use %lu and unsigned long cast
Sandro Santilli [Mon, 10 Jan 2005 09:28:34 +0000 (09:28 +0000)]
changed size_t printing lines to use %lu and unsigned long cast

git-svn-id: http://svn.osgeo.org/postgis/trunk@1264 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agorenamed misures.c to measures.c
Sandro Santilli [Mon, 10 Jan 2005 09:27:58 +0000 (09:27 +0000)]
renamed misures.c to measures.c

git-svn-id: http://svn.osgeo.org/postgis/trunk@1263 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agosize_t usage cleanups.
Sandro Santilli [Sun, 9 Jan 2005 20:28:59 +0000 (20:28 +0000)]
size_t usage cleanups.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1262 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAvoided lwcollection_deserialize call for non collections (was broken).
Sandro Santilli [Sun, 9 Jan 2005 18:32:12 +0000 (18:32 +0000)]
Avoided lwcollection_deserialize call for non collections (was broken).

git-svn-id: http://svn.osgeo.org/postgis/trunk@1261 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoDropped BOX2D operators. They will rely on cast to geometry.
Sandro Santilli [Fri, 7 Jan 2005 18:32:57 +0000 (18:32 +0000)]
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

19 years agoFixed handling of empty collection in GEOS2POSTGIS converter
Sandro Santilli [Fri, 7 Jan 2005 16:43:45 +0000 (16:43 +0000)]
Fixed handling of empty collection in GEOS2POSTGIS converter

git-svn-id: http://svn.osgeo.org/postgis/trunk@1259 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoMade accum(geometry) compatible with PG73.
Sandro Santilli [Fri, 7 Jan 2005 14:42:53 +0000 (14:42 +0000)]
Made accum(geometry) compatible with PG73.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1258 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoremoved unused variable
Sandro Santilli [Fri, 7 Jan 2005 14:23:07 +0000 (14:23 +0000)]
removed unused variable

git-svn-id: http://svn.osgeo.org/postgis/trunk@1257 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded a geometry type OID extractor and caching function.
Sandro Santilli [Fri, 7 Jan 2005 14:20:14 +0000 (14:20 +0000)]
Added a geometry type OID extractor and caching function.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1256 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded a note about compatibility of Dump(geometry)
Sandro Santilli [Fri, 7 Jan 2005 12:33:26 +0000 (12:33 +0000)]
Added a note about compatibility of Dump(geometry)

git-svn-id: http://svn.osgeo.org/postgis/trunk@1255 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agomade accum(geom) compatible with PG72
Sandro Santilli [Fri, 7 Jan 2005 12:28:07 +0000 (12:28 +0000)]
made accum(geom) compatible with PG72

git-svn-id: http://svn.osgeo.org/postgis/trunk@1254 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agodropped dump(geometry) for PGSQL<73 builds
Sandro Santilli [Fri, 7 Jan 2005 12:24:13 +0000 (12:24 +0000)]
dropped dump(geometry) for PGSQL<73 builds

git-svn-id: http://svn.osgeo.org/postgis/trunk@1253 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agofixed var declaration misplacement
Sandro Santilli [Fri, 7 Jan 2005 12:09:12 +0000 (12:09 +0000)]
fixed var declaration misplacement

git-svn-id: http://svn.osgeo.org/postgis/trunk@1252 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agomake LWGEOM_{to,from}_bytea available to all pgsql versions
Sandro Santilli [Fri, 7 Jan 2005 12:00:51 +0000 (12:00 +0000)]
make LWGEOM_{to,from}_bytea available to all pgsql versions

git-svn-id: http://svn.osgeo.org/postgis/trunk@1251 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agofixed typo in symdifference function definition
Sandro Santilli [Fri, 7 Jan 2005 11:57:25 +0000 (11:57 +0000)]
fixed typo in symdifference function definition

git-svn-id: http://svn.osgeo.org/postgis/trunk@1250 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agofixed postgis_gist_joinsel definition for PG73
Sandro Santilli [Fri, 7 Jan 2005 11:55:43 +0000 (11:55 +0000)]
fixed postgis_gist_joinsel definition for PG73

git-svn-id: http://svn.osgeo.org/postgis/trunk@1249 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoMoved pgsql compatibility code into pgsql_compat.h
Sandro Santilli [Fri, 7 Jan 2005 11:50:49 +0000 (11:50 +0000)]
Moved pgsql compatibility code into pgsql_compat.h

git-svn-id: http://svn.osgeo.org/postgis/trunk@1248 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agovariable declaration cleanups.
Sandro Santilli [Fri, 7 Jan 2005 10:26:45 +0000 (10:26 +0000)]
variable declaration cleanups.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1247 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded WARNING define for pgsql<73
Sandro Santilli [Fri, 7 Jan 2005 10:25:34 +0000 (10:25 +0000)]
Added WARNING define for pgsql<73

git-svn-id: http://svn.osgeo.org/postgis/trunk@1246 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agofixed misplaced declaration after body start
Sandro Santilli [Fri, 7 Jan 2005 10:13:52 +0000 (10:13 +0000)]
fixed misplaced declaration after body start

git-svn-id: http://svn.osgeo.org/postgis/trunk@1245 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoDump(geometry) enabled by default.
Sandro Santilli [Fri, 7 Jan 2005 10:10:10 +0000 (10:10 +0000)]
Dump(geometry) enabled by default.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1244 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded Dump(geometry) doc
Sandro Santilli [Fri, 7 Jan 2005 10:06:25 +0000 (10:06 +0000)]
Added Dump(geometry) doc

git-svn-id: http://svn.osgeo.org/postgis/trunk@1243 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agocleanup
Sandro Santilli [Fri, 7 Jan 2005 10:04:16 +0000 (10:04 +0000)]
cleanup

git-svn-id: http://svn.osgeo.org/postgis/trunk@1242 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agofixed typo in error message
Sandro Santilli [Fri, 7 Jan 2005 09:56:33 +0000 (09:56 +0000)]
fixed typo in error message

git-svn-id: http://svn.osgeo.org/postgis/trunk@1241 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agofixed typo in error message
Sandro Santilli [Fri, 7 Jan 2005 09:56:07 +0000 (09:56 +0000)]
fixed typo in error message

git-svn-id: http://svn.osgeo.org/postgis/trunk@1240 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoJOINSEL disabled for builds against pgsql<80
Sandro Santilli [Fri, 7 Jan 2005 09:52:12 +0000 (09:52 +0000)]
JOINSEL disabled for builds against pgsql<80

git-svn-id: http://svn.osgeo.org/postgis/trunk@1239 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoInitial import
Sandro Santilli [Fri, 7 Jan 2005 00:58:13 +0000 (00:58 +0000)]
Initial import

git-svn-id: http://svn.osgeo.org/postgis/trunk@1238 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded MakePolygon documentation
Sandro Santilli [Thu, 6 Jan 2005 15:45:11 +0000 (15:45 +0000)]
Added MakePolygon documentation

git-svn-id: http://svn.osgeo.org/postgis/trunk@1237 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded not about possible lost of simplicity() using SnapToGrid(), added links to...
Sandro Santilli [Thu, 6 Jan 2005 15:34:40 +0000 (15:34 +0000)]
Added not about possible lost of simplicity() using SnapToGrid(), added links to the function from there and simplify()

git-svn-id: http://svn.osgeo.org/postgis/trunk@1236 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoRenamed Apply_Grid to SnapToGrid, documented behaviour of collapsed geoms.
Sandro Santilli [Thu, 6 Jan 2005 15:29:03 +0000 (15:29 +0000)]
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

19 years agoAdded makepolygon(geometry, geometry[])
Sandro Santilli [Thu, 6 Jan 2005 13:46:41 +0000 (13:46 +0000)]
Added makepolygon(geometry, geometry[])

git-svn-id: http://svn.osgeo.org/postgis/trunk@1234 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoforward declarations for lwpoly_from_lwlines(), ptarray_clone() and ptarray_isclosed2d()
Sandro Santilli [Thu, 6 Jan 2005 13:45:36 +0000 (13:45 +0000)]
forward declarations for lwpoly_from_lwlines(), ptarray_clone() and ptarray_isclosed2d()

git-svn-id: http://svn.osgeo.org/postgis/trunk@1233 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded lwpoly_from_lwlines()
Sandro Santilli [Thu, 6 Jan 2005 13:45:01 +0000 (13:45 +0000)]
Added lwpoly_from_lwlines()

git-svn-id: http://svn.osgeo.org/postgis/trunk@1232 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded ptarray_clone() and ptarray_isclosed2d()
Sandro Santilli [Thu, 6 Jan 2005 13:44:45 +0000 (13:44 +0000)]
Added ptarray_clone() and ptarray_isclosed2d()

git-svn-id: http://svn.osgeo.org/postgis/trunk@1231 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded accum(geom) documentation
Sandro Santilli [Thu, 6 Jan 2005 09:38:50 +0000 (09:38 +0000)]
Added accum(geom) documentation

git-svn-id: http://svn.osgeo.org/postgis/trunk@1230 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded accom(geom) aggregate
Sandro Santilli [Thu, 6 Jan 2005 09:36:45 +0000 (09:36 +0000)]
Added accom(geom) aggregate

git-svn-id: http://svn.osgeo.org/postgis/trunk@1229 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded apply_grid wrappers.
Sandro Santilli [Thu, 6 Jan 2005 09:08:14 +0000 (09:08 +0000)]
Added apply_grid wrappers.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1228 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoModified transform() to always use PG_LWGEOM_construct entry point for
Sandro Santilli [Thu, 6 Jan 2005 08:51:50 +0000 (08:51 +0000)]
Modified transform() to always use PG_LWGEOM_construct entry point for
output (to support AUTOCACHE_BBOX).

git-svn-id: http://svn.osgeo.org/postgis/trunk@1227 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoFix spelling error
Paul Ramsey [Thu, 6 Jan 2005 01:10:51 +0000 (01:10 +0000)]
Fix spelling error

git-svn-id: http://svn.osgeo.org/postgis/trunk@1226 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoupdated Polygonize doc
Sandro Santilli [Wed, 5 Jan 2005 22:52:28 +0000 (22:52 +0000)]
updated Polygonize doc

git-svn-id: http://svn.osgeo.org/postgis/trunk@1225 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoHad translate compute bbox cache translating input one if present.
Sandro Santilli [Wed, 5 Jan 2005 22:48:29 +0000 (22:48 +0000)]
Had translate compute bbox cache translating input one if present.
Cleanups.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1224 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoMade apply_grid compute output bbox WHEN_SIMPLE (input bbox is present)
Sandro Santilli [Wed, 5 Jan 2005 22:11:03 +0000 (22:11 +0000)]
Made apply_grid compute output bbox WHEN_SIMPLE (input bbox is present)

git-svn-id: http://svn.osgeo.org/postgis/trunk@1223 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoSimplify reworked to use LWGEOM abstraction (no more flattening of input collection).
Sandro Santilli [Wed, 5 Jan 2005 21:59:32 +0000 (21:59 +0000)]
Simplify reworked to use LWGEOM abstraction (no more flattening of input collection).

git-svn-id: http://svn.osgeo.org/postgis/trunk@1222 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded apply_grid doc
Sandro Santilli [Wed, 5 Jan 2005 17:08:22 +0000 (17:08 +0000)]
Added apply_grid doc

git-svn-id: http://svn.osgeo.org/postgis/trunk@1221 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoIntegrated apply_grid() contributed function.
Sandro Santilli [Wed, 5 Jan 2005 17:06:18 +0000 (17:06 +0000)]
Integrated apply_grid() contributed function.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1220 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded is_worth_caching_serialized_bbox(). Renamed lwgeom_setSRID() to
Sandro Santilli [Wed, 5 Jan 2005 12:44:47 +0000 (12:44 +0000)]
Added is_worth_caching_serialized_bbox(). Renamed lwgeom_setSRID() to
pglwgeom_setSRID(). Fixed a bug in PG_LWGEOM_construct support for
AUTOCACHE_BBOX.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1219 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoAdded AUTOCACHE_BBOX support in PG_LWGEOM_construct().
Sandro Santilli [Wed, 5 Jan 2005 10:06:58 +0000 (10:06 +0000)]
Added AUTOCACHE_BBOX support in PG_LWGEOM_construct().

git-svn-id: http://svn.osgeo.org/postgis/trunk@1218 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agocollect(geom, geom) and collect_garray(geom[]) use WHEN_SIMPLE strategy
Sandro Santilli [Wed, 5 Jan 2005 09:47:58 +0000 (09:47 +0000)]
collect(geom, geom) and collect_garray(geom[]) use WHEN_SIMPLE strategy
for bbox computation. pglwgeom_serialize() honour user's AUTOCACHE_BBOX
define. BBOXCACHE_BEHAVIOURS updated.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1217 b70326c6-7e19-0410-871a-916f4a2858ee

19 years agoGEOSpolygonize returns GEOMETRYCOLLECTION instead of MULTIPOLYGON
Sandro Santilli [Mon, 3 Jan 2005 17:51:40 +0000 (17:51 +0000)]
GEOSpolygonize returns GEOMETRYCOLLECTION instead of MULTIPOLYGON

git-svn-id: http://svn.osgeo.org/postgis/trunk@1216 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoiscacheable patch from Carl Anderson
Sandro Santilli [Mon, 3 Jan 2005 15:00:56 +0000 (15:00 +0000)]
iscacheable patch from Carl Anderson

git-svn-id: http://svn.osgeo.org/postgis/trunk@1215 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoupdate ExteriorRing doc
Sandro Santilli [Fri, 31 Dec 2004 13:11:16 +0000 (13:11 +0000)]
update ExteriorRing doc

git-svn-id: http://svn.osgeo.org/postgis/trunk@1214 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoMade ExteriorRing use LWGEOM.
Sandro Santilli [Fri, 31 Dec 2004 13:10:35 +0000 (13:10 +0000)]
Made ExteriorRing use LWGEOM.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1213 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoupdate InteriorRingN doc
Sandro Santilli [Fri, 31 Dec 2004 12:46:22 +0000 (12:46 +0000)]
update InteriorRingN doc

git-svn-id: http://svn.osgeo.org/postgis/trunk@1212 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoGeometryN and InteriorRingN changed to use LWGEOM format (and the
Sandro Santilli [Fri, 31 Dec 2004 12:44:41 +0000 (12:44 +0000)]
GeometryN and InteriorRingN changed to use LWGEOM format (and the
latter made OGC-strict).

git-svn-id: http://svn.osgeo.org/postgis/trunk@1211 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoupdated
Sandro Santilli [Fri, 31 Dec 2004 12:00:51 +0000 (12:00 +0000)]
updated

git-svn-id: http://svn.osgeo.org/postgis/trunk@1210 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoAll output geoms serializzations made using pglwgeom_serialize
Sandro Santilli [Fri, 31 Dec 2004 11:39:37 +0000 (11:39 +0000)]
All output geoms serializzations made using pglwgeom_serialize

git-svn-id: http://svn.osgeo.org/postgis/trunk@1209 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agofixed bugs in convexhull, made GEOS2POSTGIS use pglwgeom_serialize
Sandro Santilli [Fri, 31 Dec 2004 11:31:33 +0000 (11:31 +0000)]
fixed bugs in convexhull, made GEOS2POSTGIS use pglwgeom_serialize

git-svn-id: http://svn.osgeo.org/postgis/trunk@1208 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoFixed a bug in lwpoint_serialize_size
Sandro Santilli [Fri, 31 Dec 2004 11:30:38 +0000 (11:30 +0000)]
Fixed a bug in lwpoint_serialize_size

git-svn-id: http://svn.osgeo.org/postgis/trunk@1207 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoerror messages and VARLENA handling cleanups
Sandro Santilli [Fri, 31 Dec 2004 11:26:15 +0000 (11:26 +0000)]
error messages and VARLENA handling cleanups

git-svn-id: http://svn.osgeo.org/postgis/trunk@1206 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoinitial import
Sandro Santilli [Fri, 31 Dec 2004 10:47:20 +0000 (10:47 +0000)]
initial import

git-svn-id: http://svn.osgeo.org/postgis/trunk@1205 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agore-introduced G2P conversion profile for convexhull (was missing from previous patch)
Sandro Santilli [Fri, 31 Dec 2004 10:35:33 +0000 (10:35 +0000)]
re-introduced G2P conversion profile for convexhull (was missing from previous patch)

git-svn-id: http://svn.osgeo.org/postgis/trunk@1204 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoMade convexhull use input bbox cache if any for output geom.
Sandro Santilli [Fri, 31 Dec 2004 10:28:29 +0000 (10:28 +0000)]
Made convexhull use input bbox cache if any for output geom.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1203 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoVarlena handling cleanups
Sandro Santilli [Fri, 31 Dec 2004 09:04:17 +0000 (09:04 +0000)]
Varlena handling cleanups

git-svn-id: http://svn.osgeo.org/postgis/trunk@1202 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoupdated
Sandro Santilli [Thu, 30 Dec 2004 20:41:33 +0000 (20:41 +0000)]
updated

git-svn-id: http://svn.osgeo.org/postgis/trunk@1201 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoRewrote GEOSCentroid() to pass exception using an input arg, and return
Sandro Santilli [Thu, 30 Dec 2004 20:36:49 +0000 (20:36 +0000)]
Rewrote GEOSCentroid() to pass exception using an input arg, and return
NULL for EMPTY geom.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1200 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoMade parse_WKT_lwgeom (text::geometry) use AUTOCACHE_BBOX heuristic, stricter use...
Sandro Santilli [Thu, 30 Dec 2004 16:08:22 +0000 (16:08 +0000)]
Made parse_WKT_lwgeom (text::geometry) use AUTOCACHE_BBOX heuristic, stricter use of PG text type

git-svn-id: http://svn.osgeo.org/postgis/trunk@1199 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoFixed a bug in translate() and transform() leaving result geometries with
Sandro Santilli [Thu, 30 Dec 2004 15:59:41 +0000 (15:59 +0000)]
Fixed a bug in translate() and transform() leaving result geometries with
the old bounding box cache.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1198 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoAdded compute_serialized_bbox_p() to always recomputed a geometry bounding box
Sandro Santilli [Thu, 30 Dec 2004 15:58:27 +0000 (15:58 +0000)]
Added compute_serialized_bbox_p() to always recomputed a geometry bounding box

git-svn-id: http://svn.osgeo.org/postgis/trunk@1197 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoHad LineFromMultiPoint make use of input SRID
Sandro Santilli [Thu, 30 Dec 2004 15:11:05 +0000 (15:11 +0000)]
Had LineFromMultiPoint make use of input SRID

git-svn-id: http://svn.osgeo.org/postgis/trunk@1196 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoAdded AUTOCACHE_BBOX variable, defaulting to 1.
Sandro Santilli [Thu, 30 Dec 2004 14:44:23 +0000 (14:44 +0000)]
Added AUTOCACHE_BBOX variable, defaulting to 1.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1195 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoIntroduced bbox caching worth evaluation functions, honoured in
Sandro Santilli [Thu, 30 Dec 2004 13:47:56 +0000 (13:47 +0000)]
Introduced bbox caching worth evaluation functions, honoured in
LWGEOM_in, LWGEOMFromWKB, and GEOS2POSTGIS.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1194 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoHandled NULL returns from getCentroid making it an EMPTY GEOM
Sandro Santilli [Thu, 30 Dec 2004 13:35:50 +0000 (13:35 +0000)]
Handled NULL returns from getCentroid making it an EMPTY GEOM

git-svn-id: http://svn.osgeo.org/postgis/trunk@1193 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoApplied Carl Anderson patch for LinearRing support.
Sandro Santilli [Thu, 30 Dec 2004 10:27:48 +0000 (10:27 +0000)]
Applied Carl Anderson patch for LinearRing support.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1192 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoUSE_GEOS and USE_PROJ defaults switched to NO, and made overridable via
Sandro Santilli [Thu, 30 Dec 2004 10:27:32 +0000 (10:27 +0000)]
USE_GEOS and USE_PROJ defaults switched to NO, and made overridable via
environment.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1191 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoAdded cache_bbox trigger
Sandro Santilli [Thu, 30 Dec 2004 10:24:25 +0000 (10:24 +0000)]
Added cache_bbox trigger

git-svn-id: http://svn.osgeo.org/postgis/trunk@1190 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agomoved some BBOX procs signatures from lwgeom_inout.c to lwgeom_pg.h
Sandro Santilli [Thu, 30 Dec 2004 10:22:53 +0000 (10:22 +0000)]
moved some BBOX procs signatures from lwgeom_inout.c to lwgeom_pg.h

git-svn-id: http://svn.osgeo.org/postgis/trunk@1189 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoremoved useless memory copies in ndims(geom)
Sandro Santilli [Thu, 30 Dec 2004 10:21:57 +0000 (10:21 +0000)]
removed useless memory copies in ndims(geom)

git-svn-id: http://svn.osgeo.org/postgis/trunk@1188 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoinitial revision
Sandro Santilli [Thu, 30 Dec 2004 10:18:14 +0000 (10:18 +0000)]
initial revision

git-svn-id: http://svn.osgeo.org/postgis/trunk@1187 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agospecified LineString input requirement for StartPoint and LastPoint
Sandro Santilli [Tue, 28 Dec 2004 09:23:39 +0000 (09:23 +0000)]
specified LineString input requirement for StartPoint and LastPoint

git-svn-id: http://svn.osgeo.org/postgis/trunk@1186 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoExpanded "GIS Objects" chapter adding OGC/PostGIS (E)WKT/B and canonical forms.
Sandro Santilli [Mon, 27 Dec 2004 13:34:49 +0000 (13:34 +0000)]
Expanded "GIS Objects" chapter adding OGC/PostGIS (E)WKT/B and canonical forms.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1185 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoAdded HasBBOX() item
Sandro Santilli [Mon, 27 Dec 2004 12:50:00 +0000 (12:50 +0000)]
Added HasBBOX() item

git-svn-id: http://svn.osgeo.org/postgis/trunk@1184 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoAdded bool hasBBOX(geometry). Removed useless input copy in zmflag(geometry).
Sandro Santilli [Mon, 27 Dec 2004 09:59:04 +0000 (09:59 +0000)]
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

20 years agoFixed help string, and added a TODO item
Sandro Santilli [Thu, 23 Dec 2004 14:48:25 +0000 (14:48 +0000)]
Fixed help string, and added a TODO item

git-svn-id: http://svn.osgeo.org/postgis/trunk@1182 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoUpdated <GEOM>FromWKB signatures to take bytea instead of text,
Sandro Santilli [Thu, 23 Dec 2004 11:02:02 +0000 (11:02 +0000)]
Updated <GEOM>FromWKB signatures to take bytea instead of text,
Removed non-standard GeometryFromText references and substituted
with OGC GeomFromText.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1181 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoAdjusted some function refereces, added another subsection for Geometry Output functions.
Sandro Santilli [Thu, 23 Dec 2004 10:39:02 +0000 (10:39 +0000)]
Adjusted some function refereces, added another subsection for Geometry Output functions.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1180 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoAdded Mark Cave-Ayland implementation of JOIN selectivity estimator.
Sandro Santilli [Wed, 22 Dec 2004 17:12:34 +0000 (17:12 +0000)]
Added Mark Cave-Ayland implementation of JOIN selectivity estimator.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1179 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoinitial revision
Sandro Santilli [Wed, 22 Dec 2004 17:02:17 +0000 (17:02 +0000)]
initial revision

git-svn-id: http://svn.osgeo.org/postgis/trunk@1178 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoGeomFromWKB() and GeometryFromText() issue a warning if provided formats
Sandro Santilli [Wed, 22 Dec 2004 10:32:27 +0000 (10:32 +0000)]
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

20 years agoDrop useless SRID from geometry when downloading EWKB format.
Sandro Santilli [Wed, 22 Dec 2004 10:29:09 +0000 (10:29 +0000)]
Drop useless SRID from geometry when downloading EWKB format.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1176 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoMade asText and asBinary strict OGC conformant, introduced asEWKT and asEWKB
Sandro Santilli [Tue, 21 Dec 2004 17:46:44 +0000 (17:46 +0000)]
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

20 years agoCanonical binary reverted back to EWKB, now supporting SRID inclusion.
Sandro Santilli [Tue, 21 Dec 2004 15:19:01 +0000 (15:19 +0000)]
Canonical binary reverted back to EWKB, now supporting SRID inclusion.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1174 b70326c6-7e19-0410-871a-916f4a2858ee

20 years agoMade setSRID(geom, -1) actually *remove* srid from LWGEOM.
Sandro Santilli [Tue, 21 Dec 2004 15:17:30 +0000 (15:17 +0000)]
Made setSRID(geom, -1) actually *remove* srid from LWGEOM.

git-svn-id: http://svn.osgeo.org/postgis/trunk@1173 b70326c6-7e19-0410-871a-916f4a2858ee