[GRASS-dev] location invalid if PERMANENT contains no WIND file ?

Maris Nartiss maris.gis at gmail.com
Fri Dec 7 06:44:20 EST 2007


Is this somewhere defined? I mean - where is the documentation about
valid location/mapset requirements?


Maris.

2007/12/7, Glynn Clements <glynn at gclements.plus.com>:
>
> Moritz Lennert wrote:
>
> > In gis_set.tcl there is a check for a valid location which reads:
> >
> > # All good locations have valid PERMANENT mapset.
> >     if {[file exists "$dir/PERMANENT/WIND"] != 0} {
> >        set found 1
> >
> > Shouldn't this check for DEFAULT_WIND instead of WIND ?
>
> I can see some sense in that. The only time that PERMANENT/WIND will
> actually be used is if PERMANENT is used as the current mapset, which
> may never happen. OTOH, PERMANENT/DEFAULT_WIND must exist in order to
> create new mapsets.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>


More information about the grass-dev mailing list