Thanks Micha and Hermann for your feedback. Just one very last question: in a Python script how can I make an variabel to equal to an image spatial resolution? (I mean, How can I retrieve an image spatial resolution)? THanks
Best regards, Kat 2011/2/3 Micha Silver <mi...@arava.co.il> > katrin eggert wrote: > > HEy > > I have three questions: > 1- Is it possible to define active region spatial resolution by selecting > an image instead of putting values? > > Using a grass raster, yes. g.region rast=.... > > > > 2- What is done with -a flag? > > > If you have , i.e. a resolution of 5 meters and the E-W extent is 99 > meters, then with the -a flag the region will be reset to 100 m. Without the > -a flag, the resolution will be recalculated so that it fits into the > extents. So in the above case, without -a, the E-W res will be changed to > 4.95 > > > > 3- Just to confirm this, when an image is imported with r.in.gdal it is > kept with its original resolution right? it only gets the active region > spatial resolution when I process it right (e.g. mapcalc or somethingg) > > > > AFAIK, yes. > > > Thanks > Kat > > This mail was received via Mail-SeCure System. > > ------------------------------ > > _______________________________________________ > grass-user mailing > listgrass-user@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/grass-user > > This mail was received via Mail-SeCure System. > > > > > >
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user