vectie/moonmoon/src/core does not have a README file

    DatasetId

    type DatasetId = String

    SiteId

    type SiteId = String

    TileId

    type TileId = String

    ClaimKind

    pub(all) enum ClaimKind {
    Measured
    Derived
    Simulated
    Assumed
    Unknown
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    LunarBounds

    pub(all) struct LunarBounds {
    south_deg : Double
    north_deg : Double
    west_deg : Double
    east_deg : Double
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    LunarCoordinate

    pub(all) struct LunarCoordinate {
    latitude_deg : Double
    longitude_deg : Double
    radius_m : Double
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    LunarSite

    pub(all) struct LunarSite {
    site_id : String
    name : String
    body : String
    bounds : LunarBounds
    center : LunarCoordinate
    purpose : String
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    Provenance

    pub(all) struct Provenance {
    dataset_id : String
    source_title : String
    source_url : String
    license : String
    product_type : String
    claim_kind : ClaimKind
    generated_by : String
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    TerrainCell

    pub(all) struct TerrainCell {
    tile_id : String
    row : Int
    col : Int
    elevation_m : Double
    provenance : Provenance
    uncertainty : Uncertainty
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    Uncertainty

    pub(all) struct Uncertainty {
    confidence : Double
    label : String
    note : String
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    claim_kind_label

    fn claim_kind_label(kind : ClaimKind) -> String

    confidence_label

    fn confidence_label(confidence : Double) -> String

    derived_provenance

    fn derived_provenance(source : Provenance, generated_by : String, product_type : String) -> Provenance

    measured_provenance

    fn measured_provenance(dataset_id : String, source_title : String, source_url : String, license : String, product_type : String) -> Provenance

    uncertainty

    fn uncertainty(confidence : Double, note : String) -> Uncertainty

    Source Files