[GRASS-dev] Python: core.create_location() available but core.create_mapset() yet missing
Markus Neteler
neteler at osgeo.org
Mon May 5 15:32:48 PDT 2014
On Tue, May 6, 2014 at 12:02 AM, Markus Neteler <neteler at osgeo.org> wrote:
> Hi,
>
> would it be possible to also add a convenient core.create_mapset() function?
> The code already exists:
>
> gui/wxpython/gis_set.py line 858:
>
> def CreateNewMapset(self, mapset):
> ....
>
> This would help folks who want to batch-process data and appears to be
> the missing piece to completely generate a new location in the Python
> way.
Is it possible, that create_location() only works *within* a GRASS session?
How would I generate a location in Python when not having the location
yet created but only a SHAPE/.prj file available or a GeoTIFF?
Seems I am overlooking something. Pointers welcome!
Markus
More information about the grass-dev
mailing list