[GRASSweb-list]markus: web/grass51 examples.html,1.3,1.4
grass at intevation.de
grass at intevation.de
Thu Oct 31 12:38:54 EST 2002
Author: markus
Update of /grassrepository/web/grass51
In directory doto:/tmp/cvs-serv18320
Modified Files:
examples.html
Log Message:
enough for today
Index: examples.html
===================================================================
RCS file: /grassrepository/web/grass51/examples.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- examples.html 31 Oct 2002 17:29:16 -0000 1.3
+++ examples.html 31 Oct 2002 17:38:52 -0000 1.4
@@ -18,13 +18,15 @@
<i><b>Disclaimer:</b> These examples may work or not. You are kindly invited to send us
further examples and/or code bugfixes/enhancements.<i>
+<P>
+Do get debug information, set variable (set to 0 for debug silence):
<pre>
export GRASS_DEBUG_LEVEL=5
</pre>
-<h2>Following modules are available at time of this writing</h2>
-(see timestamp at bottom)
+<h2>Following modules are available at time of this writing</h2> (see
+timestamp at bottom)
<ul>
<li>d.erase d.m d.mon d.path d.rast d.vect d.what.vect d.zoom
@@ -38,6 +40,20 @@
v.out.ogr v.surf.rst
</ul>
+If you start a module just by name, a GUI window pops up.
+<p>
+d.m is a new display manager.
+
+<h2>Example 0: Convert 5.0 vector maps to 5.1</h2>
+You can run 5.1 (at the same time) on a 5.0 location without problems.<br>
+To convert 5.0 vector data to 5.1, run:
+<pre>
+v.convert in=vectormap_from_50 out=vectormap
+</pre>
+
+Vector maps from 5.0 and 5.1 do not interfere (different directories),
+so you can use the same names.
+
<h2>Example 1: Registration of a map in SHAPE format</h2>
Maps in SHAPE format can be used directly in GRASS 5.1 without importing
@@ -94,13 +110,13 @@
<h2>Example 3: Export data using OGR</h2>
-SHAPE format (generates /tmp/testogr.shp and related files):
+Export to SHAPE format (generates /tmp/testogr.shp and related files):
<pre>
v.out.ogr input=multi typ=line dsn=/tmp layer=testogr
</pre>
<p>
-GML format (generates /tmp/testogr..gml file with layer 'testogr'):
+Export to GML format (generates /tmp/testogr..gml file with layer 'testogr'):
<pre>
v.out.ogr input=multi typ=line dsn=/tmp/testogr.gml layer=testogr format=GML
</pre>
@@ -108,7 +124,7 @@
<h2>Example 4: Conversion of SHAPE map to GRASS 5.1 vector map</h2>
-#WARNING: don't try this at home.
+#WARNING: don't try this at home. Pretty unstable yet.
<pre>
v.out.ascii markveggy.shp out=test1
More information about the grass-web
mailing list