Roger,<br><br>Use gdalwarp instead. Set the -t_srs option to EPSG:4326<br>Extents can be set using -te<br>Since the projection is changing, specifying the size in percentage of the original is not possible. You can use -tr or -ts for this.<br>
Also, note the order of the arguments for filenames.<br><br><div class="gmail_quote">On Fri, Dec 2, 2011 at 4:08 PM, Roger Phillips <span dir="ltr"><<a href="mailto:heidegg@hotmail.com">heidegg@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div dir="ltr">
Hello folks,<br><br>I'm a beginner with Gdal and I have a question:<br><br>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:<br><br>gdal_translate frmt_wms_googlemaps_tms.xml out.tif -projwin -12712685 66<br>56748 -12679290 6621294 -outsize 1% 1%<br><br>What do I have to change on this call so it will give me an undistorted image in WGS84?<br>
<br>Thanks a lot!<br><br>                                            </div></div>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
<br>+91-9494447584<br>17.2416N 80.1426E<br>