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

local layer = {
  Identifier = "MSGR_near_Geddes_Crater_Slope_100m",
  Name = [[MSGR MDIS Slope, Crater near Geddes Crater]],
  FilePath = asset.localResource("MSGR_near_Geddes_Crater_Slope_100m.vrt"),
  Description = [[This is a slope product of the digital elevation model (DEM) for the Crater Near Geddes Crater region on Mercury. This data product class of this data is observational and has been constructed to examine the 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. This DEM has been derived from Mercury Dual Imaging System (MDIS) data and has been generated at a resolution of 100m/pixel. The DEM has been aligned and controlled to Mercury Laser Altimeter (MLA) individual elevation points. Vertical offsets in this DEM have been roughly corrected relative to the USGS’s 665m Global DEM of Mercury. DEM elevation values are in meters and referred to a radius of 2440000m. Slope values are in degrees with a minimum value of 0 and a maximum value of 42.451.]]
}
  
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 Slope, Crater near Geddes Crater]],
  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_near_Geddes_Crater_Slope_100m%2Ctrue%2C1&b=mercury&e=-180.0%2C-90.0%2C180.0%2C90.0&sfv=&w=",
  License = "NASA/Treks",
  Description = [[MSGR MDIS Slope, Crater near Geddes Crater layer from NASA/Treks for Mercury]]
}
