local globeIdentifier = asset.require("scene/solarsystem//planets/mercury/mercury").Mercury.Identifier

local layer = {
  Identifier = "MSGR_Sholem_Aleichem_Crater_Wall_Ortho_8m",
  Name = [[MSGR MDIS Mosaic, Sholem Aleichem Crater Wall]],
  FilePath = asset.localResource("MSGR_Sholem_Aleichem_Crater_Wall_Ortho_8m.vrt"),
  Description = [[This is a visible orthoimage for the Sholem Aleichem Crater Wall region on Mercury. This data product class of this data is observational and has been constructed to examine the visible and topographic settings of landforms around Mercury’s hollows. Observations of topography, specifically the relationships of hollows to their surroundings, can be used to investigate hollow formation. The visible image has been orthorectified using a digital elevation model (DEM) created from Mercury Dual Imaging System (MDIS) stereo pair images. The DEM used to generate the orthoimage has been aligned and controlled to Mercury Laser Altimeter (MLA) individual elevation points. The orthoimage was then projected onto the DEM and exported. This ortho image has been generated at a resolution of 8m/pixel.]]
}
  
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)


asset.meta = {
  Name = [[MSGR MDIS Mosaic, Sholem Aleichem Crater Wall]],
  Version = "1.0",
  Author = "NASA/Treks",
  URL = "https://trek.nasa.gov/mercury/#v=0.1&x=0&y=0&z=1&p=urn:ogc:def:crs:IAU2000::19900&d=&l=MSGR_Sholem_Aleichem_Crater_Wall_Ortho_8m%2Ctrue%2C1&b=mercury&e=-180.0%2C-90.0%2C180.0%2C90.0&sfv=&w=",
  License = "NASA/Treks",
  Description = [[MSGR MDIS Mosaic, Sholem Aleichem Crater Wall layer from NASA/Treks for Mercury]]
}
