Thanks for the quick reply.
Yes, they are different. The xml file created by global mapper is specific to the World Wind C# version. World Wind Java uses a different set of tags.
Here is a sample WWC# xml config file.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<LayerSet Name="BMNG" ShowOnlyOneLayer="false" ShowAtStartup="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LayerSet.xsd">
<QuadTileSet ShowAtStartup="true">
<Name>BMNG</Name>
<DistanceAboveSurface>0</DistanceAboveSurface>
<BoundingBox>
<North><Value>135.00000000000000000</Value></North>
<South><Value>-90.00000000000000000</Value></South>
<West><Value>-180.00000000000000000</Value></West>
<East><Value>180.00000000000000000</Value></East>
</BoundingBox>
<Opacity>255</Opacity>
<TerrainMapped>true</TerrainMapped>
<RenderStruts>true</RenderStruts>
<ImageAccessor>
<LevelZeroTileSizeDegrees>45.00000000000000000</LevelZeroTileSizeDegrees>
<NumberLevels>6</NumberLevels>
<TextureSizePixels>512</TextureSizePixels>
<ImageFileExtension>jpg</ImageFileExtension>
<PermanentDirectory>E:\WebSites\tileserver\Tiles\BMNG\</PermanentDirectory>
</ImageAccessor>
<TransparentMinValue>0</TransparentMinValue>
<TransparentMaxValue>20</TransparentMaxValue>
</QuadTileSet>
</LayerSet>
And here is the same dataset in WWJ xml.
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Layer layerType="TiledImageLayer" version="1">
<DisplayName>BMNG</DisplayName>
<DatasetName>BMNG</DatasetName>
<DataCacheName>Earth/BMNG</DataCacheName>
<Service serviceName="WWTileService">
<URL>http://sometileserver.com/default.aspx</URL>
</Service>
<FormatSuffix>.jpg</FormatSuffix>
<NumLevels count="6" numEmpty="0"/>
<Sector>
<SouthWest>
<LatLon latitude="-90.0" longitude="-180.0" units="degrees"/>
</SouthWest>
<NorthEast>
<LatLon latitude="90.0" longitude="180.0" units="degrees"/>
</NorthEast>
</Sector>
<TileOrigin>
<LatLon latitude="-90.0" longitude="-180.0" units="degrees"/>
</TileOrigin>
<TileSize>
<Dimension height="512" width="512"/>
</TileSize>
<LevelZeroTileDelta>
<LatLon latitude="45.0" longitude="45.0" units="degrees"/>
</LevelZeroTileDelta>
<AvailableImageFormats>
<ImageFormat>image/jpg</ImageFormat>
</AvailableImageFormats>
</Layer>
As you can see, there are notable syntax differences.
Bookmarks