[GRASS-user] create location from CLI
    Paul Kelly 
    paul-grass at stjohnspoint.co.uk
       
    Tue Sep  6 15:28:41 PDT 2016
    
    
  
On 09/06/2016 09:44 PM, Dave Roberts wrote:
> Thanks for clarification Markus, and thanks Helmut for similar input.
> So, the last problem is that
>
> g.proj -c proj4=-
>
> followed by input to stdin works, but I cannot seem to construct a file
> with proj4 parameters that g.proj will accept, even though identical
> information entered at stdin works.  So, I'm still struggling for the
> syntax of aproj4 file I guess.
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.
Paul
    
    
More information about the grass-user
mailing list