mdTranslator

Architecture

Internal Object


geoElement:

The geoElement object describes a geographic object that comprises all or part of the extent. The geographic object may be a bounding box, point, linestring, polygon, or textual description. The geoElement also allows for multi-point, multi-line, and multi-polygon definitions.

    def newGeoElement
        intObj = {
            elementId: nil,
            elementIncludeData: nil,
            elementName: nil,
            elementDescription: nil,
            temporalElements: [],
            verticalElements: [],
            elementIdentifiers: [],
            elementScope: nil,
            elementAcquisition: nil,
            elementSrs: {},
            elementGeometry: {}
        }
    end

elementId: string - a unique ID assigned by the user to identify this geographic element

elementIncludeData: boolean - indicates if the boundary of the geographic element encompasses the resource or excludes the resource. true = encompasses resource; false = excludes resource

elementName: string - a user assigned name for the geographic element

elementDescription: string - a brief description of the geographic element

temporalElements: array - an array of temporalElement objects each describing a temporal boundary comprising all or portion of the geographic element

verticalElements: array - an array of verticalElement objects each describing a vertical boundary comprising all or portion of the geographic element

elementIdentifiers: array - an array of resourceId objects each defining an identifier assigned to this geographic element

elementScope: string - a brief statement describing the portion of the extent covered by this geographic element

elementAcquisition: string - a brief statement of the method used to determine the position of the geographic element

elementSrs: object - an SRS object describing the spatial reference system for the geographic element

elementGeometry: object (required) - can be either a boundingBox or geometry object that describes a point, lineString, or polygon.