Hi, 2010/6/19 stn <[email protected]>: > is there a way to get grass to import geodata without creating a location > first? Grass will not start unless the location is already there or is > created in the GUI. > > What I mean is: > how can I write a script that will create a new location using projection > and extent from an existing file with geodata and then import that file to > that location? So that when starting grass the location and the data are > already there.
start GRASS with some location, using r.in.gdal location=<newlocation> ... for raster data or v.in.ogr location=<newlocation> ... for vector data you can create new location based on imported data and import data into the new location in one command. Martin -- Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
