[GRASS-dev] text interface for GRASS70

Martin Landa landa.martin at gmail.com
Wed Mar 23 05:34:24 EDT 2011


2011/3/22 Hamish <hamish_b at yahoo.com>:
> Martin wrote:
>> > > $ grass70 -c /home/martin/grassdata/test1
>> > > g.proj -p
>> > > XY location (unprojected)
> Hamish:
>> create XY by default? I'm not so sure about that. I'd think
>> it much better to exit with an error if location type could
>> not be determined.
>
> maybe I am confusing that... in the above example the XY location
> already existed and you were just making a new mapset, yes?

no, it will create new unprojected location. Current behaviour of -c flag:

* if location doesn't exists it will created new location
** if no extra parameter is added (geofile or EPSG:code) unprojected
location is created
* if location exists, it will create new mapset

I think it's quite clear behaviour and we don't need any extra flag.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list