[GRASS-user] create location from CLI

Sajid Pareeth spareeth at gmail.com
Tue Sep 6 07:13:07 PDT 2016


Hi

>
>    I'm trying to understand the simplest way in GRASS7 to create a
> location from the command line without using a georeferenced file.  So far,
> it appears to be
>
> % grass70 -c newLocation
>

Did you try parsing the EPSG code of the location you want to create?

For example:

grass71 -c epsg:3035 /home/user/grassdata/mynewlocation

The above command will create a new location in epsg 3035 projection.
You can find some details here:
https://grasswiki.osgeo.org/wiki/GRASS_Location_Wizard#GRASS_GIS_7:_Creating_locations_from_command_line


Best

Sajid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160906/fc39958c/attachment.html>


More information about the grass-user mailing list