]> granicus.if.org Git - postgis/log
postgis
22 years agoOriginal OpenGIS test suite files. To be edited to conform to
Paul Ramsey [Sun, 1 Dec 2002 05:59:31 +0000 (05:59 +0000)]
Original OpenGIS test suite files. To be edited to conform to
PostGIS syntax where legal.

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

22 years agoChanged references to 'make' into macro references to MAKE
Paul Ramsey [Tue, 26 Nov 2002 03:59:16 +0000 (03:59 +0000)]
Changed references to 'make' into macro references to MAKE

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

22 years agochanged the title of the new section from "Mapserver" to "Using Mapserver"
Chris Hodgson [Fri, 22 Nov 2002 21:25:43 +0000 (21:25 +0000)]
changed the title of the new section from "Mapserver" to "Using Mapserver"

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

22 years agoadded more advanced mapserver documentation, and separated mapserver into its own...
Chris Hodgson [Fri, 22 Nov 2002 21:22:22 +0000 (21:22 +0000)]
added more advanced mapserver documentation, and separated mapserver into its own section of the documentation

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

22 years agoNon-compiled in transform() returns error instead of nop.
David Blasby [Fri, 22 Nov 2002 17:38:29 +0000 (17:38 +0000)]
Non-compiled in transform() returns error instead of nop.

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

