[GRASS-user] Importing Landsat images with different coordinates

Micha Silver micha at arava.co.il
Mon May 24 15:46:53 EDT 2010


On 05/24/2010 06:26 PM, Jenny Turner wrote:
> Hi
>
> Following this topic I have tested this methodology by converting from 
> UTM 29N to a specific local coordinate system (EPSG:3763) (available 
> at PROJ4)
> gdalwarp -t_srs "EPSG:3763" band_landsat.TIF destination.tif
>
> With that I got a segmentation error, one TIFFReadDirectory a lot of 
> TIFFWriteEncodedStrip and the destination.tif has a different size.
>
>
Can you send the output of:  gdalinfo band_landsat.TIF

> Any tips of what migh be wrong?
>
> Thank you
> Jenny
>
> On Tue, May 18, 2010 at 8:42 PM, Micha Silver <micha at arava.co.il 
> <mailto:micha at arava.co.il>> wrote:
>
>     Jenny Turner wrote:
>
>         Greetings
>         Firman, but imagine that I have rasters in UTM for differente
>         zones (e.g. huge countries like USA, etc). How can I produce
>         an automatic importing tool that uses gdalwarp to project an
>         image to WGS84 and import to GRASS?
>
>     Using gdalwarp you don't have to specify the source coordinate
>     system, *if* the originals have the correct projection defined in
>     their headers. For Landsat images, this is most likely the case,
>     so you should be able to get away with just setting the -t_srs
>     option of gdalwarp and each tile will be re-projected to the WGS84
>     geographic CRS.
>
>         Thanks for your help
>         Best regards,
>         Jenny
>
>         On Mon, May 17, 2010 at 11:10 PM, Firman Hadi
>         <jalmiburung at gmail.com <mailto:jalmiburung at gmail.com>
>         <mailto:jalmiburung at gmail.com <mailto:jalmiburung at gmail.com>>>
>         wrote:
>
>            Hi,
>
>            As far as I know you must define the source coordinate system.
>            I think it is pretty straightforward when you are using
>         gdalwarp.
>            If there are so many images, maybe you can create a shell
>         script
>            to run the process.
>
>            Cheers,
>
>         >
>
>            Firman Hadi
>            Center for Remote Sensing - ITB
>            Jl. Ganesha No. 10,
>            Labtek IX-C, 3rd Floor
>            Bandung - 40132
>            INDONESIA
>            Phone: +62-22-2530701
>            Fax: +62-22-2530702
>            Website : http://crs.itb.ac.id ; www.sigro.org
>         <http://www.sigro.org> <http://www.sigro.org>
>
>            Blog : http://jalmiburung.wordpress.com
>            JepratJepret: http://jalmiburung.fotografer.net
>
>
>
>
>
>
>
>
>
>
>
>         This mail was received via Mail-SeCure System.
>         ------------------------------------------------------------------------
>
>         _______________________________________________
>         grass-user mailing list
>         grass-user at lists.osgeo.org <mailto:grass-user at lists.osgeo.org>
>         http://lists.osgeo.org/mailman/listinfo/grass-user
>
>         This mail was received via Mail-SeCure System.
>
>
>
>
>
>     -- 
>     Micha Silver
>     Arava Development Co. +972-52-3665918
>     http://www.surfaces.co.il
>
>
>
>
> This mail was received via Mail-SeCure System.


-- 
Micha Silver
Arava Development Co. +972-52-3665918
http://surfaces.co.il


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100524/1f1d4c2f/attachment-0001.html


More information about the grass-user mailing list