[FWTools] gdal_translate question

ChristinaPSU mail at drsdatarecovery.com
Wed Sep 24 15:30:50 EDT 2008


Hello,

I found the world files I guess at:

http://www.iac.ethz.ch/staff/stockli/bmng/bmng_arcview/

Can anyone help me with how to use these with gdal_translate?

Thanks!
Christina



----- Original Message ----- 
From: "Travis Kirstine" <traviskirstine at gmail.com>
To: "ChristinaPSU" <mail at drsdatarecovery.com>; "FWTools" 
<FWTools at lists.maptools.org>
Sent: Wednesday, September 24, 2008 1:15 PM
Subject: Re: [FWTools] gdal_translate question


> Christina,
> Is there a world file for the blue marble png, if not the -projwin
> option will not work, -srcwin would.
>
> 2008/9/24 ChristinaPSU <mail at drsdatarecovery.com>:
>> Hello,
>>
>> I have downloaded a Blue Marble PNG image from visibleearth.nasa.gov:
>>
>> http://visibleearth.nasa.gov/view_detail.php?id=7102
>>
>> called:world.topo.bathy.200403.3x21600x21600.C1.png
>>
>> its 21600 x 21600 and 347.3MB.
>> What I want to be able to do is select a tile of that image by giving
>> gdal_translate lat/long corners and output a jpeg file. I have tried 
>> these
>> command line parameters:
>>
>> gdal_translate -projwin -93.246226 44.892179 -93.195672 
>> 44.866816 -outsize
>> 9424 4728 -of JPEG world.200407.3x21600x21600.C1.png output.jpg
>>
>> This generates the following errors:
>>
>> Input file size is 21600, 21600
>> Computed -srcwin -93 44 0 0 from projected window.
>> Computed -srcwin falls outside raster size of 21600x21600.
>>
>> What am I doing wrong?
>>
>> Thanks!
>> Christina
>>
>> _______________________________________________
>> FWTools mailing list
>> FWTools at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/fwtools
>> http://fwtools.maptools.org/
>>
>>
>
>
>
> -- 
> Travis K.
>
> Toronto, Canada
> ------------------------------------------------------------
> "She knows there's no success like failure
> And that failure's no success at all."
> -Bob Dylan-
> ------------------------------------------------------------
> 




More information about the FWTools mailing list