Commit graph

579 commits

Author SHA1 Message Date
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 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
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 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
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 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
Paul Ramsey 75963c6e87 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
2001-07-23 22:53:40 +00:00
David Blasby f974a61f1c Fixes to single-point-line problem.
git-svn-id: http://svn.osgeo.org/postgis/trunk@30 b70326c6-7e19-0410-871a-916f4a2858ee
2001-07-21 00:16:38 +00:00
Paul Ramsey eef089c93d First version.
git-svn-id: http://svn.osgeo.org/postgis/trunk@27 b70326c6-7e19-0410-871a-916f4a2858ee
2001-07-20 23:40:16 +00:00
David Blasby fc34ba04c0 Dumper changes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@24 b70326c6-7e19-0410-871a-916f4a2858ee
2001-07-20 18:48:28 +00:00
Paul Ramsey 2b65b30a4d Spelling error in makefile.
git-svn-id: http://svn.osgeo.org/postgis/trunk@23 b70326c6-7e19-0410-871a-916f4a2858ee
2001-07-20 18:24:25 +00:00
Paul Ramsey 3a6f3a184d Fixed dos2unix problem.
git-svn-id: http://svn.osgeo.org/postgis/trunk@22 b70326c6-7e19-0410-871a-916f4a2858ee
2001-07-20 18:23:53 +00:00
Paul Ramsey fe57e98e85 Added newlines after each begin directive.
git-svn-id: http://svn.osgeo.org/postgis/trunk@21 b70326c6-7e19-0410-871a-916f4a2858ee
2001-07-20 18:21:00 +00:00
David Blasby 60ccdd0080 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
2001-07-20 16:10:00 +00:00
Paul Ramsey c5a57438e3 Changed loader name to shp2pgsql
git-svn-id: http://svn.osgeo.org/postgis/trunk@17 b70326c6-7e19-0410-871a-916f4a2858ee
2001-07-18 21:45:46 +00:00
Paul Ramsey 8eed59ab66 Initial add of the data loader code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@16 b70326c6-7e19-0410-871a-916f4a2858ee
2001-07-18 21:42:12 +00:00