Paul Ramsey
9e3b930fb1
More spelling fixes, this time with ispell! :)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@97 b70326c6-7e19-0410-871a-916f4a2858ee
2001-10-30 19:47:43 +00:00
Paul Ramsey
97c2eb2d5e
Fix spelling mistake.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@96 b70326c6-7e19-0410-871a-916f4a2858ee
2001-10-30 19:43:03 +00:00
Jeff Lounsbury
f232a5b37a
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
2001-10-29 17:52:37 +00:00
Paul Ramsey
da1e6a9856
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
2001-10-26 17:04:54 +00:00
Paul Ramsey
09dce7cd99
Fixed documentation error with respect to box3d
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@93 b70326c6-7e19-0410-871a-916f4a2858ee
2001-10-26 16:30:27 +00:00
David Blasby
ae5e7fb49b
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
2001-10-25 18:22:03 +00:00
Paul Ramsey
f70db22a24
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
2001-10-24 20:56:12 +00:00
Paul Ramsey
7f3ed38d4d
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
2001-10-24 20:42:04 +00:00
Jeff Lounsbury
026c666a03
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
2001-10-23 23:41:32 +00:00
Jeff Lounsbury
b3b7058257
Standard GNU option handling.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@88 b70326c6-7e19-0410-871a-916f4a2858ee
2001-10-22 20:13:29 +00:00
Jeff Lounsbury
e1cea42469
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
2001-10-22 20:12:21 +00:00
Paul Ramsey
47d761dda5
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
2001-10-18 17:52:41 +00:00
Paul Ramsey
46860092ee
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
2001-10-18 17:51:55 +00:00
David Blasby
3e0719107f
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
2001-10-18 16:39:44 +00:00
Paul Ramsey
a5cc901472
Updated style.css to match new website.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@83 b70326c6-7e19-0410-871a-916f4a2858ee
2001-10-17 23:13:11 +00:00
Paul Ramsey
ba2b3c3deb
0.6.1 changes
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@81 b70326c6-7e19-0410-871a-916f4a2858ee
2001-10-15 18:07:12 +00:00
Paul Ramsey
2668d89e40
Usage documentation changes.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@80 b70326c6-7e19-0410-871a-916f4a2858ee
2001-10-15 17:42:27 +00:00
Paul Ramsey
1c274d575d
Added line break ot usage.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@79 b70326c6-7e19-0410-871a-916f4a2858ee
2001-10-11 18:35:38 +00:00
Paul Ramsey
565cfc8b5f
Made usage line more friendly for 80 column displays.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@78 b70326c6-7e19-0410-871a-916f4a2858ee
2001-10-11 18:34:19 +00:00
Paul Ramsey
b9083c6e97
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
2001-10-11 18:26:51 +00:00
Jeff Lounsbury
b1a8c84cfd
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
2001-10-11 18:07:33 +00:00
Jeff Lounsbury
080208050d
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
2001-10-11 17:15:50 +00:00
Jeff Lounsbury
4acbccec99
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
2001-10-04 18:53:33 +00:00
Jeff Lounsbury
7f3e371da9
Modified the program to use getopt topion parsing.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@73 b70326c6-7e19-0410-871a-916f4a2858ee
2001-10-01 19:33:05 +00:00
Jeff Lounsbury
efbe5b6165
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
2001-09-20 18:14:43 +00:00
David Blasby
1ce5d85d3e
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
2001-09-20 16:08:04 +00:00
Paul Ramsey
34b91685d8
Updated to provide usage information for the dumper.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@69 b70326c6-7e19-0410-871a-916f4a2858ee
2001-09-19 23:03:13 +00:00
Paul Ramsey
66ec09fdba
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
2001-09-19 22:59:21 +00:00
Paul Ramsey
d420202c00
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
2001-09-19 19:01:38 +00:00
Paul Ramsey
9e5700110f
Changes and additions necessary to include pgsql2shp
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@66 b70326c6-7e19-0410-871a-916f4a2858ee
2001-09-19 18:47:32 +00:00
Paul Ramsey
a08986f832
Additions for the 0.6 release.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@65 b70326c6-7e19-0410-871a-916f4a2858ee
2001-09-19 18:00:24 +00:00
Paul Ramsey
0c1ba88994
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
2001-09-18 01:34:02 +00:00
Jeff Lounsbury
61c901f57f
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
2001-09-17 21:24:01 +00:00
Jeff Lounsbury
47ce08d400
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
2001-09-17 21:00:31 +00:00
David Blasby
977198de51
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
2001-09-04 19:41:45 +00:00
David Blasby
81b33875e4
Added support to make WKB a full type.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@60 b70326c6-7e19-0410-871a-916f4a2858ee
2001-09-04 19:30:12 +00:00
Paul Ramsey
76a87e711b
Typo in SQL example fixed.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@59 b70326c6-7e19-0410-871a-916f4a2858ee
2001-08-30 22:24:17 +00:00
David Blasby
42f7a826fb
geometry(text) function safer with null text fields.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@58 b70326c6-7e19-0410-871a-916f4a2858ee
2001-08-24 21:11:10 +00:00
David Blasby
e26876d522
added geometry(text) conversion function
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@57 b70326c6-7e19-0410-871a-916f4a2858ee
2001-08-24 21:02:11 +00:00
David Blasby
4e740fbca6
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
2001-08-14 22:15:59 +00:00
Paul Ramsey
0472bac20b
Fixed type in index description.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@55 b70326c6-7e19-0410-871a-916f4a2858ee
2001-08-10 02:21:26 +00:00
Paul Ramsey
a24e21c8a2
Added a -C option for the shp2pgsql compile
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@54 b70326c6-7e19-0410-871a-916f4a2858ee
2001-08-08 22:10:57 +00:00
David Blasby
14a06b4f4f
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
2001-08-08 21:54:15 +00:00
David Blasby
e0325c2e77
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
2001-08-08 21:49:06 +00:00
Paul Ramsey
d8bd89be60
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
2001-08-08 05:25:10 +00:00
Paul Ramsey
ef3e0404dd
This file is superceded by the Makefile.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@50 b70326c6-7e19-0410-871a-916f4a2858ee
2001-08-07 21:36:08 +00:00
Paul Ramsey
190e334428
This binary should not have been in CVS.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@49 b70326c6-7e19-0410-871a-916f4a2858ee
2001-08-07 21:35:22 +00:00
David Blasby
912b0a8b75
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
2001-08-02 16:50:24 +00:00
David Blasby
0441f8c8f6
Added plpgsql functions AddGeometryColumn() and DeleteGeometryColumn().
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@47 b70326c6-7e19-0410-871a-916f4a2858ee
2001-07-31 19:11:26 +00:00
David Blasby
d64fd67e4a
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
2001-07-30 17:29:33 +00:00