22 years agore-formatted the xml doc and added a bit about complex queries (still lots more to...
Chris Hodgson [Wed, 20 Nov 2002 21:32:12 +0000 (21:32 +0000)]
re-formatted the xml doc and added a bit about complex queries (still lots more to come on that topic)

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

22 years agoadded support for clockwise-ness in shp dumper
Jeff Lounsbury [Wed, 6 Nov 2002 23:55:44 +0000 (23:55 +0000)]
added support for clockwise-ness in shp dumper

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

22 years agoRemoved debugging connstring print.
Paul Ramsey [Mon, 4 Nov 2002 21:21:43 +0000 (21:21 +0000)]
Removed debugging connstring print.

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

22 years agoNow accepts both types of multipoint - 'MULTIPOINT(0 0, 1 1)'::geometry and
David Blasby [Fri, 25 Oct 2002 16:13:18 +0000 (16:13 +0000)]
Now accepts both types of multipoint - 'MULTIPOINT(0 0, 1 1)'::geometry and
'MULTIPOINT( (0 0), (1 1))'::geometry;

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

22 years agoAdded PGbox3d accessors for LLB and URB. Added PGgeometry update to
Paul Ramsey [Thu, 24 Oct 2002 15:53:42 +0000 (15:53 +0000)]
Added PGbox3d accessors for LLB and URB. Added PGgeometry update to
account for SRIDs when they are present in the WKT. Submitted by
Rueben Schultz.

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

22 years agofixed the last compile warning on solaris/gcc
Chris Hodgson [Thu, 17 Oct 2002 17:06:39 +0000 (17:06 +0000)]
fixed the last compile warning on solaris/gcc

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

22 years ago- cleaned up all the compiler warnings
Chris Hodgson [Thu, 17 Oct 2002 16:45:04 +0000 (16:45 +0000)]
- cleaned up all the compiler warnings
- for getopt.c, this involved moving the line:
      extern char *getenv(const char *name);
  outside of the two nested #ifdefs that it was inside, as it is always required (the code that calls it isn't inside any #ifdefs) Perhaps this may break compilation in non-linux/gnu environments?

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

22 years agoFixed syntax error in hyperlink to postgis source.
Paul Ramsey [Wed, 16 Oct 2002 23:48:07 +0000 (23:48 +0000)]
Fixed syntax error in hyperlink to postgis source.

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

22 years agoAdded support to turn off the postgis_gist_sel() computations (see Makefile).
David Blasby [Wed, 16 Oct 2002 20:33:45 +0000 (20:33 +0000)]
Added support to turn off the postgis_gist_sel() computations (see Makefile).

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

22 years agoAdded USE_STATS switch to make the new statistics system optional.
Paul Ramsey [Wed, 16 Oct 2002 17:27:11 +0000 (17:27 +0000)]
Added USE_STATS switch to make the new statistics system optional.

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

22 years agomakefile now has both support for auto-determining postgres version and support for...
Chris Hodgson [Wed, 16 Oct 2002 17:06:19 +0000 (17:06 +0000)]
makefile now has both support for auto-determining postgres version and support for the new histogram2d stuff

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

22 years agoNew file with original estimation methods.
David Blasby [Fri, 11 Oct 2002 22:52:31 +0000 (22:52 +0000)]
New file with original estimation methods.

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

22 years agoAdded support for histogram2d and better statistical analysis.
David Blasby [Fri, 11 Oct 2002 22:52:06 +0000 (22:52 +0000)]
Added support for histogram2d and better statistical analysis.

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

22 years agofixed the errors in the error fix i had just committed...
Jeff Lounsbury [Fri, 11 Oct 2002 20:22:57 +0000 (20:22 +0000)]
fixed the errors in the error fix i had just committed...

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

22 years agoFixed a bug from adding NULL support to shape dumper
Jeff Lounsbury [Fri, 11 Oct 2002 20:10:29 +0000 (20:10 +0000)]
Fixed a bug from adding NULL support to shape dumper

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

22 years agoadded support to write out null geometries to polygon, multipolygon, arc, and multiar...
Jeff Lounsbury [Thu, 10 Oct 2002 17:32:00 +0000 (17:32 +0000)]
added support to write out null geometries to polygon, multipolygon, arc, and multiarcs...

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

22 years agoAdded support to write out Null geometries to point and mulitpoints
Jeff Lounsbury [Thu, 10 Oct 2002 17:11:30 +0000 (17:11 +0000)]
Added support to write out Null geometries to point and mulitpoints

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

22 years ago- fixed a bug in box3d_overleft which would likely go unnoticed
Chris Hodgson [Thu, 10 Oct 2002 17:00:40 +0000 (17:00 +0000)]
- fixed a bug in box3d_overleft which would likely go unnoticed
- fixed the docs for &<, &>, <<, and >> which were backwards

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

22 years agoFixed complier complaint reported by Mark Sutton <mes@lazo.ca>.
David Blasby [Fri, 20 Sep 2002 18:05:57 +0000 (18:05 +0000)]
Fixed complier complaint reported by Mark Sutton <mes@lazo.ca>.

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

22 years agoTrivial initialization bug, forget to set dimension.
Paul Ramsey [Fri, 6 Sep 2002 20:29:50 +0000 (20:29 +0000)]
Trivial initialization bug, forget to set dimension.

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

22 years agoChanges in preparation for 0.7.3 release
Paul Ramsey [Thu, 5 Sep 2002 16:49:23 +0000 (16:49 +0000)]
Changes in preparation for 0.7.3 release

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

22 years agoFixed typo in dropgeometrycolumn() - IS null to =null. This was caused in the
David Blasby [Thu, 5 Sep 2002 16:39:38 +0000 (16:39 +0000)]
Fixed typo in dropgeometrycolumn() - IS null to =null.  This was caused in the
last 'fix'.

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

22 years agoMake 7.2 index test check for version 7.1 and default to 7.2 if not
Paul Ramsey [Thu, 5 Sep 2002 00:07:18 +0000 (00:07 +0000)]
Make 7.2 index test check for version 7.1 and default to 7.2 if not
This is preparatory to the 7.3 pgsql release which uses the sames
GiST bindings as the 7.2 release.

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

22 years agoApplied "Mark Cave-Ayland" <mark.cave-ayland@webbased.co.uk>'s patch so
David Blasby [Wed, 4 Sep 2002 16:55:35 +0000 (16:55 +0000)]
Applied "Mark Cave-Ayland" <mark.cave-ayland@webbased.co.uk>'s patch so
transform() will correctly tranform BBOX only geometries.

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

22 years agoAdded automatic test for version string and setting of USE_PG72 to
Paul Ramsey [Tue, 3 Sep 2002 15:31:39 +0000 (15:31 +0000)]
Added automatic test for version string and setting of USE_PG72 to
appropriate value, as submitted by Greg Stark.

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

22 years agoChanges in preparation for 0.7.2 release.
Paul Ramsey [Sun, 1 Sep 2002 20:04:11 +0000 (20:04 +0000)]
Changes in preparation for 0.7.2 release.

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

22 years agochanged "=NULL" to "is null" for postgresql 7.3 devel issues (as reported
David Blasby [Mon, 19 Aug 2002 16:14:35 +0000 (16:14 +0000)]
changed "=NULL" to "is null" for postgresql 7.3 devel issues (as reported
by  Eric -  redmonde@purdue.edu)

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

22 years agoApplyed "Mark Cave-Ayland" <mark.cave-ayland@webbased.co.uk>'s patch
David Blasby [Fri, 16 Aug 2002 17:58:44 +0000 (17:58 +0000)]
Applyed "Mark Cave-Ayland" <mark.cave-ayland@webbased.co.uk>'s patch
 to the truly_inside() function.  Thanks mark!

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

22 years agoPatch to write null geometries as "\N" in the dump file format case.
Paul Ramsey [Wed, 7 Aug 2002 16:31:27 +0000 (16:31 +0000)]
Patch to write null geometries as "\N" in the dump file format case.
Submitted by Steffen Macke <sdteffen@web.de>

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

22 years agominor correction
Chris Hodgson [Fri, 26 Jul 2002 16:50:02 +0000 (16:50 +0000)]
minor correction

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

22 years agofixes the unwanted quotation of NULLs for the sql insert format. Submitted
Paul Ramsey [Wed, 24 Jul 2002 20:40:59 +0000 (20:40 +0000)]
fixes the unwanted quotation of NULLs for the sql insert format. Submitted
by Steffen Macke.

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

22 years agofixed some formatting errors from my previous addition
Chris Hodgson [Wed, 17 Jul 2002 20:10:12 +0000 (20:10 +0000)]
fixed some formatting errors from my previous addition

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

22 years agoadded a "common problems" sub-section to the "installing postgis" section
Chris Hodgson [Wed, 17 Jul 2002 18:34:10 +0000 (18:34 +0000)]
added a "common problems" sub-section to the "installing postgis" section

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

22 years agoReverted USE_PROJ to 0
Paul Ramsey [Sat, 6 Jul 2002 17:51:34 +0000 (17:51 +0000)]
Reverted USE_PROJ to 0

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

22 years agoPatch from Steffen Macke, NULL attributes are imported as NULL now,
Paul Ramsey [Sat, 6 Jul 2002 15:16:24 +0000 (15:16 +0000)]
Patch from Steffen Macke, NULL attributes are imported as NULL now,
gid field renaming works now (case problem), \ and ' are escaped
and don't break the import

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

22 years agoadded bytea(wkb)
David Blasby [Thu, 4 Jul 2002 23:38:10 +0000 (23:38 +0000)]
added bytea(wkb)

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

22 years agofixed syntax error in reference to pgsql2shp
Paul Ramsey [Wed, 26 Jun 2002 18:34:06 +0000 (18:34 +0000)]
fixed syntax error in reference to pgsql2shp

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

22 years agoCygwin fixes to the install target to provide .exe extensions.
Paul Ramsey [Wed, 26 Jun 2002 18:25:11 +0000 (18:25 +0000)]
Cygwin fixes to the install target to provide .exe extensions.

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

22 years agofixed a bug in pgsql2shp which displayed the total DBF rows written as one less than...
Jeff Lounsbury [Fri, 7 Jun 2002 18:16:55 +0000 (18:16 +0000)]
fixed a bug in pgsql2shp which displayed the total DBF rows written as one less than actually was written.

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

22 years ago- updated the ~ and @ operator definitions in postgis_gist.sql.in so that ~ is contai...
Chris Hodgson [Tue, 28 May 2002 18:01:47 +0000 (18:01 +0000)]
- updated the ~ and @ operator definitions in postgis_gist.sql.in so that ~ is contains and @ is contained (should have been done in the last update, but I forgot)

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

22 years ago- updated the ~ and @ operator definitions in postgis_gist_72.sql.in so that ~ is...
Chris Hodgson [Tue, 28 May 2002 17:59:47 +0000 (17:59 +0000)]
- updated the ~ and @ operator definitions in postgis_gist_72.sql.in so that ~ is contains and @ is contained

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

22 years ago- updated the translate function in postgis_fn.c to translate the bounding box as...
Chris Hodgson [Tue, 28 May 2002 17:54:37 +0000 (17:54 +0000)]
- updated the translate function in postgis_fn.c to translate the bounding box as well, as suggested by Robert Burgholzer

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

22 years agoFixed syntax error in GeometryN defn.
Paul Ramsey [Wed, 22 May 2002 19:29:29 +0000 (19:29 +0000)]
Fixed syntax error in GeometryN defn.

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

22 years agoSet USE_PG72 to 0.
Paul Ramsey [Tue, 14 May 2002 20:50:06 +0000 (20:50 +0000)]
Set USE_PG72 to 0.

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

22 years agoDocumentation updates for 0.7.1 release.
Paul Ramsey [Tue, 14 May 2002 20:47:30 +0000 (20:47 +0000)]
Documentation updates for 0.7.1 release.

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

22 years agoStripped DOS carriage returns from all source code files. Should
Paul Ramsey [Tue, 14 May 2002 20:36:53 +0000 (20:36 +0000)]
Stripped DOS carriage returns from all source code files. Should
fix some compilation problems on some platforms.

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

22 years ago- integrated a bugfix for the rtree_picksplit algorithm from Teodor Sigaev. This...
Chris Hodgson [Tue, 14 May 2002 18:28:07 +0000 (18:28 +0000)]
- integrated a bugfix for the rtree_picksplit algorithm from Teodor Sigaev. This fixes the bug which reports "ERROR: MemoryContextAlloc: invalid request size 0" while building a gist rtree index (first reported by Andy Turk)

- cleaned up some warnings (mostly "possibly unitialized variables")

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

22 years ago- changed add_to_geometry() and collector() so that the sql collect() aggregate retur...
Chris Hodgson [Mon, 6 May 2002 17:35:30 +0000 (17:35 +0000)]
- changed add_to_geometry() and collector() so that the sql collect() aggregate returns the simplest possible geometric type, ie. a MULTIPOINT instead of a GEOMETRYCOLLECTIONwhen all of the geometries being collected are of either POINT or MULTIPOINT type

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

22 years agoFixed mistake in FAQ example on radius searching.
Paul Ramsey [Sat, 4 May 2002 23:08:05 +0000 (23:08 +0000)]
Fixed mistake in FAQ example on radius searching.

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

22 years agoMore docbook changes.
Paul Ramsey [Sat, 4 May 2002 22:52:53 +0000 (22:52 +0000)]
More docbook changes.

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

22 years agoDocbook syntax error changes.
Paul Ramsey [Sat, 4 May 2002 22:51:53 +0000 (22:51 +0000)]
Docbook syntax error changes.

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

22 years agoAdded postgis_undef.sql to make clean target.
Paul Ramsey [Sat, 4 May 2002 22:47:38 +0000 (22:47 +0000)]
Added postgis_undef.sql to make clean target.

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

22 years agoDocumentation updates to go with the 0.7 release. All new functions
Paul Ramsey [Sat, 4 May 2002 22:46:50 +0000 (22:46 +0000)]
Documentation updates to go with the 0.7 release. All new functions
documented, and appropriate changes made to installation and other
directions. New build process for the PG72 indexes and PROJ4 support
added to Makefile.

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

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