Commit graph

43 commits

Author SHA1 Message Date
Sandro Santilli 37ca3c79db Moved old version-specific sql files under the Attic directory.
git-svn-id: http://svn.osgeo.org/postgis/trunk@602 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 16:32:26 +00:00
Sandro Santilli b16f5117aa Moved old version-specific sql files under the Attic directory.
git-svn-id: http://svn.osgeo.org/postgis/trunk@601 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 16:32:25 +00:00
David Blasby f541a44e52 changed name of fluffType() to multi().
git-svn-id: http://svn.osgeo.org/postgis/trunk@494 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-26 01:07:27 +00:00
David Blasby 5512d40413 added full support for fluffType(<geom>)
postgis09=# select fluffType('POINT(0 0)');
        flufftype
		-------------------------
		 SRID=-1;MULTIPOINT(0 0)


git-svn-id: http://svn.osgeo.org/postgis/trunk@493 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-26 00:54:09 +00:00
Sandro Santilli f557a4cf46 added skeleton functions for pg75 stats integration
git-svn-id: http://svn.osgeo.org/postgis/trunk@448 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-23 12:18:55 +00:00
Sandro Santilli 587424e24a Added pg75 support scripts
git-svn-id: http://svn.osgeo.org/postgis/trunk@441 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-04 22:27:02 +00:00
Sandro Santilli 4626186591 Added line_interpolate_point function by jsunday@rochgrp.com
git-svn-id: http://svn.osgeo.org/postgis/trunk@430 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-21 19:04:03 +00:00
Sandro Santilli f96a7c346b cleaner comments for DropGeometryColumn
git-svn-id: http://svn.osgeo.org/postgis/trunk@429 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-20 20:14:17 +00:00
Sandro Santilli 85ff5c3ffd removed bogus comment about missed alter table drop column
git-svn-id: http://svn.osgeo.org/postgis/trunk@428 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-20 20:10:39 +00:00
Sandro Santilli 2da2b51bca For all versions:
Updated fix_geometry_columns to use a more readable format in queries.

For PG >= 73:
Updated fix_geometry_columns() to consider schema when fixing attrelid and
varattnum, also changed empty value to 'public' string for records with
an invalid schema specification.
Updated DropGeometryColumn to actually issue the
ALTER TABLE DROP COLUMN query.


git-svn-id: http://svn.osgeo.org/postgis/trunk@416 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-30 10:40:21 +00:00
Sandro Santilli 18de82079e AddGeometryColumn, DropGeometryColum moved to version-specific scripts.
Schema support enabled for version 73 and 74.


git-svn-id: http://svn.osgeo.org/postgis/trunk@414 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-23 09:00:12 +00:00
Sandro Santilli 20109b41e9 Changed fix_geometry_columns() for PG >= 73 so to set f_table_schema to
the empty string if its value is not a valid pg namespace.


git-svn-id: http://svn.osgeo.org/postgis/trunk@412 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-18 18:07:06 +00:00
Sandro Santilli b07df07351 Added GEOSnoop function and some optional debugging output for
geos<->postgis converter (define DEBUG_CONVERTER at top postgis_geos.c)


git-svn-id: http://svn.osgeo.org/postgis/trunk@405 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-12 10:08:24 +00:00
Sandro Santilli 9a953f8f9a Added explicit geometry as text cast
git-svn-id: http://svn.osgeo.org/postgis/trunk@395 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-28 11:25:31 +00:00
Sandro Santilli 8484b440ae Added WKB_recv function for binary WKB input
git-svn-id: http://svn.osgeo.org/postgis/trunk@394 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-28 11:06:49 +00:00
Sandro Santilli a6567bbc69 missing function definition added (I forgot - sorry)
git-svn-id: http://svn.osgeo.org/postgis/trunk@371 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-19 17:50:18 +00:00
Sandro Santilli 68ba601a29 Added default btree operator class for PG7.4
git-svn-id: http://svn.osgeo.org/postgis/trunk@369 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-19 15:29:21 +00:00
Sandro Santilli f03f7caa65 Fixed wrong COMMUTATOR specifications in '<','>','~=','@' operators,
added new '<=', '>=' operators


git-svn-id: http://svn.osgeo.org/postgis/trunk@367 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-19 15:23:27 +00:00
Sandro Santilli 98eea61f3c used quote_ident() calls in AddGeometryColumns as suggested by Bernhard Herzog
git-svn-id: http://svn.osgeo.org/postgis/trunk@361 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-13 13:14:49 +00:00
Sandro Santilli 2af19145b9 AddGeometryColumn column identifier case respect fix as suggested by Bernhard Herzog
git-svn-id: http://svn.osgeo.org/postgis/trunk@358 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-12 20:55:18 +00:00
Sandro Santilli 41b6af4b88 Postgresql 7.4 enabler scripts.
git-svn-id: http://svn.osgeo.org/postgis/trunk@354 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-11 10:38:23 +00:00
Sandro Santilli 73e62e75f5 Added fast collect() and geomunion() aggregates implementations
git-svn-id: http://svn.osgeo.org/postgis/trunk@352 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-05 18:26:54 +00:00
Sandro Santilli f4ac05564c Added Algorithms section and simplify() enabler code
git-svn-id: http://svn.osgeo.org/postgis/trunk@335 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-28 11:18:27 +00:00
Sandro Santilli beeb636460 Added 'unite' aggregate.
git-svn-id: http://svn.osgeo.org/postgis/trunk@322 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-23 08:06:54 +00:00
David Blasby 1137c338ea made isEmpty() return true/false
git-svn-id: http://svn.osgeo.org/postgis/trunk@315 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-17 16:07:05 +00:00
David Blasby 2e6293c424 removed truly_inside() function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@298 b70326c6-7e19-0410-871a-916f4a2858ee
2003-09-04 16:19:06 +00:00
David Blasby 85ff82755b Conformance changes.
Removed junk from postgis_debug.c and added the first run of the long
transaction locking support.  (this will change - dont use it)
conformance tests were corrected
some dos cr/lf removed
empty geometries i.e. GEOMETRYCOLLECT(EMPTY) added (with indexing support)
pointN(<linestring>,1) now returns the first point (used to return 2nd)


