]> granicus.if.org Git - postgis/log
postgis
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

23 years agoAdded plpgsql functions AddGeometryColumn() and DeleteGeometryColumn().
David Blasby [Tue, 31 Jul 2001 19:11:26 +0000 (19:11 +0000)]
Added plpgsql functions AddGeometryColumn() and DeleteGeometryColumn().

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

23 years agoStarting to integrate all the SRIDs into functions that create geometries or
David Blasby [Mon, 30 Jul 2001 17:29:33 +0000 (17:29 +0000)]
Starting to integrate all the SRIDs into functions that create geometries or
use two geometries.  Throws error if try to compare geometries with different
SRIDs.

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

23 years agoOoops, back to shp2pgsql as the target (dummy target)
Paul Ramsey [Mon, 30 Jul 2001 16:41:23 +0000 (16:41 +0000)]
Ooops, back to shp2pgsql as the target (dummy target)

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

23 years agoRenamed loader target to 'loader'.
Paul Ramsey [Mon, 30 Jul 2001 16:31:00 +0000 (16:31 +0000)]
Renamed loader target to 'loader'.

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

23 years agoAdded a line to automatically make shp2pgsql with 'all'
Paul Ramsey [Mon, 30 Jul 2001 16:27:11 +0000 (16:27 +0000)]
Added a line to automatically make shp2pgsql with 'all'

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

23 years agoAdded section on upgrading.
Paul Ramsey [Sun, 29 Jul 2001 17:18:47 +0000 (17:18 +0000)]
Added section on upgrading.

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

23 years agoAnd one last time, this time for real, fixing the install location.
Paul Ramsey [Thu, 26 Jul 2001 17:41:03 +0000 (17:41 +0000)]
And one last time, this time for real, fixing the install location.

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

23 years agoChanged back to libdir for the install path
Paul Ramsey [Thu, 26 Jul 2001 17:37:56 +0000 (17:37 +0000)]
Changed back to libdir for the install path

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

23 years agoUpdated minor version number to 5
Paul Ramsey [Thu, 26 Jul 2001 17:22:16 +0000 (17:22 +0000)]
Updated minor version number to 5

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

23 years agoadded expand_bbox(bbox,double) for easier searching.
David Blasby [Tue, 24 Jul 2001 20:37:29 +0000 (20:37 +0000)]
added expand_bbox(bbox,double) for easier searching.

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

23 years agominor change to distance(geom,geom) for stability
David Blasby [Tue, 24 Jul 2001 20:18:50 +0000 (20:18 +0000)]
minor change to distance(geom,geom) for stability

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

23 years agoadded distance(geometry,geometry) and support functions
David Blasby [Tue, 24 Jul 2001 20:12:10 +0000 (20:12 +0000)]
added distance(geometry,geometry) and support functions

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

23 years agoApply Norman Vine's Cygwin fix for the loader to compile
Paul Ramsey [Mon, 23 Jul 2001 22:53:40 +0000 (22:53 +0000)]
Apply Norman Vine's Cygwin fix for the loader to compile

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

23 years agoFix error in shp2pgsql section.
Paul Ramsey [Sun, 22 Jul 2001 19:00:35 +0000 (19:00 +0000)]
Fix error in shp2pgsql section.

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

23 years agoAdded lines for 0.2 and 0.5
Paul Ramsey [Sat, 21 Jul 2001 00:43:33 +0000 (00:43 +0000)]
Added lines for 0.2 and 0.5

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

23 years agoFixes to single-point-line problem.
David Blasby [Sat, 21 Jul 2001 00:16:38 +0000 (00:16 +0000)]
Fixes to single-point-line problem.

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

23 years agoUpdates for 0.5 release.
Paul Ramsey [Sat, 21 Jul 2001 00:02:08 +0000 (00:02 +0000)]
Updates for 0.5 release.

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

23 years agoEntered 0.5 change list
Paul Ramsey [Fri, 20 Jul 2001 23:49:49 +0000 (23:49 +0000)]
Entered 0.5 change list

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

23 years agoFirst version.
Paul Ramsey [Fri, 20 Jul 2001 23:40:16 +0000 (23:40 +0000)]
First version.

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

23 years agoChange version numbers
Paul Ramsey [Fri, 20 Jul 2001 23:27:21 +0000 (23:27 +0000)]
Change version numbers

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

23 years agoUpdated to include all new functions and features since release 0.2
Paul Ramsey [Fri, 20 Jul 2001 23:26:09 +0000 (23:26 +0000)]
Updated to include all new functions and features since release 0.2

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

