[GRASS-user] Check if a mapset exists- in Python Script

Glynn Clements glynn at gclements.plus.com
Mon Jan 31 06:38:05 EST 2011


Monica Buescu wrote:

> How can I check if a certain mapset exists in my active location in a Python
> Script?

	grass.script.mapsets(False)

returns a list of mapsets in the current location.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list