git-svn-id: http://svn.osgeo.org/postgis/trunk@288 b70326c6-7e19-0410-871a-916f4a2858ee
2003-08-08 18:19:20 +00:00
David Blasby b9ff5141c8 Added the WKB parser. Added all the functions like
PolyFromWKB(<WKB>,[<SRID>]).

Added all the functions like PolyFromText(<WKT>,[<SRID>])

Minor problem in GEOS library fixed.


git-svn-id: http://svn.osgeo.org/postgis/trunk@286 b70326c6-7e19-0410-871a-916f4a2858ee
2003-08-06 19:31:18 +00:00
David Blasby 758ecf2bd9 added the functionality to convert GEOS->PostGIS geometries. Added those geos
functions to postgis.


git-svn-id: http://svn.osgeo.org/postgis/trunk@283 b70326c6-7e19-0410-871a-916f4a2858ee
2003-08-01 23:58:08 +00:00
Paul Ramsey d6f7f47e2d Added CVS revision headers.
git-svn-id: http://svn.osgeo.org/postgis/trunk@278 b70326c6-7e19-0410-871a-916f4a2858ee
2003-07-01 18:30:55 +00:00
David Blasby fb01fb67e4 Added a modified version of Carl Anderson <carl.anderson@vadose.org> patch for
schema-aware find_srid().

I have modified your schema-patched find_srid() and commited it to the postgis

1. removed isstrict qualification and explicity throw an error if one of the
arguments is null
2. use "LIKE" instead of "~" for pattern matching because "~" wasnt working on
my system
3. throw an error if the the requested geometry couldnt be found.


git-svn-id: http://svn.osgeo.org/postgis/trunk@274 b70326c6-7e19-0410-871a-916f4a2858ee
2003-05-13 22:51:32 +00:00
David Blasby 8f8e8c2c91 added area() as alias for area2d()
git-svn-id: http://svn.osgeo.org/postgis/trunk@271 b70326c6-7e19-0410-871a-916f4a2858ee
2003-04-10 19:17:05 +00:00
Paul Ramsey 66c5c7ace0 Extra OGC text constructor functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@264 b70326c6-7e19-0410-871a-916f4a2858ee
2003-04-10 16:40:41 +00:00
Paul Ramsey cc7db48724 Formatting changes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@261 b70326c6-7e19-0410-871a-916f4a2858ee
2003-04-10 05:19:36 +00:00
Paul Ramsey 9e37652df3 Remove old commented out duplicate function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@260 b70326c6-7e19-0410-871a-916f4a2858ee
2003-04-10 05:16:56 +00:00
Paul Ramsey 15c7ef98c7 Some reformatting.
git-svn-id: http://svn.osgeo.org/postgis/trunk@257 b70326c6-7e19-0410-871a-916f4a2858ee
2003-04-09 21:08:48 +00:00
David Blasby 3d0dcab24c GEOS support -first run
git-svn-id: http://svn.osgeo.org/postgis/trunk@256 b70326c6-7e19-0410-871a-916f4a2858ee
2003-04-09 18:34:43 +00:00
Chris Hodgson 6f7054ca78 swapped '~=' for '=' in the operator class definition for gist_geometry_ops.
git-svn-id: http://svn.osgeo.org/postgis/trunk@247 b70326c6-7e19-0410-871a-916f4a2858ee
2003-03-06 18:57:24 +00:00
Chris Hodgson 0e254544ba changed 'geometry' to 'GEOMETRY' two places in the AddGeometryColumn sql code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@246 b70326c6-7e19-0410-871a-916f4a2858ee
2003-03-06 18:29:35 +00:00
David Blasby c978eec0db indexing for 7.3: @ and ~ were backwards. Corrected.
git-svn-id: http://svn.osgeo.org/postgis/trunk@244 b70326c6-7e19-0410-871a-916f4a2858ee
2003-03-06 18:04:14 +00:00
Paul Ramsey ac00534052 Changed constraint name for geometry_columns_pk.
git-svn-id: http://svn.osgeo.org/postgis/trunk@238 b70326c6-7e19-0410-871a-916f4a2858ee
2003-02-04 23:11:34 +00:00
Paul Ramsey 979080abf7 Fixed stupid case error in 7.2 gist support.
git-svn-id: http://svn.osgeo.org/postgis/trunk@235 b70326c6-7e19-0410-871a-916f4a2858ee
2003-02-04 06:49:27 +00:00
Paul Ramsey 1d0cae9cac New SQL update files, with version dependant start and end scripts.
git-svn-id: http://svn.osgeo.org/postgis/trunk@226 b70326c6-7e19-0410-871a-916f4a2858ee
2002-12-10 04:36:37 +00:00