[gdal-dev] Help needed using the worldwind minidriver

James_in_Utah James.Evans at hill.af.mil
Sat Feb 15 11:40:47 PST 2014


Hi, 
Sorry if this is the wrong place to post this kind of question, but I don't
see a better place.  Is there a document that describes how to use the
minidrivers?  I'm not really sure what some of the tags mean in the sample
xml files.  My tile set that I'm trying to access has a LZTS of 9 degrees,
and I have folders for levels 0 - 5.  Below is the xml file I'm trying to
use.  When I try to do a gdal_translate on this, I can see that it knows the
X values for the 0 layer go from 0 - 39, but it is trying to access Y values
that don't exist.  Is there some guidance on how to determine the correct
value for these tags? 

Here is what I'm trying to use: 

<GDAL_WMS>  
  <Service name="WorldWind">  
    <Version>1</Version>  
    <ServerUrl>http://localhost/tile.aspx?</ServerUrl>  
    <Layer>WAC_2014</Layer>  
  </Service>  
  <DataWindow>  
    <UpperLeftx>-179.99995737418604000</UpperLeftx>  
    <UpperLefty>72.74087334096171300</UpperLefty>  
    <LowerRightx>179.99998301323333000</LowerRightx>  
    <LowerRighty>14.73066571091025200</LowerRighty>  
    <SizeX>327680</SizeX>  
    <SizeY>53248</SizeY>
    <TileLevel>4</TileLevel>  
  </DataWindow>> 
  <Projection>EPSG:4326</Projection>  
  <BlockSizeX>512</BlockSizeX>  
  <BlockSizeY>512</BlockSizeY>  
  <BandsCount>3</BandsCount>  
</GDAL_WMS> 


Additionally, I am using GDAL 1.9.0 that came with MS4W.  When I try
GDAL_translate using this XML, GDAL tries accessing level 0 X=0 thru 39,
which is correct, but it starts trying to access Y=5, which does not.  It
should start at Y=11, and go thru Y=18.  How do I get it to do that?  I'm
not sure what the <TileCountY> tag does, and if I'm supposed to be using it. 
Any suggestions would be appreciated. 
Thanks, 
James 



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Help-needed-using-the-worldwind-minidriver-tp5103996.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list