[gdal-dev] using gdalwarp: defining target_spatial resolution

António Rocha antonio.rocha at deimos.com.pt
Mon Jan 31 04:01:21 EST 2011


Greetings

I'm using a bash script to reproject an image, using gdalwarp, to a set 
of Coordinates/Projection systems. I'm using -tr  flag to define output 
spatial resolution. Since, i'm using UTM WGS84 I have this information 
in Meters (e.g. 30) so far, so good.
The thing is that i need to reproject to this system
+proj=longlat +no_defs +a=6378137 +rf=298.257223563 
+towgs84=0.000,0.000,0.000
So, I'm getting an error because this system uses degrees not meters as 
units. and, I will probably get more problems in the near future with 
other systems
My questions are:
1- from PROJ.4 format, how can I tell the units of the target 
coordinate/projection system
2- Since it's in degrees, does anyone suggest any (really good) tool to 
convert meters to degs? In order to parameterize -tr parameter?


Thanks
Antonio


__________ Information from ESET NOD32 Antivirus, version of virus signature database 5832 (20110130) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




More information about the gdal-dev mailing list