[gdal-dev] tiling mrsid images, wrong y coordinate?

James Taber james_e_taber at raytheon.com
Wed Aug 10 16:50:56 EDT 2011


I am trying to tile a mrsid image (utm,nad83).  The incoming   Upon 
completion of tiling process my tile info is as follows:

<?xml version="1.0" encoding="utf-8"?>
<TileMap version="1.0.0" tilemapservice="http://tms.osgeo.org/1.0.0">
<Title>Hawthorne_West.sid</Title>
<Abstract></Abstract>
<SRS>EPSG:900913</SRS>
<BoundingBox minx="38.49658176985584" miny="-118.75542077890545" 
maxx="38.62802871616970" maxy="-118.62063944476994"/>
<Origin x="38.49658176985584" y="-118.75542077890545"/>
<TileFormat width="256" height="256" mime-type="image/png" extension="png"/>
<TileSets profile="mercator">
<TileSet href="0" units-per-pixel="156543.03390000000945" order="0"/>
<TileSet href="1" units-per-pixel="78271.51695000000473" order="1"/>
<TileSet href="2" units-per-pixel="39135.75847500000236" order="2"/>
<TileSet href="3" units-per-pixel="19567.87923750000118" order="3"/>
<TileSet href="4" units-per-pixel="9783.93961875000059" order="4"/>
<TileSet href="5" units-per-pixel="4891.96980937500030" order="5"/>
<TileSet href="6" units-per-pixel="2445.98490468750015" order="6"/>
<TileSet href="7" units-per-pixel="1222.99245234375007" order="7"/>
<TileSet href="8" units-per-pixel="611.49622617187504" order="8"/>
<TileSet href="9" units-per-pixel="305.74811308593752" order="9"/>
<TileSet href="10" units-per-pixel="152.87405654296876" order="10"/>
<TileSet href="11" units-per-pixel="76.43702827148438" order="11"/>
<TileSet href="12" units-per-pixel="38.21851413574219" order="12"/>
<TileSet href="13" units-per-pixel="19.10925706787109" order="13"/>
<TileSet href="14" units-per-pixel="9.55462853393555" order="14"/>
<TileSet href="15" units-per-pixel="4.77731426696777" order="15"/>
<TileSet href="16" units-per-pixel="2.38865713348389" order="16"/>
<TileSet href="17" units-per-pixel="1.19432856674194" order="17"/>
</TileSets>
</TileMap>

The min/max bounding box has the correct coordinates, but the y-value 
file names are in the 20k range.  I have checked what the y value should 
be here: 
http://facstaff.unca.edu/mcmcclur/GoogleMaps/Projections/GoogleCoords.html 
and it indicates that the y-coord should be in the 12k range (as 
expected).  Any idea as to what I am doing wrong?  I tried warping to 
ESPG:900913 and that did not help.



More information about the gdal-dev mailing list