Roger, Use gdalwarp instead. Set the -t_srs option to EPSG:4326 Extents can be set using -te Since the projection is changing, specifying the size in percentage of the original is not possible. You can use -tr or -ts for this. Also, note the order of the arguments for filenames.
On Fri, Dec 2, 2011 at 4:08 PM, Roger Phillips <heid...@hotmail.com> wrote: > Hello folks, > > I'm a beginner with Gdal and I have a question: > > Say, I have a rectangular tile defined in WGS84 coordinates using > longitude and latitude. I want to receive this file from google for the > respective rect. However, as far as I know, google uses mercator > coordinates in its maps so the image will be distorted. Currently, I'm > experimenting with this call: > > gdal_translate frmt_wms_googlemaps_tms.xml out.tif -projwin -12712685 66 > 56748 -12679290 6621294 -outsize 1% 1% > > What do I have to change on this call so it will give me an undistorted > image in WGS84? > > Thanks a lot! > > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev