]> granicus.if.org Git - postgis/log
postgis
22 years agoAdd commenting to indicate the coordinate system of each insert line in
Paul Ramsey [Sat, 4 May 2002 22:44:55 +0000 (22:44 +0000)]
Add commenting to indicate the coordinate system of each insert line in
a human readable form.

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

22 years agoUpdate shapelib references to 1.2.9.
Paul Ramsey [Sat, 4 May 2002 22:44:04 +0000 (22:44 +0000)]
Update shapelib references to 1.2.9.

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

22 years agoAdded an "install" target which installs shp2pgsql and pgsql2shp in the
Paul Ramsey [Sat, 4 May 2002 20:30:17 +0000 (20:30 +0000)]
Added an "install" target which installs shp2pgsql and pgsql2shp in the
default pgsql bin directory.

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

22 years agoChanged WANT_PROJECTION flag to USE_PROJ to match other Makefile defines.
Paul Ramsey [Sat, 4 May 2002 20:29:31 +0000 (20:29 +0000)]
Changed WANT_PROJECTION flag to USE_PROJ to match other Makefile defines.

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

22 years agoAdded GeomFromText alias to GeometryFromText since the former is in the
Paul Ramsey [Sat, 4 May 2002 20:28:44 +0000 (20:28 +0000)]
Added GeomFromText alias to GeometryFromText since the former is in the
SFSQL spec and the latter is not.

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

22 years agoStart of 0.7 documenation edits.
Paul Ramsey [Fri, 3 May 2002 03:14:19 +0000 (03:14 +0000)]
Start of 0.7 documenation edits.

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

22 years agotransform_geom() - if it gets and error -38 from PROJ.4 (couldnt open
David Blasby [Thu, 2 May 2002 22:25:01 +0000 (22:25 +0000)]
transform_geom() - if it gets and error -38 from PROJ.4 (couldnt open
                   grid file) it will try to do the transform without a
                   a datum conversion.  This usually occurs if you ask
                   for a re-projection for a point outside where you have
                   grid data for.

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

22 years agoBetter error reporting.
David Blasby [Tue, 30 Apr 2002 23:37:47 +0000 (23:37 +0000)]
Better error reporting.

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

22 years agoAdded some debugging to transform.
David Blasby [Tue, 30 Apr 2002 23:20:53 +0000 (23:20 +0000)]
Added some debugging to transform.

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

22 years agoAdded distance_ellipsiod(point,point,ellipsoid)
David Blasby [Mon, 29 Apr 2002 17:23:23 +0000 (17:23 +0000)]
Added distance_ellipsiod(point,point,ellipsoid)
 (called distance_spheroid in SQL)

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

22 years ago- cut the gist indexing-related functions out of postgis_ops.c and put them in postgi...
Chris Hodgson [Fri, 26 Apr 2002 22:50:06 +0000 (22:50 +0000)]
- cut the gist indexing-related functions out of postgis_ops.c and put them in postgis_gist.c, then put the new gist indexing functions for postgres >= 7.2 in the file postgis_gist_72

- similarly, the sql definitions of the gist functions have been split into their own new sql.in file, with postgis_gist_72.sql.in containing the new postgres >= 7.2 definitions

- the makefile has been updated to compile EITHER postgis_gist.c OR postgis_gist_72.c, and also to process EITHER postgis_gist.sql.in OR postgis_gist_72.sql and add the output to the end of postgis.sql

- in order to compile the gist functions for posgres 7.2 or newer, make sure to point your PGSQL_SRC at the new source directory, and uncomment the line in the makefile which says PG72 = 1 (near the top)

- some functions that were previously in postgis_ops.c were moved to postgis_fn.c, as part of a general cleanup I did when splitting off the gist functions into their own file

- some definitions that were previously in postgis.h (unnecessarily) where removed, as they varied depending on which version of postgis_gist was being used

- also edited the loader/Makefile to clean up properly

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

22 years agoColumn name length limitation removed. Patch submitted by Bernhard
Paul Ramsey [Fri, 26 Apr 2002 16:13:33 +0000 (16:13 +0000)]
Column name length limitation removed. Patch submitted by Bernhard
Reiter <bernhard@intevation.de>

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

22 years agoXML syntax error.
Paul Ramsey [Tue, 23 Apr 2002 17:02:00 +0000 (17:02 +0000)]
XML syntax error.

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

22 years agoRemoved the CREATE INDEX statement since there is already a primary
Paul Ramsey [Fri, 19 Apr 2002 18:20:42 +0000 (18:20 +0000)]
Removed the CREATE INDEX statement since there is already a primary
key index.

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

22 years agoAdded PROJ4 entries to all relevant rows, altered the auth_name to
Paul Ramsey [Fri, 19 Apr 2002 18:15:30 +0000 (18:15 +0000)]
Added PROJ4 entries to all relevant rows, altered the auth_name to
be EPSG for those IDs which originated from the EPSG.

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

22 years agoPatches to bring example up to current version in terms of SQL access
Paul Ramsey [Fri, 19 Apr 2002 15:14:17 +0000 (15:14 +0000)]
Patches to bring example up to current version in terms of SQL access
and to stop silly bug in missing table case. Submitted by
Steffen Macke <sdteffen@web.de>

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

22 years agofixed bug that allowed two field names to be the same in shp2psql, we are now checkin...
Jeff Lounsbury [Mon, 15 Apr 2002 22:38:37 +0000 (22:38 +0000)]
fixed bug that allowed two field names to be the same in shp2psql, we are now checking for that.

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

22 years agochanged postgis_Version() to return type text, not type char.
David Blasby [Tue, 26 Mar 2002 23:46:29 +0000 (23:46 +0000)]
changed postgis_Version() to return type text, not type char.

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

22 years agoMinor syntax changes in commenting.
Paul Ramsey [Mon, 25 Mar 2002 22:20:50 +0000 (22:20 +0000)]
Minor syntax changes in commenting.

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

22 years agoMinor syntactical changes to try and allow compilation on IRIX.
Paul Ramsey [Mon, 25 Mar 2002 02:04:38 +0000 (02:04 +0000)]
Minor syntactical changes to try and allow compilation on IRIX.

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

22 years agoAdded the collect(geometry) function which is an aggregate function that
Chris Hodgson [Fri, 22 Mar 2002 18:42:56 +0000 (18:42 +0000)]
Added the collect(geometry) function which is an aggregate function that
takes a group of geometries and turns them into a geometry collection. For
example, "select collect(roadsgeom) from roadstable group by roadname"
would return one geometrycollection for each unique road name.

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

22 years agoADD xmin(box3d) etc... for box3d's.
David Blasby [Fri, 15 Mar 2002 17:10:49 +0000 (17:10 +0000)]
ADD xmin(box3d) etc... for box3d's.

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

22 years agoadded a warning to the shape dumper when there are no fields in the database.
Jeff Lounsbury [Thu, 14 Mar 2002 19:35:19 +0000 (19:35 +0000)]
added a warning to the shape dumper when there are no fields in the database.

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

22 years agoAlter shp2pgsql in the -d case so that 'DELETE FROM' is used to clear the
Paul Ramsey [Fri, 1 Mar 2002 19:32:24 +0000 (19:32 +0000)]
Alter shp2pgsql in the -d case so that 'DELETE FROM' is used to clear the
'GEOMETRY_COLUMNS' table during table drop instead of DropGeometryColumns.
Patch submitted by Steffen Macke <sdteffen@yahoo.com>.

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

22 years agominor bug in geometry_to_text() for BOX3D only types fixed.
David Blasby [Wed, 27 Feb 2002 00:38:12 +0000 (00:38 +0000)]
minor bug in geometry_to_text() for BOX3D only types fixed.

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

22 years agoBOX3D only geometries now dump as "SRID=x;BOX3D(...)". They are now okay to dump...
David Blasby [Wed, 27 Feb 2002 00:06:08 +0000 (00:06 +0000)]
BOX3D only geometries now dump as "SRID=x;BOX3D(...)".  They are now okay to dump/restore.

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

22 years agofor bbox only geometries, it will dump as "SRID=x;NULL", and on load, it will be...
David Blasby [Tue, 26 Feb 2002 23:46:03 +0000 (23:46 +0000)]
for bbox only geometries, it will dump as "SRID=x;NULL", and on load, it will be NULL.

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

22 years agoPatch to pgsql2shp to allow dumping of tables with more than one geometry
Paul Ramsey [Sat, 23 Feb 2002 19:04:46 +0000 (19:04 +0000)]
Patch to pgsql2shp to allow dumping of tables with more than one geometry
column, and addition of -g option to specific which geometry column to dump.
Submitted by Steffen Macke <sdteffen@yahoo.com>.

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

22 years agoPatch to shp2pgsql.c to properly handle 3D shape files. Submitted
Paul Ramsey [Tue, 19 Feb 2002 16:57:49 +0000 (16:57 +0000)]
Patch to shp2pgsql.c to properly handle 3D shape files. Submitted
by Steffen Macke <sdteffen@yahoo.com>.

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

22 years agominor bug fix
David Blasby [Mon, 18 Feb 2002 18:02:37 +0000 (18:02 +0000)]
minor bug fix

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

22 years agoAdded TS support function (chip and some non-SFSQL functions)
David Blasby [Mon, 18 Feb 2002 17:02:31 +0000 (17:02 +0000)]
Added TS support function (chip and some non-SFSQL functions)

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

22 years agoFixed syntax error in UPDATE statement.
Paul Ramsey [Wed, 13 Feb 2002 16:50:19 +0000 (16:50 +0000)]
Fixed syntax error in UPDATE statement.

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

23 years agobetter "no proj4" support addded
David Blasby [Fri, 11 Jan 2002 16:58:34 +0000 (16:58 +0000)]
better "no proj4" support addded

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

23 years agoFixed dumb error in POINT syntax example.
Paul Ramsey [Tue, 8 Jan 2002 16:55:42 +0000 (16:55 +0000)]
Fixed dumb error in POINT syntax example.

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

23 years agoOrder changes to avoid conflicts.
David Blasby [Mon, 7 Jan 2002 21:07:24 +0000 (21:07 +0000)]
Order changes to avoid conflicts.

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

23 years agoAdded max_distance(l1,l2) function
David Blasby [Thu, 3 Jan 2002 23:31:44 +0000 (23:31 +0000)]
Added max_distance(l1,l2) function

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

23 years agoCoordinate transformation function, transform() added in this file.
David Blasby [Fri, 21 Dec 2001 23:01:35 +0000 (23:01 +0000)]
Coordinate transformation function, transform() added in this file.
Adds requirement for linking the proj4 library if non-null version of
function is requested.

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

23 years agoDoco changes to reflect use of 'createlang' as default language creator.
Paul Ramsey [Fri, 21 Dec 2001 19:44:57 +0000 (19:44 +0000)]
Doco changes to reflect use of 'createlang' as default language creator.

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

23 years agoAdded to achive (no code)
David Blasby [Tue, 18 Dec 2001 22:28:15 +0000 (22:28 +0000)]
Added to achive (no code)

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

23 years agochanged setSRID(chip and geometry, int) so its cachable
David Blasby [Wed, 12 Dec 2001 22:21:59 +0000 (22:21 +0000)]
changed setSRID(chip and geometry, int) so its cachable

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

23 years agoMade setSRID cachable
David Blasby [Wed, 12 Dec 2001 22:19:29 +0000 (22:19 +0000)]
Made setSRID cachable

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

23 years agoChip now handles data with different datasizes (datum_size)
David Blasby [Wed, 21 Nov 2001 19:39:09 +0000 (19:39 +0000)]
Chip now handles data with different datasizes (datum_size)

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

23 years agoFix error in sentence about OGC support.
Paul Ramsey [Mon, 19 Nov 2001 17:25:57 +0000 (17:25 +0000)]
Fix error in sentence about OGC support.

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

23 years agoAdded dates to changelog *yawn*
Paul Ramsey [Wed, 7 Nov 2001 19:35:31 +0000 (19:35 +0000)]
Added dates to changelog *yawn*

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

23 years agoAdded 0.6.2 changes.
Paul Ramsey [Wed, 7 Nov 2001 17:25:32 +0000 (17:25 +0000)]
Added 0.6.2 changes.

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

23 years agoFixed the 'free memory that didn't exist problem' from newsgroup feedback
Jeff Lounsbury [Tue, 6 Nov 2001 23:03:49 +0000 (23:03 +0000)]
Fixed the 'free memory that didn't exist problem' from newsgroup feedback

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

23 years agoNew CHIP type
David Blasby [Fri, 2 Nov 2001 23:04:34 +0000 (23:04 +0000)]
New CHIP type

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

23 years agoAdded CHIP info
David Blasby [Fri, 2 Nov 2001 23:00:15 +0000 (23:00 +0000)]
Added CHIP info

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

23 years agoAdded README to files installed by default
Paul Ramsey [Fri, 2 Nov 2001 00:28:18 +0000 (00:28 +0000)]
Added README to files installed by default

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

23 years agoUpdated shapelib files from latest CVS version.
Paul Ramsey [Thu, 1 Nov 2001 22:57:11 +0000 (22:57 +0000)]
Updated shapelib files from latest CVS version.

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

23 years agoAdded spatial_ref_sys.sql to the installed files for 'make install'
Paul Ramsey [Wed, 31 Oct 2001 22:18:32 +0000 (22:18 +0000)]
Added spatial_ref_sys.sql to the installed files for 'make install'

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

23 years agoAdded some line commenting to make names more readable.
Paul Ramsey [Tue, 30 Oct 2001 19:52:43 +0000 (19:52 +0000)]
Added some line commenting to make names more readable.

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

23 years agoMore spelling fixes, this time with ispell! :)
Paul Ramsey [Tue, 30 Oct 2001 19:47:43 +0000 (19:47 +0000)]
More spelling fixes, this time with ispell! :)

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

