[GRASS-dev] Which is the correct WIND convention for creating a new mapset?

Markus Metz markus.metz.giswork at gmail.com
Mon May 6 11:38:09 PDT 2019


On Mon, May 6, 2019 at 6:21 PM Panagiotis Mavrogiorgos <pmav99 at gmail.com>
wrote:
>
> Hello all,
>
> I am a bit confused WRT what the expected WIND should be when you create
a new mapset.
>
> Some functions copy DEFAULT_WIND from PERMANENT. E.g.:
>
> lib/gis/make_mapset.c
> pygrass.gis.make_mapset()
> the grass executable
>
> While others copy WIND from PERMANENT. E.g.
>
> the tests
> gui.wxpython.startup.create_mapset()
>
> Is there an established convention?

IMHO, new mapsets should use DEFAULT_WIND from PERMANENT. But the current
region of a new mapset is often adjusted, therefore it does not really
matter if DEFAULT_WIND or WIND is used.

my2c

Markus M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20190506/5d9e3e44/attachment.html>


More information about the grass-dev mailing list