[GRASS-SVN] r47586 - grass/branches/releasebranch_6_4/raster3d/r3.to.rast

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 11 18:16:06 EDT 2011


Author: neteler
Date: 2011-08-11 15:16:06 -0700 (Thu, 11 Aug 2011)
New Revision: 47586

Modified:
   grass/branches/releasebranch_6_4/raster3d/r3.to.rast/description.html
   grass/branches/releasebranch_6_4/raster3d/r3.to.rast/main.c
Log:
Milena Nowotarska: i18n cleanup; HTML cleanup

Modified: grass/branches/releasebranch_6_4/raster3d/r3.to.rast/description.html
===================================================================
--- grass/branches/releasebranch_6_4/raster3d/r3.to.rast/description.html	2011-08-11 22:14:26 UTC (rev 47585)
+++ grass/branches/releasebranch_6_4/raster3d/r3.to.rast/description.html	2011-08-11 22:16:06 UTC (rev 47586)
@@ -1,36 +1,36 @@
-<H2>DESCRIPTION</H2>
+<h2>DESCRIPTION</h2>
 
-Converts one G3D raster map into several 2D raster maps (depends on depths). 
-If the 2D and 3D region settings are different,
-the 3D resolution will be adjust to the 2D resolution (the depths are not touched!).
-You can force r3.to.rast to use the 2D resolution of the input G3D map for the output maps, 
-independently from the current region settings.
+Converts one 3D raster map into several 2D raster maps (depends on depths). 
+If the 2D and 3D region settings are different, the 3D resolution will be 
+adjusted to the 2D resolution (the depths are not touched).
+The user can force <em>r3.to.rast</em> to use the 2D resolution of the input 
+3D raster map for the output maps, independently from the current region settings.
 
 <center>
-<img src=r3.to.rast.png border=0><BR>
+<img src=r3.to.rast.png border=0><br>
 <table border=0 width=700>
 <tr><td><center>
-<i>How r3.to.rast works</i>
+<em>How r3.to.rast works</em>
 </center></td></tr>
 </table>
 </center>
 
 
-<H2>NOTES</H2>
-Every slice of the G3D map is copied to one 2D raster map. The maps
-are named like <B>output</B><I>_slicenumber</I>. Slices are counted from bottom
+<h2>NOTES</h2>
+Every slice of the 3D raster map is copied to one 2D raster map. The maps
+are named like <b>output</b><em>_slicenumber</em>. Slices are counted from bottom
 to the top, so the bottom slice has number 1. 
 
 The number of slices is equal to the number of depths.
 
-<H2>SEE ALSO</H2>
+<h2>SEE ALSO</h2>
 
-<EM><A HREF="r3.cross.rast.html">r3.cross.rast</A></EM><br>
-<EM><A HREF="r3.out.vtk.html">r3.out.vtk</A></EM><br>
-<EM><A HREF="r3.out.ascii.html">r3.out.ascii</A></EM><br>
-<EM><A HREF="g.region.html">g.region</A></EM><br>
+<em><a href="r3.cross.rast.html">r3.cross.rast</a></em><br>
+<em><a href="r3.out.vtk.html">r3.out.vtk</a></em><br>
+<em><a href="r3.out.ascii.html">r3.out.ascii</a></em><br>
+<em><a href="g.region.html">g.region</a></em><br>
 
-<H2>AUTHOR</H2>
+<h2>AUTHOR</h2>
 Soeren Gebbert
 
 <p><i>Last changed: $Date$</i>

Modified: grass/branches/releasebranch_6_4/raster3d/r3.to.rast/main.c
===================================================================
--- grass/branches/releasebranch_6_4/raster3d/r3.to.rast/main.c	2011-08-11 22:14:26 UTC (rev 47585)
+++ grass/branches/releasebranch_6_4/raster3d/r3.to.rast/main.c	2011-08-11 22:16:06 UTC (rev 47586)
@@ -52,7 +52,7 @@
     /* Close files and exit */
     if (map != NULL) {
 	if (!G3d_closeCell(map))
-	    G3d_fatalError(_("Unable to close the 3d raster map"));
+	    G3d_fatalError(_("Unable to close 3D raster map"));
     }
 
     if (fd != NULL) {
@@ -76,7 +76,7 @@
     param.input->required = YES;
     param.input->gisprompt = "old,grid3,3d-raster";
     param.input->description =
-	_("3d raster map(s) to be converted to 2D raster slices");
+	_("3D raster map(s) to be converted to 2D raster slices");
 
     param.output = G_define_option();
     param.output->key = "output";
@@ -87,12 +87,12 @@
 
     param.mask = G_define_flag();
     param.mask->key = 'm';
-    param.mask->description = _("Use G3D mask (if exists) with input map");
+    param.mask->description = _("Use 3D raster mask (if exists) with input map");
 
     param.res = G_define_flag();
     param.res->key = 'r';
     param.res->description =
-	_("Use the same resolution as the input G3D map for the 2d output "
+	_("Use the same resolution as the input 3D raster map for the 2D output"
 	  "maps, independent of the current region settings");
 }
 
@@ -222,10 +222,10 @@
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);
 
-    G_debug(3, _("Open 3d raster map <%s>"), param.input->answer);
+    G_debug(3, _("Open 3D raster map <%s>"), param.input->answer);
 
     if (NULL == G_find_grid3(param.input->answer, ""))
-	G3d_fatalError(_("3d raster map <%s> not found"),
+	G3d_fatalError(_("3D raster map <%s> not found"),
 		       param.input->answer);
 
     /*Set the defaults */



More information about the grass-commit mailing list