[GRASS-user] Re: r.region for intersection with vector map?

Hermann Peifer peifer at gmx.eu
Mon Mar 12 06:48:37 EDT 2012


On 12/03/2012 10:13, Moritz Lennert wrote:
> On 12/03/12 05:57, Hermann Peifer wrote:
>> On 12/03/2012 00:16, Helmut Kudrnovsky wrote:
>>>
>>> but r.region defines the extent of the whole raster map.
>>>
>>
>> Why would one want to do this, compared to leaving the extent as
>> detected during import?
>
> Use cases might be:
>
> - the file you import is not georeferenced, but you have elsewhere the
> information about where the corners should be
>
> - your file was incorrectly georeferenced with a constant shift
>
> And probably others...
>

Aha. Thanks.

I usually fix this type of issues (if any) before importing, by 
gdal_translate'ing the source file int vrt format which has the correct 
corners, etc., then I import the vrt file.

Hermann


More information about the grass-user mailing list