From: Bborie Park Date: Tue, 13 Dec 2011 05:03:20 +0000 (+0000) Subject: Added version information. X-Git-Tag: 2.0.0alpha1~501 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3802f3def47388f6188a365c195ecf8d24a1b05f;p=postgis Added version information. Associated ticket is #1369. git-svn-id: http://svn.osgeo.org/postgis/trunk@8372 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/loader/raster2pgsql.c b/raster/loader/raster2pgsql.c index 5bb20341b..2b5a69e74 100644 --- a/raster/loader/raster2pgsql.c +++ b/raster/loader/raster2pgsql.c @@ -251,6 +251,7 @@ chartrim(const char *input, char *remove) { static void usage() { + printf(_("RELEASE: %s GDAL_VERSION=%d (%s)\n"), POSTGIS_VERSION, POSTGIS_GDAL_VERSION, RCSID ); printf(_( "USAGE: raster2pgsql [] [ [ ...]] [[.]]\n" " Multiple rasters can also be specified using wildcards (*,?).\n" diff --git a/raster/loader/raster2pgsql.h b/raster/loader/raster2pgsql.h index 4d449fb6a..c869bcd47 100644 --- a/raster/loader/raster2pgsql.h +++ b/raster/loader/raster2pgsql.h @@ -56,6 +56,8 @@ #define MINOVFACTOR 2 #define MAXOVFACTOR 1000 +#define RCSID "$Id$" + typedef struct raster_loader_config { /* raster filename */ int rt_file_count;