[GRASS-user] create location from CLI

Dave Roberts droberts at montana.edu
Tue Sep 6 20:41:30 PDT 2016


Paul,

On 09/06/16 16:28, Paul Kelly wrote:

> The proj4 parameter in g.proj takes a PROJ string description, not a
> file containing one.
> So,
> g.proj -c proj4="+proj=longlat +datum=WGS84"
>
> should work, as far as I can think.
>

   Indeed it does, and that seems to be the end of the line.  So it's 
possible to create an arbitrary locations with nothing but projection 
information (no data yet), but it takes two lines of code.  That works 
for me.  When I migrate to 7.2 apparently I can do it in one.

Thanks all, Dave





More information about the grass-user mailing list