Geography Reference
In-Depth Information
Figure C.7: World mosaic in GRASS
into GRASS, it must first be loaded into QGIS using the Add a Vector
Layer menu or toolbar icon. In our case, we will use the cities layer.
Once the cities layer is loaded into QGIS, open the GRASS toolbox by
clicking the tool in the GRASS toolbar or by choosing Open GRASS tools
from the GRASS plugin menu. The toolbox contains a wealth of GRASS
tools and functions we can run from within QGIS. Right at the top of
the list you will find Import OGR/PostGIS Vector Layer. This tool will
give us the opportunity to import any loaded vector layer into GRASS,
assuming it's an OGR or PostGIS layer.
Once we click the import tool, a new tab page is opened, and a drop-
down box of all the eligible layers is available. We just pick the one we
want to import from the list and then fill in a name for the GRASS layer
(output vector map). Clicking the Run button starts the import process.
The output from the command will be displayed as the import proceeds.
If all goes well, a “Successfully finished” message will be displayed at
the end of the output. If you scroll back through the output window,
you will find that the command used to do the import is v.in.ogr . The
GRASS plugin in QGIS just provided a convenient front end for import-
ing the layer. We could easily have accomplished the same thing using
the GRASS command line.
 
 
Search WWH ::




Custom Search