23 years agoFix spelling mistake.
Paul Ramsey [Tue, 30 Oct 2001 19:43:03 +0000 (19:43 +0000)]
Fix spelling mistake.

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

23 years agofixed a bug which made the last column value in the dbf file loading
Jeff Lounsbury [Mon, 29 Oct 2001 17:52:37 +0000 (17:52 +0000)]
fixed a bug which made the last column value in the dbf file loading
incorrect if you were using Dump format.

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

23 years agoAdded N.Vines changes to Makefile for better compilation under cygwin.
Paul Ramsey [Fri, 26 Oct 2001 17:04:54 +0000 (17:04 +0000)]
Added N.Vines changes to Makefile for better compilation under cygwin.

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

23 years agoFixed documentation error with respect to box3d
Paul Ramsey [Fri, 26 Oct 2001 16:30:27 +0000 (16:30 +0000)]
Fixed documentation error with respect to box3d

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

23 years agoFixed but in WKB out - wkb_multi* didnt set the 'size' return value.
David Blasby [Thu, 25 Oct 2001 18:22:03 +0000 (18:22 +0000)]
Fixed but in WKB out - wkb_multi* didnt set the 'size' return value.

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

23 years agoFile with all the ESRI standard ID codes, with corresponding WKT
Paul Ramsey [Wed, 24 Oct 2001 20:56:12 +0000 (20:56 +0000)]
File with all the ESRI standard ID codes, with corresponding WKT
definitions, for loading into the SPATIAL_REF_SYS table.

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

