[GRASS-user] Copy raster from xy location to latlong
Michael Barton
michael.barton at asu.edu
Wed Aug 6 17:09:40 EDT 2008
On Aug 6, 2008, at 2:01 PM, <grass-user-request at lists.osgeo.org> wrote:
> Date: Wed, 6 Aug 2008 18:01:27 -0300
> From: "Paulo Marcondes" <paulomarcondes at gmail.com>
> Subject: Re: [GRASS-user] Copy raster from xy location to latlong
> To: "William Hudspeth" <bhudspeth at edac.unm.edu>
> Cc: grass-user at lists.osgeo.org
> Message-ID:
> <9fd2d2180808061401r423b2692wacc34d40ed168398 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> 2008/8/6 William Hudspeth <bhudspeth at edac.unm.edu>:
>> Thanks for responding.
>>
>> I think I was a little unclear in my original description. My
>> xy-location raster is stored as pixel values (720 rows and 1440
>> columns, with the origin (0, 0) at the bottom left corner),
>> such that an individual pixel might have a coordinate of 125, 256.
>> I need to somehow "project" this xy location raster into a lat long
>> location where
>
> well, r.in.gdal might do the trick.
> it can even create a new location with the parameters specified in the
> HDF header.
>
> try gdalinfo to see if there's any projection info, then r.in.gdal
> in=HDF_file out=rastername location=HDF_location
>
>
> --
> Paulo Marcondes = PU1/PU2PIX
> -22.915 -42.224 = GG86jc
>
This is what the georectifier is for.
Michael
More information about the grass-user
mailing list