local globeIdentifier = asset.require("scene/solarsystem//planets/earth/moon/moon").Moon.Identifier

local layer = {
  Identifier = "LRO_LOLA_ClrShade_NPole75_30mp_v04_EQ",
  Name = [[LRO LOLA DEM, N Pole, 75 deg, ColorHillshade]],
  FilePath = asset.localResource("LRO_LOLA_ClrShade_NPole75_30mp_v04_EQ.vrt"),
  Description = [[This is version 4 of the LRO LOLA North Pole 75 deg DEM, ColorHillshade. This is a colorized shaded-relief of a original polar LOLA Digital Elevation Model (DEM). The DEM is a shape map (radius) of the Moon at a resolution 100 meters per pixel, based on altimetry data acquired through Spetember 2011 by the LOLA instrument. The ground tracks were interpolated using the Generic Mapping Tools programs "surface" and "grdblend". Map values are referred to a radius of 1737400 m.]]
}
  
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 = [[LRO LOLA DEM, N Pole, 75 deg, ColorHillshade]],
  Version = "1.0",
  Author = "NASA/Treks",
  URL = "https://trek.nasa.gov/moon/#v=0.1&x=0&y=0&z=1&p=urn:ogc:def:crs:EPSG::104903&d=&l=LRO_LOLA_ClrShade_NPole75_30mp_v04_EQ%2Ctrue%2C1&b=moon&e=-180.0%2C-90.0%2C180.0%2C90.0&sfv=&w=",
  License = "NASA/Treks",
  Description = [[LRO LOLA DEM, N Pole, 75 deg, ColorHillshade layer from NASA/Treks for Moon]]
}
