[GRASS-user] Re: Grid Mismatch while importing with 6.4.1 and 6.4.2

Markus Metz markus.metz.giswork at googlemail.com
Wed Mar 28 09:40:35 EDT 2012


On Wed, Mar 28, 2012 at 3:02 PM,  <antonio.rocha at deimos.com.pt> wrote:
> Hello Markus
> So, if the same image imported in different GRASS versions to the same
> Location/Mapset, but it has a displacement of half pixel, it means that it
> was a problem in earlier version of GRASS?

So far, you have mentioned only a grid mismatch between the two
imported versions. Comparing r.info of these to gdalinfo of the
original raster will tell you which version is correct.

Markus M

>
> On Wed, 28 Mar 2012 14:49:42 +0200, Markus Metz
> <markus.metz.giswork at googlemail.com> wrote:
>>
>> On Wed, Mar 28, 2012 at 2:06 PM,  <antonio.rocha at deimos.com.pt> wrote:
>>>
>>> Greetings
>>>
>>>
>>>
>>> Daniel lee suggested me that the problem might be the defined region.
>>> But,
>>> as far as I know, Defined region has no impact over importing data. This
>>> is
>>> true right?
>>
>>
>> Yes, r.in.gdal ignores the current region. The extents and resolution
>> as reported by gdalinfo for the original raster and r.info for the
>> imported raster must be identical.
>>
>> Markus M
>>>
>>>
>>> Thanks
>>>
>>> Antonio
>>>
>>>
>>>
>>> Am 27. März 2012 11:52 schrieb António
>>> Rocha <antonio.rocha at deimos.com.pt>:
>>>
>>>
>>>> Greetings
>>>> I have imported a Raster image in GRASS 6.4.1 with r.in.gdal and now,
>>>> when
>>>> I import the same raster (with 6.4.2) there is a grid mistmatch (more or
>>>> less a quarter pixel) from previous import to the current import. The
>>>> image
>>>> is the same, the Location/Mapset also the only difference is the update
>>>> of
>>>> GRASS. Is this expected?
>>>> Thanks
>>>> Antonio
>>>
>>>
>>>
>>> _______________________________________________
>>> grass-user mailing list
>>> grass-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>>
>


More information about the grass-user mailing list