Opened 12 years ago
Last modified 11 years ago
#4664 closed defect
gdal2tiles.LatLonToPixels has lat/lon inverted — at Initial Version
Reported by: | dandye | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Utilities | Version: | svn-trunk |
Severity: | normal | Keywords: | gdal2tiles |
Cc: |
Description
lat and lon are inverted inside the LatLonToPixels method.
362,363c362,363 < px = (180 + lon) / res < py = (90 + lat) / res ---
px = (180 + lat) / res py = (90 + lon) / res
Note:
See TracTickets
for help on using tickets.
Patch to fix inversion of lat/lon in LatLonToPixels method of gdal2tiles.py