adding sample moon treks layers

This commit is contained in:
Micah Acinapura
2022-04-08 13:29:29 -04:00
parent 48b89a08a6
commit f1aef3b8a3
9 changed files with 281 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
local globeIdentifier = asset.require("scene/solarsystem/planets/earth/moon/moon").Moon.Identifier
local layer = {
Identifier = "Titan_global_32ppd_ColorRatio_v2",
Name = "Apollo 15 Metric Cam DEM, Colorized Confidence",
FilePath = asset.localResource("Apollo15_MetricCam_ClrConf_Global_1024ppd.wms")
}
asset.onInitialize(function()
openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.onDeinitialize(function()
openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", layer.Identifier)
end)
asset.export("layer", layer)

View File

@@ -0,0 +1,48 @@
<VRTDataset rasterXSize="16384" rasterYSize="8192">
<SRS dataAxisToSRSAxisMapping="1,2">GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400,0]],PRIMEM["Reference_Meridian",0],UNIT["degree",0.0174532925199433],AXIS["Longitude",EAST],AXIS["Latitude",NORTH]]</SRS>
<GeoTransform> -1.8000000000000000e+02, 2.1972656250000000e-02, 0.0000000000000000e+00, 9.0000000000000000e+01, 0.0000000000000000e+00, -2.1972656250000000e-02</GeoTransform>
<VRTRasterBand dataType="Byte" band="1">
<ColorInterp>Red</ColorInterp>
<SimpleSource>
<SourceFilename relativeToVRT="1">Apollo15_MetricCam_ClrConf_Global_1024ppd.wms</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="16384" RasterYSize="8192" DataType="Byte" BlockXSize="256" BlockYSize="256" />
<SrcRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<DstRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
</SimpleSource>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="2">
<ColorInterp>Green</ColorInterp>
<SimpleSource>
<SourceFilename relativeToVRT="1">Apollo15_MetricCam_ClrConf_Global_1024ppd.wms</SourceFilename>
<SourceBand>2</SourceBand>
<SourceProperties RasterXSize="16384" RasterYSize="8192" DataType="Byte" BlockXSize="256" BlockYSize="256" />
<SrcRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<DstRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
</SimpleSource>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="3">
<ColorInterp>Blue</ColorInterp>
<SimpleSource>
<SourceFilename relativeToVRT="1">Apollo15_MetricCam_ClrConf_Global_1024ppd.wms</SourceFilename>
<SourceBand>3</SourceBand>
<SourceProperties RasterXSize="16384" RasterYSize="8192" DataType="Byte" BlockXSize="256" BlockYSize="256" />
<SrcRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<DstRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
</SimpleSource>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="4">
<NoDataValue>0</NoDataValue>
<ColorInterp>Alpha</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">Apollo15_MetricCam_ClrConf_Global_1024ppd.wms</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="16384" RasterYSize="8192" DataType="Byte" BlockXSize="256" BlockYSize="256" />
<SrcRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<DstRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<ScaleOffset>255</ScaleOffset>
<ScaleRatio>0</ScaleRatio>
<NODATA>0</NODATA>
</ComplexSource>
</VRTRasterBand>
</VRTDataset>

View File

@@ -0,0 +1,24 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>https://trek.nasa.gov/tiles/Moon/EQ/Apollo15_MetricCam_ClrConf_Global_1024ppd/1.0.0//default/default028mm/${z}/${y}/${x}.png</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<TileCountX>2</TileCountX>
<TileCountY>1</TileCountY>
<TileLevel>5</TileLevel>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>
GEOGCS["GCS_Moon_2000",
DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400,0]],
PRIMEM["Reference_Meridian",0],UNIT["degree",0.0174532925199433]]
</Projection>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>10</MaxConnections>
</GDAL_WMS>

View File

