Feature/venus magellan (#1020)

* Updated Venus asset and added wms for Magellan mosaic imagery

* Adding Magellan height layer
This commit is contained in:
Gene Payne
2019-12-11 13:30:52 -07:00
committed by GitHub
parent 9a50b27b27
commit 3e23e4323c
3 changed files with 67 additions and 8 deletions
@@ -0,0 +1,21 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://openspace.sci.utah.edu/Venus/MagellanDEM/tile/${z}/${y}/${x}</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<SizeX>8192</SizeX>
<SizeY>4096</SizeY>
<TileLevel>4</TileLevel>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>GEOGCS["GCS_Venus",DATUM["D_Venus",SPHEROID["Venus",6051000,0]],PRIMEM["Reference_Meridian",0],UNIT["Degree",0.0174532925199433]]</Projection>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>1</BandsCount>
<MaxConnections>10</MaxConnections>
<Timeout>5</Timeout>
</GDAL_WMS>
@@ -0,0 +1,21 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>http://openspace.sci.utah.edu/Venus/MagellanMosaic/tile/${z}/${y}/${x}</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>84.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-80.0</LowerRightY>
<SizeX>506928</SizeX>
<SizeY>230948</SizeY>
<TileLevel>9</TileLevel>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>GEOGCS["GCS_Venus",DATUM["D_Venus",SPHEROID["Venus_localRadius",6051000,0]],PRIMEM["Reference_Meridian",0],UNIT["Degree",0.0174532925199433]]</Projection>
<BlockSizeX>512</BlockSizeX>
<BlockSizeY>512</BlockSizeY>
<BandsCount>1</BandsCount>
<MaxConnections>10</MaxConnections>
<Timeout>5</Timeout>
</GDAL_WMS>
@@ -4,7 +4,7 @@ asset.require("spice/base")
asset.request('./trail')
local labelsPath = asset.require('./venus_labels').LabelsPath
local mapServiceConfigs = asset.localResource("map_service_configs")
local textures = asset.syncedResource({
Name = "Venus Textures",
@@ -13,6 +13,28 @@ local textures = asset.syncedResource({
Version = 1
})
local color_layers = {
{
Identifier = "Texture",
FilePath = textures .. "/venus.jpg",
Enabled = true
},
{
Identifier = "Magellan_Mosaic_Utah",
Name = "Magellan Mosaic [Utah]",
FilePath = mapServiceConfigs .. "/Utah/MagellanMosaic.wms"
}
}
local height_layers = {
{
Identifier = "Magellan",
Name = "Magellan Elevation [Utah]",
FilePath = mapServiceConfigs .. "/Utah/MagellanDEM.wms",
TilePixelSize = 64
}
}
local Venus = {
Identifier = "Venus",
Parent = transforms.VenusBarycenter.Identifier,
@@ -33,13 +55,8 @@ local Venus = {
Radii = { 6051900.0, 6051900.0, 6051800.0 },
SegmentsPerPatch = 64,
Layers = {
ColorLayers = {
{
Identifier = "Texture",
FilePath = textures .. "/venus.jpg",
Enabled = true
}
}
ColorLayers = color_layers,
HeightLayers = height_layers
},
Labels = {
Enable = false,