[mapserver-commits] r7322 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon Jan 28 18:38:53 EST 2008


Author: tomkralidis
Date: 2008-01-28 18:38:53 -0500 (Mon, 28 Jan 2008)
New Revision: 7322

Modified:
   trunk/mapserver/shp2img.c
   trunk/mapserver/shp2pdf.c
Log:
document -d flag, minor formatting issues (#2066)


Modified: trunk/mapserver/shp2img.c
===================================================================
--- trunk/mapserver/shp2img.c	2008-01-28 22:33:03 UTC (rev 7321)
+++ trunk/mapserver/shp2img.c	2008-01-28 23:38:53 UTC (rev 7322)
@@ -69,20 +69,21 @@
     fprintf(stdout,
             "Syntax: shp2img -m mapfile [-o image] [-e minx miny maxx maxy] [-s sizex sizey]\n"
             "               [-l \"layer1 [layers2...]\"] [-i format]\n"
-            "               [-all_debug n] [-map_debug n] [-layer_debug n] [-p n] [-c n]\n");
+            "               [-all_debug n] [-map_debug n] [-layer_debug n] [-p n] [-c n] [-d layername datavalue]\n");
 
 
-    fprintf(stdout,"  -m mapfile: Map file to operate on - required.\n" );
-    fprintf(stdout,"  -i format: Override the IMAGETYPE value to pick output format.\n" );
+    fprintf(stdout,"  -m mapfile: Map file to operate on - required\n" );
+    fprintf(stdout,"  -i format: Override the IMAGETYPE value to pick output format\n" );
     fprintf(stdout,"  -o image: output filename (stdout if not provided)\n");
     fprintf(stdout,"  -e minx miny maxx maxy: extents to render\n");
     fprintf(stdout,"  -s sizex sizey: output image size\n");
-    fprintf(stdout,"  -l layers: layers to enable - make sure they are quoted and space seperated if more than one listed.\n" );
-    fprintf(stdout,"  -all_debug n: Set debug level for map and all layers.\n" );
-    fprintf(stdout,"  -map_debug n: Set map debug level.\n" );
-    fprintf(stdout,"  -layer_debug layer_name n: Set layer debug level.\n" );
-    fprintf(stdout,"  -c n: draw map n number of times.\n" );
+    fprintf(stdout,"  -l layers: layers to enable - make sure they are quoted and space seperated if more than one listed\n" );
+    fprintf(stdout,"  -all_debug n: Set debug level for map and all layers\n" );
+    fprintf(stdout,"  -map_debug n: Set map debug level\n" );
+    fprintf(stdout,"  -layer_debug layer_name n: Set layer debug level\n" );
+    fprintf(stdout,"  -c n: draw map n number of times\n" );
     fprintf(stdout,"  -p n: pause for n seconds after reading the map\n" );
+    fprintf(stdout,"  -d layername datavalue: change DATA value for layer\n" );
 
 
     exit(0);

Modified: trunk/mapserver/shp2pdf.c
===================================================================
--- trunk/mapserver/shp2pdf.c	2008-01-28 22:33:03 UTC (rev 7321)
+++ trunk/mapserver/shp2pdf.c	2008-01-28 23:38:53 UTC (rev 7322)
@@ -90,12 +90,13 @@
   /* ---- check the number of arguments, return syntax if not correct ---- */
   if( argc < 3 ) {
     fprintf(stdout, "\nPurpose: convert a mapfile to a PDF document\n\n");
-    fprintf(stdout,"Syntax: shp2pdf -m [mapfile] -o [pdf] [-e minx miny maxx maxy] -l [layers] -t\n" );
-    fprintf(stdout,"  -m mapfile: Map file to operate on - required.\n" );
+    fprintf(stdout,"Syntax: shp2pdf -m mapfile -o pdf [-e minx miny maxx maxy] [-l \"layer1 [layers2...]\"] [-t] [-d layername datavalue]\n" );
+    fprintf(stdout,"  -m mapfile: Map file to operate on - required\n" );
     fprintf(stdout,"  -o pdf: output filename (stdout if not provided)\n");
     fprintf(stdout,"  -e minx miny maxx maxy: extents to render\n");
-    fprintf(stdout,"  -l layers: layers to enable - make sure they are quoted and space seperated if more than one listed.\n" );
+    fprintf(stdout,"  -l layers: layers to enable - make sure they are quoted and space seperated if more than one listed\n" );
     fprintf(stdout,"  -t : turn on transparency\n");
+    fprintf(stdout,"  -d layername datavalue: change DATA value for a layer\n" );
     exit(0);
   }
 



More information about the mapserver-commits mailing list