@@ -0,0 +1,17 @@
local globeIdentifier = asset.require("scene/solarsystem/planets/earth/moon/moon").Moon.Identifier
local layer = {
Identifier = "Apollo15_MetricCam_Gray_Global_1024ppd",
Name = "Apollo 15 Metric Cam DEM, Grayscale",
FilePath = asset.localResource("Apollo15_MetricCam_Gray_Global_1024ppd.vrt")
}
asset.onInitialize(function()
openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.onDeinitialize(function()
openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", layer.Identifier)
end)
asset.export("layer", layer)

View File

@@ -0,0 +1,54 @@
<VRTDataset rasterXSize="16384" rasterYSize="8192">
<SRS dataAxisToSRSAxisMapping="1,2">GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400,0]],PRIMEM["Reference_Meridian",0],UNIT["degree",0.0174532925199433],AXIS["Longitude",EAST],AXIS["Latitude",NORTH]]</SRS>
<GeoTransform> -1.8000000000000000e+02, 2.1972656250000000e-02, 0.0000000000000000e+00, 9.0000000000000000e+01, 0.0000000000000000e+00, -2.1972656250000000e-02</GeoTransform>
<VRTRasterBand dataType="Byte" band="1">
<NoDataValue>0</NoDataValue>
<ColorInterp>Red</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">Apollo15_MetricCam_Gray_Global_1024ppd.wms</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="16384" RasterYSize="8192" DataType="Byte" BlockXSize="256" BlockYSize="256" />
<SrcRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<DstRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<NODATA>0</NODATA>
</ComplexSource>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="2">
<NoDataValue>0</NoDataValue>
<ColorInterp>Green</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">Apollo15_MetricCam_Gray_Global_1024ppd.wms</SourceFilename>
<SourceBand>2</SourceBand>
<SourceProperties RasterXSize="16384" RasterYSize="8192" DataType="Byte" BlockXSize="256" BlockYSize="256" />
<SrcRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<DstRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<NODATA>0</NODATA>
</ComplexSource>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="3">
<NoDataValue>0</NoDataValue>
<ColorInterp>Blue</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">Apollo15_MetricCam_Gray_Global_1024ppd.wms</SourceFilename>
<SourceBand>3</SourceBand>
<SourceProperties RasterXSize="16384" RasterYSize="8192" DataType="Byte" BlockXSize="256" BlockYSize="256" />
<SrcRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<DstRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<NODATA>0</NODATA>
</ComplexSource>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="4">
<NoDataValue>0</NoDataValue>
<ColorInterp>Alpha</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">Apollo15_MetricCam_Gray_Global_1024ppd.wms</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="16384" RasterYSize="8192" DataType="Byte" BlockXSize="256" BlockYSize="256" />
<SrcRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<DstRect xOff="0" yOff="0" xSize="16384" ySize="8192" />
<ScaleOffset>255</ScaleOffset>
<ScaleRatio>0</ScaleRatio>
<NODATA>0</NODATA>
</ComplexSource>
</VRTRasterBand>
</VRTDataset>

View File

@@ -0,0 +1,26 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>https://trek.nasa.gov/tiles/Moon/EQ/Apollo15_MetricCam_Gray_Global_1024ppd/1.0.0//default/default028mm/${z}/${y}/${x}.png</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<TileCountX>2</TileCountX>
<TileCountY>1</TileCountY>
<TileLevel>5</TileLevel>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>
GEOGCS["GCS_Moon_2000",
DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400,0]],
PRIMEM["Reference_Meridian",0],UNIT["degree",0.0174532925199433]]
</Projection>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>10</MaxConnections>
<DataValues NoData="0" Min="1" Max="255"/>
<ZeroBlockHttpCodes>404,400</ZeroBlockHttpCodes>
</GDAL_WMS>

View File

@@ -0,0 +1,18 @@
local globeIdentifier = asset.require("scene/solarsystem/planets/earth/moon/moon").Moon.Identifier
local layer = {
Identifier = "Kaguya_LGM2011_FreeairGravity_Colorized_Global_mgal3m_20ppd",
Name = "Kaguya LGM2011 Freeair Gravity, Colorized",
Description = [[This is an 8bit colorized version for the LGM2011 free-air gravity anomalies are the sum of Newtonian and SGM100i (SELENE gravity field model), which reflect those parts of the lunar mass distribution that depart from a sphere of homogeneous density. ]],
FilePath = asset.localResource("Kaguya_LGM2011_FreeairGravity_Colorized_Global_mgal3m_20ppd.vrt")
}
asset.onInitialize(function()
openspace.globebrowsing.addLayer(globeIdentifier, "ColorLayers", layer)
end)
asset.onDeinitialize(function()
openspace.globebrowsing.deleteLayer(globeIdentifier, "ColorLayers", layer.Identifier)
end)
asset.export("layer", layer)

