gdal-async
Version:
Bindings to GDAL (Geospatial Data Abstraction Library) with full async support
47 lines (45 loc) • 2.18 kB
text/xml
<eop:EarthObservation
gml:id="GMLID_{{{XPATH(uuid())}}}"
xmlns:eop="http://www.opengis.net/eop/2.0"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:om="http://www.opengis.net/om/2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/eop/2.0 http://schemas.opengis.net/omeo/1.0/eop.xsd http://www.opengis.net/om/2.0 http://schemas.opengis.net/om/2.0/observation.xsd">
<om:phenomenonTime>
<gml:TimeInstant gml:id="GMLID_{{{XPATH(uuid())}}}">
<gml:timePosition>{{{XPATH(//PRODUCTION_DATE/text())}}}</gml:timePosition>
</gml:TimeInstant>
</om:phenomenonTime>
<om:resultTime />
<om:procedure>
<eop:EarthObservationEquipment gml:id="GMLID_{{{XPATH(uuid())}}}">
<eop:platform>
<eop:Platform>
<eop:shortName>{{{XPATH(//PRODUCT_CODE/text())}}}</eop:shortName>
</eop:Platform>
</eop:platform>
<eop:instrument>
<eop:Instrument>
<eop:shortName>{{{XPATH(//PRODUCT_CODE/text())}}}</eop:shortName>
</eop:Instrument>
</eop:instrument>
<eop:sensor>
<eop:Sensor>
<eop:sensorType>{{{XPATH(//DATASET_TYPE/text())}}}</eop:sensorType>
<eop:operationalMode>{{{XPATH(if(//PAN_RESTORATION/text() = 'true','P',if(//MS_RESTORATION/text() = 'true','Multi','Unknown')))}}}</eop:operationalMode>
<eop:resolution uom="{{{XPATH(string(//RESAMPLING_SPACING/@unit))}}}">{{{XPATH(//RESAMPLING_SPACING/text())}}}</eop:resolution>
</eop:Sensor>
</eop:sensor>
</eop:EarthObservationEquipment>
</om:procedure>
<om:observedProperty />
<om:featureOfInterest />
<om:result />
<eop:metaDataProperty>
<eop:EarthObservationMetaData>
<eop:identifier>{{{XPATH(uuid())}}}</eop:identifier>
<eop:acquisitionType>NOMINAL</eop:acquisitionType>
<eop:status>ACQUIRED</eop:status>
</eop:EarthObservationMetaData>
</eop:metaDataProperty>
</eop:EarthObservation>