[gdal-dev] Gdal_translate + Google + Wgs84

Travis Kirstine traviskirstine at gmail.com
Fri Dec 2 10:35:45 EST 2011


Roger,

It appears that you are attempting to use the GDAL TMS driver to
convert Google Maps Data into a Geotiff, this would be a violation of
the Google Maps Terms and Conditions:

http://www.google.com/intl/en_ALL/help/terms_local.html

Regards



On 2 December 2011 09:22, Chaitanya kumar CH <chaitanya.ch at gmail.com> wrote:
> 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 <heidegg at 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 at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list