23 years agoSweet mary, mother of god, getopt.c was a mess! Cleaned out HTML entities
Paul Ramsey [Wed, 24 Oct 2001 20:42:04 +0000 (20:42 +0000)]
Sweet mary, mother of god, getopt.c was a mess! Cleaned out HTML entities
and added stdio.h include. Works better now.

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

23 years agofixed a bug in shp2pgsqkl that allocated way too much memory in polygon files.
Jeff Lounsbury [Tue, 23 Oct 2001 23:41:32 +0000 (23:41 +0000)]
fixed a bug in shp2pgsqkl that allocated way too much memory in polygon files.

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

23 years agoStandard GNU option handling.
Jeff Lounsbury [Mon, 22 Oct 2001 20:13:29 +0000 (20:13 +0000)]
Standard GNU option handling.

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

23 years agoModified both loader/dumper to use gnu getopt.c instead of standar one
Jeff Lounsbury [Mon, 22 Oct 2001 20:12:21 +0000 (20:12 +0000)]
Modified both loader/dumper to use gnu getopt.c instead of standar one
since getopt was not the same on solaris and linux.

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

23 years agopostgis_undef.sql is now automatically generated from postgis.sql so
Paul Ramsey [Thu, 18 Oct 2001 17:52:41 +0000 (17:52 +0000)]
postgis_undef.sql is now automatically generated from postgis.sql so
no longer part of source code distribution

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

23 years agoAdded lines to automatically create postgis_undef.sql from
Paul Ramsey [Thu, 18 Oct 2001 17:51:55 +0000 (17:51 +0000)]
Added lines to automatically create postgis_undef.sql from
postgis.sql using create_undef.pl as part of standard build
process.

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

23 years agocreate_undef.pl changed to reove the 2 meta-info tables (spatial_ref_sys and geometry...
David Blasby [Thu, 18 Oct 2001 16:39:44 +0000 (16:39 +0000)]
create_undef.pl changed to reove the 2 meta-info tables (spatial_ref_sys and geometry_columns).

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

23 years agoUpdated style.css to match new website.
Paul Ramsey [Wed, 17 Oct 2001 23:13:11 +0000 (23:13 +0000)]
Updated style.css to match new website.

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

23 years ago0.6.1 changes
Paul Ramsey [Mon, 15 Oct 2001 18:07:12 +0000 (18:07 +0000)]
0.6.1 changes

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

23 years agoUsage documentation changes.
Paul Ramsey [Mon, 15 Oct 2001 17:42:27 +0000 (17:42 +0000)]
Usage documentation changes.

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

23 years agoAdded line break ot usage.
Paul Ramsey [Thu, 11 Oct 2001 18:35:38 +0000 (18:35 +0000)]
Added line break ot usage.

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

23 years agoMade usage line more friendly for 80 column displays.
Paul Ramsey [Thu, 11 Oct 2001 18:34:19 +0000 (18:34 +0000)]
Made usage line more friendly for 80 column displays.

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

23 years agoEdited the usage log to by nicer to 80 column displays
Paul Ramsey [Thu, 11 Oct 2001 18:26:51 +0000 (18:26 +0000)]
Edited the usage log to by nicer to 80 column displays

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

23 years agoFixed some errors and warning that caused it not to compile under linux
Jeff Lounsbury [Thu, 11 Oct 2001 18:07:33 +0000 (18:07 +0000)]
Fixed some errors and warning that caused it not to compile under linux

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

23 years agoModified the .c files slightly to get rid of some warnings.
Jeff Lounsbury [Thu, 11 Oct 2001 17:15:50 +0000 (17:15 +0000)]
Modified the .c files slightly to get rid of some warnings.

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

23 years agoModified the pgsql2shp file to use getopt to parse the arguments.
Jeff Lounsbury [Thu, 4 Oct 2001 18:53:33 +0000 (18:53 +0000)]
Modified the pgsql2shp file to use getopt to parse the arguments.
Modified the Readme file accordingly to the new command line usages.

automatically CVS:  CVS: Committing in . CVS:  CVS: Modified Files: CVS:  postgis/loader/README.pgsql2shp postgis/loader/pgsql2shp.c

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

23 years agoModified the program to use getopt topion parsing.
Jeff Lounsbury [Mon, 1 Oct 2001 19:33:05 +0000 (19:33 +0000)]
Modified the program to use getopt topion parsing.

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

23 years agoModified this file to dynamically detemine the name of the geometry column
Jeff Lounsbury [Thu, 20 Sep 2001 18:14:43 +0000 (18:14 +0000)]
Modified this file to dynamically detemine the name of the geometry column
instead of using the default one the loader assigns.

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

23 years agoRemoved index-based extent() support functions in postgis_debug.c due to
David Blasby [Thu, 20 Sep 2001 16:08:04 +0000 (16:08 +0000)]
Removed index-based extent() support functions in postgis_debug.c due to
compile errors reported under cygwin.

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

23 years agoUpdated to provide usage information for the dumper.
Paul Ramsey [Wed, 19 Sep 2001 23:03:13 +0000 (23:03 +0000)]
Updated to provide usage information for the dumper.

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

23 years agoSplit the loader README into two readmes, one for loader and one for
Paul Ramsey [Wed, 19 Sep 2001 22:59:21 +0000 (22:59 +0000)]
Split the loader README into two readmes, one for loader and one for
dumper.

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

23 years agoMakefile changes in preparation for 0.6 release.
Paul Ramsey [Wed, 19 Sep 2001 19:01:38 +0000 (19:01 +0000)]
Makefile changes in preparation for 0.6 release.
Documentation fiddling for final format.

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

23 years agoChanges and additions necessary to include pgsql2shp
Paul Ramsey [Wed, 19 Sep 2001 18:47:32 +0000 (18:47 +0000)]
Changes and additions necessary to include pgsql2shp

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

23 years agoAdditions for the 0.6 release.
Paul Ramsey [Wed, 19 Sep 2001 18:00:24 +0000 (18:00 +0000)]
Additions for the 0.6 release.

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

23 years agoUpdates to the documentation (new functions, 0.6 special info, mapserver
Paul Ramsey [Tue, 18 Sep 2001 01:34:02 +0000 (01:34 +0000)]
Updates to the documentation (new functions, 0.6 special info, mapserver
info). Other release-specific updates in CHANGES, README, TODO to give
info on the new code.

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

23 years agoFixed a stupid debugging error that would cause all things to be treated as 3d points.
Jeff Lounsbury [Mon, 17 Sep 2001 21:24:01 +0000 (21:24 +0000)]
Fixed a stupid debugging error that would cause all things to be treated as 3d points.

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

23 years agoMakefile changes:
Jeff Lounsbury [Mon, 17 Sep 2001 21:00:31 +0000 (21:00 +0000)]
Makefile changes:
   I added an option in the makefile to add debugging information into the compile.

shp2psql.c
   Modified this program so that it works with the new specs of version 0.6 , sr_id's etc.
   Also added a command line option to specify the sr_id.

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

23 years agoAdded workaround for PostgreSQL's user defined VARIABLE length datatype default value bug
David Blasby [Tue, 4 Sep 2001 19:41:45 +0000 (19:41 +0000)]
Added workaround for PostgreSQL's user defined VARIABLE length datatype default value bug

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

23 years agoAdded support to make WKB a full type.
David Blasby [Tue, 4 Sep 2001 19:30:12 +0000 (19:30 +0000)]
Added support to make WKB a full type.

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

23 years agoTypo in SQL example fixed.
Paul Ramsey [Thu, 30 Aug 2001 22:24:17 +0000 (22:24 +0000)]
Typo in SQL example fixed.

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

23 years agogeometry(text) function safer with null text fields.
David Blasby [Fri, 24 Aug 2001 21:11:10 +0000 (21:11 +0000)]
geometry(text) function safer with null text fields.

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

23 years agoadded geometry(text) conversion function
David Blasby [Fri, 24 Aug 2001 21:02:11 +0000 (21:02 +0000)]
added geometry(text) conversion function

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

23 years agoAdded support for better restrictivity of && searches.
David Blasby [Tue, 14 Aug 2001 22:15:59 +0000 (22:15 +0000)]
Added support for better restrictivity of && searches.
Defaulted to 0.005 (in backend/utils/adt/geo_selfuncs.c) - I've changed it
to be much smaller.  This should work for everything but really really
large tables.

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

23 years agoFixed type in index description.
Paul Ramsey [Fri, 10 Aug 2001 02:21:26 +0000 (02:21 +0000)]
Fixed type in index description.

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

23 years agoAdded a -C option for the shp2pgsql compile
Paul Ramsey [Wed, 8 Aug 2001 22:10:57 +0000 (22:10 +0000)]
Added a -C option for the shp2pgsql compile

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

23 years agoAdded new undef.sql file and perl file to generate it.
David Blasby [Wed, 8 Aug 2001 21:54:15 +0000 (21:54 +0000)]
Added new undef.sql file and perl file to generate it.

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

23 years agoAdded new perl function to make an undef SQL script.
David Blasby [Wed, 8 Aug 2001 21:49:06 +0000 (21:49 +0000)]
Added new perl function to make an undef SQL script.

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

23 years agoMade OGIS type numbers final per request from James MacGill @ Leeds
Paul Ramsey [Wed, 8 Aug 2001 05:25:10 +0000 (05:25 +0000)]
Made OGIS type numbers final per request from James MacGill @ Leeds

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

23 years agoThis file is superceded by the Makefile.
Paul Ramsey [Tue, 7 Aug 2001 21:36:08 +0000 (21:36 +0000)]
This file is superceded by the Makefile.

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

23 years agoThis binary should not have been in CVS.
Paul Ramsey [Tue, 7 Aug 2001 21:35:22 +0000 (21:35 +0000)]
This binary should not have been in CVS.

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

23 years agoAdded more openGIS functions:
David Blasby [Thu, 2 Aug 2001 16:50:24 +0000 (16:50 +0000)]
Added more openGIS functions:
Length2d() is renamed length()
perimeter2d() is renamed to perimeter()

numgeometries(geometry) works on MULTI* types
geometryn(geometry) works on MULTI* types

from section 2.1.5.1
--------------------
startpoint(geometry) :- if geometry is a linestring, return the first
point.  Otherwise, return NULL.

endpoint(geometry) :- if geometry is a linestring, return the last
point.  Otherwise, return NULL.

from section 2.1.9.1/3.2.18.2
--------------------

centroid(geometry) :- if geometry is a polygon (or multipolygon), return
the mathematical centroid (no guaranteed to be on polygon), otherwise
return NULL. I define centroid as the average location of all the points
in the polygon (outer ring only).  For multipolygons, average all the
points on all the outer rings.

from section 3.2.12.2/3.2.17.2
---------------------
isclosed(geometry) :- if geometry is a linestring then returns
startpoint == endpoint.  If its not a linestring then return NULL.  If
its a multilinestring, return true only if all the sub-linestrings have
startpoint=endpoint.

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