[gdal-dev] Re: TMS BoundingBox/Origin coordinates always in lat/lon using gdal2tiles.py?

Jason Beverage jasonbeverage at gmail.com
Thu Dec 11 12:24:49 EST 2008

I also just noticed that the lat and lon are reversed for the Origin and
BoundingBox.  x should correspond to longitude and y should correspond to
latitude, but they are switched.



On Thu, Dec 11, 2008 at 10:35 AM, Jason Beverage <jasonbeverage at gmail.com>wrote:

> Hi all,
> I've been playing around with gdal2tiles in the OSG4W distribution and
> noticed that the BoundingBox and Origin elements of the generated
> tilemapresource.xml file that is generated always seems to be in lat/lon
> coordinates, even when the output map is in Mercator.  Other TMS resources
> I've seen keep the coordinates in meters if its mercator and lat/lon if it
> is geodetic.
> Is this a "bug" or a "feature"?:)
> Thanks!
> Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20081211/c98a2322/attachment.html

More information about the gdal-dev mailing list