23 years agoDumper changes.
David Blasby [Fri, 20 Jul 2001 18:48:28 +0000 (18:48 +0000)]
Dumper changes.

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

23 years agoSpelling error in makefile.
Paul Ramsey [Fri, 20 Jul 2001 18:24:25 +0000 (18:24 +0000)]
Spelling error in makefile.

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

23 years agoFixed dos2unix problem.
Paul Ramsey [Fri, 20 Jul 2001 18:23:53 +0000 (18:23 +0000)]
Fixed dos2unix problem.

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

23 years agoAdded newlines after each begin directive.
Paul Ramsey [Fri, 20 Jul 2001 18:21:00 +0000 (18:21 +0000)]
Added newlines after each begin directive.

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

23 years agoAdded -dump option to produce pg_dump format output. Minor fixes.
David Blasby [Fri, 20 Jul 2001 16:10:00 +0000 (16:10 +0000)]
Added -dump option to produce pg_dump format output.  Minor fixes.

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

23 years agoHopefully fixed PGSQL_SRC environment variable test.
Paul Ramsey [Fri, 20 Jul 2001 15:25:09 +0000 (15:25 +0000)]
Hopefully fixed PGSQL_SRC environment variable test.

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

23 years agoAdded function:
David Blasby [Wed, 18 Jul 2001 22:17:34 +0000 (22:17 +0000)]
Added function:
point_inside_circle(geometry, Px, Py, d)
        - returns true if there is a point in geometry whose distance to
(Px,Py) is < d

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

23 years agoChanged loader name to shp2pgsql
Paul Ramsey [Wed, 18 Jul 2001 21:45:46 +0000 (21:45 +0000)]
Changed loader name to shp2pgsql

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

23 years agoInitial add of the data loader code.
Paul Ramsey [Wed, 18 Jul 2001 21:42:12 +0000 (21:42 +0000)]
Initial add of the data loader code.

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

23 years agoAdded a 'make clean' directive.
Paul Ramsey [Mon, 16 Jul 2001 16:53:31 +0000 (16:53 +0000)]
Added a 'make clean' directive.

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

23 years agoFixed bug: must ALWAYS copy input data - never modify it in place. If you
David Blasby [Fri, 29 Jun 2001 22:32:53 +0000 (22:32 +0000)]
Fixed bug: must ALWAYS copy input data - never modify it in place.  If you
do, it'll (unexpectly) update the database.

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

23 years agoFix typo in box3d
David Blasby [Fri, 29 Jun 2001 00:08:32 +0000 (00:08 +0000)]
Fix typo in box3d

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

23 years agoAdded force_collection(geometry)
David Blasby [Thu, 28 Jun 2001 23:53:54 +0000 (23:53 +0000)]
Added force_collection(geometry)

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

23 years agoconverting a GEOMETRYCOLLECTION to wkb had the size of the wkb off by 9
David Blasby [Thu, 28 Jun 2001 17:52:15 +0000 (17:52 +0000)]
converting a GEOMETRYCOLLECTION to wkb had the size of the wkb off by 9
bytes (size of the collection header).  Fixed.

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

23 years ago*** empty log message ***
David Blasby [Wed, 27 Jun 2001 21:43:52 +0000 (21:43 +0000)]
*** empty log message ***

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

23 years agoInitial version of Projection support (currently limited to ellipsoids).
David Blasby [Wed, 27 Jun 2001 17:28:50 +0000 (17:28 +0000)]
Initial version of Projection support (currently limited to ellipsoids).

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

23 years agoBuilding in non-standard location now requires the PGSQL_SRC environment
Paul Ramsey [Tue, 26 Jun 2001 23:57:10 +0000 (23:57 +0000)]
Building in non-standard location now requires the PGSQL_SRC environment
variable to be set and installs in the build location.

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

23 years agoAdded OGIS support functions and basic constructors.
David Blasby [Tue, 26 Jun 2001 18:33:40 +0000 (18:33 +0000)]
Added OGIS support functions and basic constructors.

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

23 years agoAltered to point local development library path at right place.
David Blasby [Fri, 22 Jun 2001 18:13:56 +0000 (18:13 +0000)]
Altered to point local development library path at right place.

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

23 years agoInitial revision
No Body [Fri, 22 Jun 2001 17:39:29 +0000 (17:39 +0000)]
Initial revision

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

23 years agoNew repository initialized by cvs2svn.
No Body [Fri, 22 Jun 2001 17:39:29 +0000 (17:39 +0000)]
New repository initialized by cvs2svn.

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