Opened 10 years ago

Closed 9 years ago

#5622 closed task (fixed)

gdal2tiles: update epsg 900913 to 3857

Reported by: hamish Owned by: warmerdam
Priority: normal Milestone: 2.1.0
Component: Utilities Version: svn-trunk
Severity: normal Keywords: gdal2tiles
Cc:

Description

Hi,

epsg 900913 (spherical pseudo merc) is non-standard and so not as robust as ideally it could be (e.g. see #5617).

the attached patch replaces it in swig/.../gdal2tiles.py with epsg:3857, the latest incarnation of an official code for this since epsg:3785 was retired and 41001 is even more non-standard.

I left 900913 in the code comments since most people working with it will know it on sight.

thanks, Hamish

Attachments (1)

gdal2tiles_900913_to_3857.patch (2.1 KB ) - added by hamish 10 years ago.
patch to swap epsg 900913 to 3875

Download all attachments as: .zip

Change History (3)

by hamish, 10 years ago

patch to swap epsg 900913 to 3875

comment:1 by Even Rouault, 9 years ago

Milestone: 1.11.1

comment:2 by Even Rouault, 9 years ago

Milestone: 2.1.0
Resolution: fixed
Status: newclosed

trunk r29770 "gdal2tiles.py: replace references to obsolete EPSG:900913 by EPSG:3857 (based on patch by hamish, #5622)"

Note: See TracTickets for help on using tickets.