View File

@@ -0,0 +1,52 @@
<VRTDataset rasterXSize="8192" rasterYSize="4096">
<SRS dataAxisToSRSAxisMapping="1,2">GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400,0]],PRIMEM["Reference_Meridian",0],UNIT["degree",0.0174532925199433],AXIS["Longitude",EAST],AXIS["Latitude",NORTH]]</SRS>
<GeoTransform> -1.8000000000000000e+02, 4.3945312500000000e-02, 0.0000000000000000e+00, 9.0000000000000000e+01, 0.0000000000000000e+00, -4.3945312500000000e-02</GeoTransform>
<VRTRasterBand dataType="Byte" band="1">
<NoDataValue>0</NoDataValue>
<ColorInterp>Red</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">Kaguya_LGM2011_FreeairGravity_Colorized_Global_mgal3m_20ppd.wms</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="8192" RasterYSize="4096" DataType="Byte" BlockXSize="256" BlockYSize="256" />
<SrcRect xOff="0" yOff="0" xSize="8192" ySize="4096" />
<DstRect xOff="0" yOff="0" xSize="8192" ySize="4096" />
<NODATA>0</NODATA>
</ComplexSource>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="2">
<NoDataValue>0</NoDataValue>
<ColorInterp>Green</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">Kaguya_LGM2011_FreeairGravity_Colorized_Global_mgal3m_20ppd.wms</SourceFilename>
<SourceBand>2</SourceBand>
<SourceProperties RasterXSize="8192" RasterYSize="4096" DataType="Byte" BlockXSize="256" BlockYSize="256" />
<SrcRect xOff="0" yOff="0" xSize="8192" ySize="4096" />
<DstRect xOff="0" yOff="0" xSize="8192" ySize="4096" />
<NODATA>0</NODATA>
</ComplexSource>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="3">
<NoDataValue>0</NoDataValue>
<ColorInterp>Blue</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">Kaguya_LGM2011_FreeairGravity_Colorized_Global_mgal3m_20ppd.wms</SourceFilename>
<SourceBand>3</SourceBand>
<SourceProperties RasterXSize="8192" RasterYSize="4096" DataType="Byte" BlockXSize="256" BlockYSize="256" />
<SrcRect xOff="0" yOff="0" xSize="8192" ySize="4096" />
<DstRect xOff="0" yOff="0" xSize="8192" ySize="4096" />
<NODATA>0</NODATA>
</ComplexSource>
</VRTRasterBand>
<VRTRasterBand dataType="Byte" band="4">
<ColorInterp>Alpha</ColorInterp>
<ComplexSource>
<SourceFilename relativeToVRT="1">Kaguya_LGM2011_FreeairGravity_Colorized_Global_mgal3m_20ppd.wms</SourceFilename>
<SourceBand>1</SourceBand>
<SourceProperties RasterXSize="8192" RasterYSize="4096" DataType="Byte" BlockXSize="256" BlockYSize="256" />
<SrcRect xOff="0" yOff="0" xSize="8192" ySize="4096" />
<DstRect xOff="0" yOff="0" xSize="8192" ySize="4096" />
<ScaleOffset>255</ScaleOffset>
<ScaleRatio>0</ScaleRatio>
</ComplexSource>
</VRTRasterBand>
</VRTDataset>

View File

@@ -0,0 +1,25 @@
<GDAL_WMS>
<Service name="TMS">
<ServerUrl>https://trek.nasa.gov/tiles/Moon/EQ/Kaguya_LGM2011_FreeairGravity_Colorized_Global_mgal3m_20ppd/1.0.0//default/default028mm/${z}/${y}/${x}.png</ServerUrl>
</Service>
<DataWindow>
<UpperLeftX>-180.0</UpperLeftX>
<UpperLeftY>90.0</UpperLeftY>
<LowerRightX>180.0</LowerRightX>
<LowerRightY>-90.0</LowerRightY>
<TileCountX>2</TileCountX>
<TileCountY>1</TileCountY>
<TileLevel>4</TileLevel>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>
GEOGCS["GCS_Moon_2000",
DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400,0]],
PRIMEM["Reference_Meridian",0],UNIT["degree",0.0174532925199433]]
</Projection>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>10</MaxConnections>
<DataValues NoData="0" Min="1" Max="255"/>
</GDAL_WMS>