From e1549fa3d6a5050f6cf7fad17f77c8941a481924 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Tue, 4 Feb 2003 21:39:20 +0000 Subject: [PATCH] Added CVS substitution strings for logging. git-svn-id: http://svn.osgeo.org/postgis/trunk@236 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/pgsql2shp.c | 13 +++++++++++-- loader/shp2pgsql.c | 39 +++++++++++++++++---------------------- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/loader/pgsql2shp.c b/loader/pgsql2shp.c index 4895d0cbd..fe6b13c5b 100644 --- a/loader/pgsql2shp.c +++ b/loader/pgsql2shp.c @@ -1,5 +1,14 @@ -//compile line for Refractions' Solaris machine... -//gcc -g -I/data3/postgresql-7.1.2/include -L/data3/postgresql-7.1.2/lib dump.c ../shapelib-1.2.8/shpopen.o ../shapelib-1.2.8/dbfopen.o -o dump -lpq +/* + * $Id$ + * + * Author: Jeff Lounsbury, jeffloun@refractions.net + * + * $Log$ + * Revision 1.18 2003/02/04 21:39:20 pramsey + * Added CVS substitution strings for logging. + * + * + */ #include #include diff --git a/loader/shp2pgsql.c b/loader/shp2pgsql.c index ad1b4e2b5..da0dfe0b4 100644 --- a/loader/shp2pgsql.c +++ b/loader/shp2pgsql.c @@ -1,25 +1,20 @@ - -// usage: shp2pgsql.c [] - -// -s SR_ID : set the SR_ID field, if not specified it defaults to -1 -// -d: drops the table , then recreates it and populates it with current shape file data -// -a: appends shape file into current table, must be excatly the same table schema -// -c: creates a new table and populates it, this is the default if you don't specify any options -// -D: use postgresql dump format (defaults to sql insert statements). Use -// this option whenever possible for much faster application - -// Using shapelib 1.2.8, this program reads in shape files and processes it's contents -// into a Insert statements which can be easily piped into a database frontend. -// Specifically designed to insert type 'geometry' (a custom written PostgreSQL type) -// for the shape files and PostgreSQL standard types for all attributes of the entity. -// -// Basically the program determines which type of shape (currently supports: 2d points,2d lines,2d -// polygons,3d points, and 3d lines) is in the file and takes appropriate -// action to create the table,geometry and load the attributes. - - -// BUGS: -// possible: no row # for polygons? +/* + * $Id$ + * + * Author: Jeff Lounsbury, jeffloun@refractions.net + * + * $Log$ + * Revision 1.28 2003/02/04 21:39:20 pramsey + * Added CVS substitution strings for logging. + * + * + * Using shapelib 1.2.8, this program reads in shape files and + * processes it's contents into a Insert statements which can be + * easily piped into a database frontend. + * Specifically designed to insert type 'geometry' (a custom + * written PostgreSQL type) for the shape files and PostgreSQL + * standard types for all attributes of the entity. + */ #include "shapefil.h" #include -- 2.49.0