[GRASS-dev] Python: core.create_location() available but core.create_mapset() yet missing

Markus Neteler neteler at osgeo.org
Tue May 6 13:24:03 PDT 2014


On Tue, May 6, 2014 at 10:21 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
...
> IMHO, the logical approach is to start a GRASS session with a dummy
> database, location and mapset, create the new database, location
> and/or mapset, then switch to it with g.mapset.

Agreed.
This should ideally be offered as a Python (wrapper) function.
Meanwhile I found that also the startup script contains a create_new()
location function.

Markus


More information about the grass-dev mailing list