<div dir="ltr"><div><div><div><br><br>On Thu, Jan 5, 2017 at 11:47 AM, Martin Landa <<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>> wrote:<br>><br>> Hi,<br>><br>> 2017-01-05 11:42 GMT+01:00 Blumentrath, Stefan <<a href="mailto:Stefan.Blumentrath@nina.no">Stefan.Blumentrath@nina.no</a>>:<br>> > So, when I want to grab the extend from a vector map but want to keep the pixels from my DEM I do:<br>> > g.region -p vector=vect_map align=rast_map<br>><br>> hm, you are right. wxGUI could use this command when user sets<br>> computation region based on two map layers (one vector, one raster).<br><br></div>The above example does not set the region from two map layers (one vector, one raster), that would be g.region -p vector=vect_map raster=rast_map. Instead, it sets the region extents from a vector and aligns the region to a raster. That is a big difference.<br><br></div>IMHO, the GUI should not try to be too clever about how to adjust the computational region, instead users should be clever about how to adjust the computational region because changed region settings can cause unexpected results.<br><br></div>Markus M<br><div><div><div><br>> Ma<br>><br>> --<br>> Martin Landa<br>> <a href="http://geo.fsv.cvut.cz/gwiki/Landa">http://geo.fsv.cvut.cz/gwiki/Landa</a><br>> <a href="http://gismentors.cz/mentors/landa">http://gismentors.cz/mentors/landa</a><br>> _______________________________________________<br>> grass-dev mailing list<br>> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/grass-dev">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br><br></div></div></div></div>