Description Usage Arguments Details Value Author(s) References See Also Examples
This function allows to import raster files into raster maps layers supported in GRASS. Available formats are those provided by GDAL library (http://www.gdal.org/formats_list.html).
1 | import.egvs(filenames, output.names)
|
filenames |
character string. Path to raster file to be imported. |
output.names |
character string. Name of output raster map that will be created in GRASS environment. |
Datum and projection of source dataset must match projection of current GRASS location, otherwise a report error message can be generated.
A raster map layer will be uploaded into the opened GRASS environment.
Chiara Magliozzi chiara.magliozzi@libero.it, Fernando Canovas fcgarcia@ualg.pt
http://grass.osgeo.org/grass64/manuals/r.in.gdal.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# starting GRASS session
initGRASS("/usr/bin/grass-7.0.0", home=tempdir())
initGRASS("C:/GRASS", home=tempdir())
## Path to file
file1 <- paste(system.file(package = "ENiRG"), "/ext/tann.asc", sep="")
import.egvs(file1, "tann")
list.maps()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.