[OpenLayers-Users] World Wind tiles of GeoCover 2000 - not success

fmatz fmatz at nexgo.de
Fri Jul 31 09:06:34 EDT 2009


Hello,

I am trying to show the World Wind GeoCover 2000 tiles in OpenLayers.  

I am using the following config: 

 <LevelZeroTileSizeDegrees>2.25</LevelZeroTileSizeDegrees> 
  <NumberLevels>6</NumberLevels> 
  <TextureSizePixels>512</TextureSizePixels> 
  <ImageFileExtension>jpg</ImageFileExtension> 
- <ImageTileService>
  <ServerUrl>http://worldwind25.arc.nasa.gov/tile/tile.aspx</ServerUrl> 
  <DataSetName>geocover2000</DataSetName> 

of  GeoCover 2000 from 
http://worldwind25.arc.nasa.gov/layerConfig/earthimages.xml 

You can see the tiles e.g.
http://worldwind25.arc.nasa.gov/tile/tile.aspx?T=geocover2000&L=2&X=358&Y=246

I understand the World Wind maxResolution on Level zero : 36 degree 

http://issues.worldwind.arc.nasa.gov/confluence/download/attachments/394/world+wind+tile+systemt.gif 

The resolution is unit per pixels => Resolution (level zero) := 36 / 512 =
0.0703125 this is 

equivalent to LZTD (level zero tiles degree) = 2.25  ?

So I am trying with following snippet:

   <script type="text/javascript">
        var map;
        function init(){
                           
            var mapOptions = { maxResolution: 0.0703125, numZoomLevels: 21};
            map = new OpenLayers.Map('map', mapOptions);
            
            var ww = new OpenLayers.Layer.WorldWind( "GeoCover 2000",
                "http://worldwind25.arc.nasa.gov/tile/tile.aspx?", 2.25, 6,
                {T:"geocover2000"}, { tileSize: new OpenLayers.Size(512,512)
});

            map.addLayers([ww]);
            map.addControl(new OpenLayers.Control.LayerSwitcher());
            map.setCenter(new OpenLayers.LonLat(-71.446875, 41.73515625),
15);

        }
        
    </script>


but wihout success, the tile result is ../img/blank.gif .

I am afraid that I don't understand the usage of World Wind in OpenLayers.

Regards
Friedhold


-- 
View this message in context: http://n2.nabble.com/World-Wind-tiles-of-GeoCover-2000---not-success-tp3362489p3362489.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list