[GRASS-dev] Re: [GRASS-user] mask in PERMANENT affect on other mapsets during reprojection

Markus Neteler neteler at osgeo.org
Tue Jul 1 15:30:23 EDT 2008


On Mon, Jun 30, 2008 at 9:19 AM, Jarosław Jasiewicz <jarekj at amu.edu.pl> wrote:

> In general in grass help is also suggrested method with manual recalculating
> extension of grass region with cs2cs (and there is also wrapper for that
> program), the method you suggested is also in help, both method are "grass"
> method

My personal method is (if I understand correctly what you mean) if I dom't
know the corners in the target location:

1. go into source location, set region as I need
2. run there v.in.region to generate region box vector map

3. go into target location
4. run v.proj to reproject region box vector map from source location
5. run g.region vect=region_box res=value -pa
6. run r.proj to reproject desired raster map.

Like this I don't need cs2cs or m.proj, through the "box" trick I get the
corners easily reprojected.
(see also r.proj manual page for this hint)

Markus


More information about the grass-user mailing list