[GRASS-dev] pygrass.gis.Region API explanations

Panagiotis Mavrogiorgos pmav99 at gmail.com
Sat Apr 27 08:30:03 PDT 2019


Hello all,

I am trying to use the pygrass API to create a contextmanager that set's a
temporary Region, but I am not sure which method I should be using. The
following methods seem to be relevant:

Region.set_current()
Region.set_raster_region()
Region.write()


Could someone further clarify when each one should be used?

all the best,
Panos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20190427/c6c7bd34/attachment.html>


More information about the grass-dev mailing list