From d6f7f47e2df66533769a47ad4d1bd9514b0b19ea Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Tue, 1 Jul 2003 18:30:55 +0000 Subject: [PATCH] Added CVS revision headers. git-svn-id: http://svn.osgeo.org/postgis/trunk@278 b70326c6-7e19-0410-871a-916f4a2858ee --- Attic/postgis_sql_71_end.sql.in | 20 ++++++++++++++++++ Attic/postgis_sql_71_start.sql.in | 20 ++++++++++++++++++ Attic/postgis_sql_72_end.sql.in | 20 ++++++++++++++++++ Attic/postgis_sql_72_start.sql.in | 20 ++++++++++++++++++ Attic/postgis_sql_73_end.sql.in | 20 ++++++++++++++++++ Attic/postgis_sql_73_start.sql.in | 20 ++++++++++++++++++ Attic/postgis_sql_common.sql.in | 20 ++++++++++++++++++ loader/pgsql2shp.c | 17 ++++++++++++---- loader/shp2pgsql.c | 18 +++++++++++++--- postgis.h | 23 ++++++++++++++++----- postgis_chip.c | 19 +++++++++++++++++ postgis_debug.c | 31 +++++++++++++++------------- postgis_estimate.c | 33 ++++++++++++++++-------------- postgis_fn.c | 31 +++++++++++++++------------- postgis_geos.c | 19 +++++++++++++++-- postgis_gist_71.c | 30 +++++++++++++++------------ postgis_gist_72.c | 34 +++++++++++++++++++------------ postgis_inout.c | 31 +++++++++++++++------------- postgis_ops.c | 29 +++++++++++++++----------- postgis_proj.c | 19 +++++++++++++++++ postgis_transform.c | 19 +++++++++++++++++ 21 files changed, 384 insertions(+), 109 deletions(-) diff --git a/Attic/postgis_sql_71_end.sql.in b/Attic/postgis_sql_71_end.sql.in index 666bf4c52..19342cb69 100644 --- a/Attic/postgis_sql_71_end.sql.in +++ b/Attic/postgis_sql_71_end.sql.in @@ -1,4 +1,24 @@ +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- +-- $Id$ +-- +-- PostGIS - Spatial Types for PostgreSQL +-- http://postgis.refractions.net +-- Copyright 2001-2003 Refractions Research Inc. +-- +-- This is free software; you can redistribute and/or modify it under +-- the terms of hte GNU General Public Licence. See the COPYING file. +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- $Log$ +-- Revision 1.2 2003/07/01 18:30:55 pramsey +-- Added CVS revision headers. +-- +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + -- -- GiST support functions -- diff --git a/Attic/postgis_sql_71_start.sql.in b/Attic/postgis_sql_71_start.sql.in index 04eebe143..3f495e1b4 100644 --- a/Attic/postgis_sql_71_start.sql.in +++ b/Attic/postgis_sql_71_start.sql.in @@ -1,3 +1,23 @@ + +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- +-- $Id$ +-- +-- PostGIS - Spatial Types for PostgreSQL +-- http://postgis.refractions.net +-- Copyright 2001-2003 Refractions Research Inc. +-- +-- This is free software; you can redistribute and/or modify it under +-- the terms of hte GNU General Public Licence. See the COPYING file. +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- $Log$ +-- Revision 1.2 2003/07/01 18:30:55 pramsey +-- Added CVS revision headers. +-- +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + BEGIN TRANSACTION; diff --git a/Attic/postgis_sql_72_end.sql.in b/Attic/postgis_sql_72_end.sql.in index 7d152ea7c..feac62f7d 100644 --- a/Attic/postgis_sql_72_end.sql.in +++ b/Attic/postgis_sql_72_end.sql.in @@ -1,3 +1,23 @@ + +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- +-- $Id$ +-- +-- PostGIS - Spatial Types for PostgreSQL +-- http://postgis.refractions.net +-- Copyright 2001-2003 Refractions Research Inc. +-- +-- This is free software; you can redistribute and/or modify it under +-- the terms of hte GNU General Public Licence. See the COPYING file. +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- $Log$ +-- Revision 1.3 2003/07/01 18:30:55 pramsey +-- Added CVS revision headers. +-- +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + -- - - - - - - - - - - - - - - - - - - - - - - - - - - - -- UPDATE_GEOMETRY_STATS() diff --git a/Attic/postgis_sql_72_start.sql.in b/Attic/postgis_sql_72_start.sql.in index 3d12bbc0c..349b2c71b 100644 --- a/Attic/postgis_sql_72_start.sql.in +++ b/Attic/postgis_sql_72_start.sql.in @@ -1,3 +1,23 @@ + +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- +-- $Id$ +-- +-- PostGIS - Spatial Types for PostgreSQL +-- http://postgis.refractions.net +-- Copyright 2001-2003 Refractions Research Inc. +-- +-- This is free software; you can redistribute and/or modify it under +-- the terms of hte GNU General Public Licence. See the COPYING file. +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- $Log$ +-- Revision 1.2 2003/07/01 18:30:55 pramsey +-- Added CVS revision headers. +-- +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + BEGIN TRANSACTION; -- You might have to define the PL/PgSQL language usually done with the diff --git a/Attic/postgis_sql_73_end.sql.in b/Attic/postgis_sql_73_end.sql.in index 4bcb38a9c..8bd4f9837 100644 --- a/Attic/postgis_sql_73_end.sql.in +++ b/Attic/postgis_sql_73_end.sql.in @@ -1,4 +1,24 @@ +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- +-- $Id$ +-- +-- PostGIS - Spatial Types for PostgreSQL +-- http://postgis.refractions.net +-- Copyright 2001-2003 Refractions Research Inc. +-- +-- This is free software; you can redistribute and/or modify it under +-- the terms of hte GNU General Public Licence. See the COPYING file. +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- $Log$ +-- Revision 1.4 2003/07/01 18:30:55 pramsey +-- Added CVS revision headers. +-- +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + -- -- 7.3 explicit casting definitions -- diff --git a/Attic/postgis_sql_73_start.sql.in b/Attic/postgis_sql_73_start.sql.in index ff9fcc222..170579f47 100644 --- a/Attic/postgis_sql_73_start.sql.in +++ b/Attic/postgis_sql_73_start.sql.in @@ -1,3 +1,23 @@ + +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- +-- $Id$ +-- +-- PostGIS - Spatial Types for PostgreSQL +-- http://postgis.refractions.net +-- Copyright 2001-2003 Refractions Research Inc. +-- +-- This is free software; you can redistribute and/or modify it under +-- the terms of hte GNU General Public Licence. See the COPYING file. +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- $Log$ +-- Revision 1.2 2003/07/01 18:30:55 pramsey +-- Added CVS revision headers. +-- +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + BEGIN TRANSACTION; -- You might have to define the PL/PgSQL language usually done with the diff --git a/Attic/postgis_sql_common.sql.in b/Attic/postgis_sql_common.sql.in index c742ce30e..0555bd56f 100644 --- a/Attic/postgis_sql_common.sql.in +++ b/Attic/postgis_sql_common.sql.in @@ -1,3 +1,23 @@ + +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- +-- $Id$ +-- +-- PostGIS - Spatial Types for PostgreSQL +-- http://postgis.refractions.net +-- Copyright 2001-2003 Refractions Research Inc. +-- +-- This is free software; you can redistribute and/or modify it under +-- the terms of hte GNU General Public Licence. See the COPYING file. +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +-- $Log$ +-- Revision 1.11 2003/07/01 18:30:55 pramsey +-- Added CVS revision headers. +-- +-- +-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + -- - - - - - - - - - - - - - - - - - - - - - - - - - - - -- SPATIAL_REF_SYS diff --git a/loader/pgsql2shp.c b/loader/pgsql2shp.c index fe6b13c5b..714450e7a 100644 --- a/loader/pgsql2shp.c +++ b/loader/pgsql2shp.c @@ -1,14 +1,22 @@ -/* +/********************************************************************** * $Id$ * - * Author: Jeff Lounsbury, jeffloun@refractions.net + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** * $Log$ + * Revision 1.19 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * * Revision 1.18 2003/02/04 21:39:20 pramsey * Added CVS substitution strings for logging. * - * - */ + **********************************************************************/ #include #include @@ -1420,3 +1428,4 @@ int is_clockwise(int num_points,double *x,double *y,double *z){ } } + diff --git a/loader/shp2pgsql.c b/loader/shp2pgsql.c index 2393d02c1..f1ce8b434 100644 --- a/loader/shp2pgsql.c +++ b/loader/shp2pgsql.c @@ -1,9 +1,20 @@ -/* +/********************************************************************** * $Id$ * * Author: Jeff Lounsbury, jeffloun@refractions.net * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** * $Log$ + * Revision 1.36 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * * Revision 1.35 2003/06/18 16:30:56 pramsey * It seems that invalid geometries where in the shapefile (as far as shapelib * let shp2pgsql know). LINEZ objects with less then 2 vertices. I've @@ -35,14 +46,14 @@ * 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 @@ -1292,3 +1303,4 @@ int main (int ARGC, char **ARGV){ }//end main() + diff --git a/postgis.h b/postgis.h index 07e77a795..ac9075902 100644 --- a/postgis.h +++ b/postgis.h @@ -1,14 +1,27 @@ -/* - * Geometric types for Postgis + +/********************************************************************** + * $Id$ + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** + * $Log$ + * Revision 1.30 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. * - * point3d, line3d, and polygon3d are the base types. * + **********************************************************************/ + +/* * Everything is stored in a geometry3d, which is just a conglomeration * of the base types (and a little bit of other info). */ - - #include "utils/geo_decls.h" diff --git a/postgis_chip.c b/postgis_chip.c index 44e9ce891..f35a7a809 100644 --- a/postgis_chip.c +++ b/postgis_chip.c @@ -1,3 +1,22 @@ + +/********************************************************************** + * $Id$ + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** + * $Log$ + * Revision 1.6 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * + * + **********************************************************************/ + #include "postgres.h" diff --git a/postgis_debug.c b/postgis_debug.c index e92aefdc8..554b0d0ae 100644 --- a/postgis_debug.c +++ b/postgis_debug.c @@ -1,18 +1,21 @@ -/************************************************************* - postGIS - geometric types for postgres - - This software is copyrighted (2001). - - This is free software; you can redistribute it and/or modify - it under the GNU General Public Licence. See the file "COPYING". - - More Info? See the documentation, join the mailing list - (postgis@yahoogroups.com), or see the web page - (http://postgis.refractions.net). - - *************************************************************/ - +/********************************************************************** + * $Id$ + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** + * $Log$ + * Revision 1.9 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * + * + **********************************************************************/ #include "postgres.h" diff --git a/postgis_estimate.c b/postgis_estimate.c index 4e487d576..8625ce5ac 100644 --- a/postgis_estimate.c +++ b/postgis_estimate.c @@ -1,20 +1,23 @@ -/****************************************************** - postGIS - geometric types for postgres - - This software is copyrighted (2001). - - This is free software; you can redistribute it and/or modify - it under the GNU General Public Licence. See the file "COPYING". - - More Info? See the documentation, join the mailing list - (postgis@yahoogroups.com), or see the web page - (http://postgis.refractions.net). - - GiST indexing functions for pgsql >= 7.2 - ******************************************************/ +/********************************************************************** + * $Id$ + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** + * $Log$ + * Revision 1.5 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * + * + **********************************************************************/ - //If you're modifiying this file you should read the postgis mail list as it has + // If you're modifiying this file you should read the postgis mail list as it has // detailed descriptions of whats happening here and why. #include "postgres.h" diff --git a/postgis_fn.c b/postgis_fn.c index 62f5c3ef0..fd50110f8 100644 --- a/postgis_fn.c +++ b/postgis_fn.c @@ -1,18 +1,21 @@ -/************************************************************* - postGIS - geometric types for postgres - - This software is copyrighted (2001). - - This is free software; you can redistribute it and/or modify - it under the GNU General Public Licence. See the file "COPYING". - - More Info? See the documentation, join the mailing list - (postgis@yahoogroups.com), or see the web page - (http://postgis.refractions.net). - - *************************************************************/ - +/********************************************************************** + * $Id$ + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** + * $Log$ + * Revision 1.22 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * + * + **********************************************************************/ #include "postgres.h" diff --git a/postgis_geos.c b/postgis_geos.c index 7c4bd4884..3af789bdd 100644 --- a/postgis_geos.c +++ b/postgis_geos.c @@ -1,7 +1,22 @@ +/********************************************************************** + * $Id$ + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** + * $Log$ + * Revision 1.4 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * + * + **********************************************************************/ -//-------------------------------------------------------------------------- -// #ifdef USE_GEOS #include "postgres.h" diff --git a/postgis_gist_71.c b/postgis_gist_71.c index 522519666..30794c77a 100644 --- a/postgis_gist_71.c +++ b/postgis_gist_71.c @@ -1,17 +1,21 @@ -/****************************************************** - postGIS - geometric types for postgres - This software is copyrighted (2001). - - This is free software; you can redistribute it and/or modify - it under the GNU General Public Licence. See the file "COPYING". - - More Info? See the documentation, join the mailing list - (postgis@yahoogroups.com), or see the web page - (http://postgis.refractions.net). - - GiST indexing functions fo pgsql < 7.2 - ******************************************************/ +/********************************************************************** + * $Id$ + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** + * $Log$ + * Revision 1.2 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * + * + **********************************************************************/ #include "postgres.h" diff --git a/postgis_gist_72.c b/postgis_gist_72.c index 33595b4eb..53b13cf35 100644 --- a/postgis_gist_72.c +++ b/postgis_gist_72.c @@ -1,17 +1,25 @@ -/****************************************************** - postGIS - geometric types for postgres - This software is copyrighted (2001). - - This is free software; you can redistribute it and/or modify - it under the GNU General Public Licence. See the file "COPYING". - - More Info? See the documentation, join the mailing list - (postgis@yahoogroups.com), or see the web page - (http://postgis.refractions.net). - - GiST indexing functions for pgsql >= 7.2 - ******************************************************/ +/********************************************************************** + * $Id$ + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** + * $Log$ + * Revision 1.5 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * + * + ********************************************************************** + * + * GiST indexing functions for pgsql >= 7.2 + * + **********************************************************************/ #include "postgres.h" diff --git a/postgis_inout.c b/postgis_inout.c index 266cc9022..cef8427fe 100644 --- a/postgis_inout.c +++ b/postgis_inout.c @@ -1,18 +1,21 @@ -/************************************************************* - postGIS - geometric types for postgres - - This software is copyrighted (2001). - - This is free software; you can redistribute it and/or modify - it under the GNU General Public Licence. See the file "COPYING". - - More Info? See the documentation, join the mailing list - (postgis@yahoogroups.com), or see the web page - (http://postgis.refractions.net). - - *************************************************************/ - +/********************************************************************** + * $Id$ + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** + * $Log$ + * Revision 1.21 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * + * + **********************************************************************/ #include "postgres.h" diff --git a/postgis_ops.c b/postgis_ops.c index 3e54c58d9..05aeb4eb5 100644 --- a/postgis_ops.c +++ b/postgis_ops.c @@ -1,16 +1,21 @@ -/************************************************************* - postGIS - geometric types for postgres - This software is copyrighted (2001). - - This is free software; you can redistribute it and/or modify - it under the GNU General Public Licence. See the file "COPYING". - - More Info? See the documentation, join the mailing list - (postgis@yahoogroups.com), or see the web page - (http://postgis.refractions.net). - - *************************************************************/ +/********************************************************************** + * $Id$ + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** + * $Log$ + * Revision 1.9 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * + * + **********************************************************************/ #include "postgres.h" diff --git a/postgis_proj.c b/postgis_proj.c index 2be6e5d08..e24037ddb 100644 --- a/postgis_proj.c +++ b/postgis_proj.c @@ -1,3 +1,22 @@ + +/********************************************************************** + * $Id$ + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** + * $Log$ + * Revision 1.7 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * + * + **********************************************************************/ + #include "postgres.h" diff --git a/postgis_transform.c b/postgis_transform.c index ecc7315ac..77f239c21 100644 --- a/postgis_transform.c +++ b/postgis_transform.c @@ -1,3 +1,22 @@ + +/********************************************************************** + * $Id$ + * + * PostGIS - Spatial Types for PostgreSQL + * http://postgis.refractions.net + * Copyright 2001-2003 Refractions Research Inc. + * + * This is free software; you can redistribute and/or modify it under + * the terms of hte GNU General Public Licence. See the COPYING file. + * + ********************************************************************** + * $Log$ + * Revision 1.13 2003/07/01 18:30:55 pramsey + * Added CVS revision headers. + * + * + **********************************************************************/ + #include "postgres.h" -- 2.40.0