@mangosystem/ogc-schemas
Version:
Jsonix XML-JSON mappings for OGC Schemas.
200 lines • 7.86 kB
text/xml
<sa:SamplingCurve gml:id="b1"
xmlns:swe="http://www.opengis.net/swe/1.0.1"
xmlns:om="http://www.opengis.net/om/1.0"
xmlns:sa="http://www.opengis.net/sampling/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:gml="http://www.opengis.net/gml"
xmlns:cv="http://www.opengis.net/cv/0.2.1"
xsi:schemaLocation="http://www.opengis.net/swe/1.0.1 http://schemas.opengis.net/sweCommon/1.0.1/swe.xsd
http://www.opengis.net/cv/0.2.1 http://bp.schemas.opengis.net/06-188r1/cv/0.2.1/cv.xsd
http://www.opengis.net/om/1.0 http://schemas.opengis.net/om/1.0.0/om.xsd
http://www.opengis.net/sampling/1.0 http://schemas.opengis.net/sampling/1.0.0/sampling.xsd">
<gml:description>Geology borehole
Encoded as a SamplingCurve
With three logs encoded as the results of relatedObservations</gml:description>
<gml:name codeSpace="http://my.geology.custodian.org/projects/2007">b1</gml:name>
<gml:boundedBy>
<gml:Envelope srsName="urn:ogc:def:crs:EPSG:6.8:4283"><!-- 2D CRS -->
<gml:lowerCorner>-30.7117 134.2053</gml:lowerCorner>
<gml:upperCorner>-30.7111 134.2059</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<sa:sampledFeature xlink:href="http://my.geology.custodian.org/unit/g345"/>
<sa:sampledFeature xlink:href="http://my.geology.custodian.org/unit/g347"/>
<sa:relatedObservation>
<om:Observation gml:id="b1_lith1">
<gml:description>Lithology log
Result is encoded using OGC Discrete Coverage/interleaved pattern</gml:description>
<om:samplingTime>
<gml:TimeInstant>
<gml:timePosition>2007-06-06T17:20:30.00+08:00</gml:timePosition>
</gml:TimeInstant>
</om:samplingTime>
<om:procedure xlink:href="http://www.csiro.au/people/ps205.html"/>
<om:observedProperty xlink:href="urn:ogc:def:phenomenon:CGI:2007:lithology"/>
<om:featureOfInterest xlink:href="../../../.."/>
<om:result>
<cv:CV_DiscreteCoverage>
<cv:domainExtent xlink:href="#b1_ls1"/>
<cv:rangeType xlink:href="urn:ogc:def:phenomenon:CGI:2007:lithology"/>
<cv:element><!-- maybe a specialized interval-value pair should be developed for this common case? -->
<cv:CV_GeometryValuePair>
<cv:geometry>
<cv:CV_DomainObject>
<cv:spatialElement>
<gml:LineString srsName="#b1_ls1" srsDimension="1"><!-- positions given in 1D CRS defined by borehole shape -->
<gml:pos>0.0</gml:pos>
<gml:pos>5.6</gml:pos>
</gml:LineString>
</cv:spatialElement>
</cv:CV_DomainObject>
</cv:geometry>
<cv:value xsi:type="gml:CodeType" codeSpace="http://www.cgi-iugs.org/geoSciML/vocabulary/lithology/2007">Laterite</cv:value>
</cv:CV_GeometryValuePair>
</cv:element>
<cv:element>
<cv:CV_GeometryValuePair>
<cv:geometry>
<cv:CV_DomainObject>
<cv:spatialElement>
<gml:LineString srsName="#b1_ls1" srsDimension="1">
<gml:pos>5.6</gml:pos>
<gml:pos>35.0</gml:pos>
</gml:LineString>
</cv:spatialElement>
</cv:CV_DomainObject>
</cv:geometry>
<cv:value xsi:type="gml:CodeType" codeSpace="http://www.cgi-iugs.org/geoSciML/vocabulary/lithology/2007">Granite</cv:value>
</cv:CV_GeometryValuePair>
</cv:element>
<cv:element>
<cv:CV_GeometryValuePair>
<cv:geometry>
<cv:CV_DomainObject>
<cv:spatialElement>
<gml:LineString srsName="#b1_ls1" srsDimension="1">
<gml:pos>35.6</gml:pos>
<gml:pos>55.0</gml:pos>
</gml:LineString>
</cv:spatialElement>
</cv:CV_DomainObject>
</cv:geometry>
<cv:value xsi:type="gml:CodeType" codeSpace="http://www.cgi-iugs.org/geoSciML/vocabulary/lithology/2007">Dacite</cv:value>
</cv:CV_GeometryValuePair>
</cv:element>
</cv:CV_DiscreteCoverage>
</om:result>
</om:Observation>
</sa:relatedObservation>
<sa:relatedObservation>
<om:Observation gml:id="b1_ms1">
<gml:description>Magnetic susceptibility log
Result is encoded using SWE Common "DataArray" element, which embeds values in a text string</gml:description>
<om:samplingTime>
<gml:TimeInstant>
<gml:timePosition>2007-06-06T14:20:30.00+08:00</gml:timePosition>
</gml:TimeInstant>
</om:samplingTime>
<om:procedure xlink:href="http://www.geophysics.org/MS34"/>
<om:observedProperty xlink:href="urn:ogc:def:phenomenon:CGI:2007:MagneticSusceptibility"/>
<om:featureOfInterest xlink:href="../../../.."/>
<om:result>
<swe:DataArray>
<swe:elementCount>
<swe:Count>
<swe:value>5</swe:value>
</swe:Count>
</swe:elementCount>
<swe:elementType name="MagSusElement">
<swe:DataRecord>
<swe:field name="offset">
<swe:Quantity definition="urn:ogc:def:phenomenon:CGI:2007:offset">
<swe:uom xlink:href="urn:ogc:def:uom:UCUM:m"/>
</swe:Quantity>
</swe:field>
<swe:field name="MagSus">
<swe:Quantity definition="urn:ogc:def:phenomenon:CGI:2007:MagneticSusceptibility">
<swe:uom xlink:href="urn:ogc:def:uom:UCUM:1"/>
</swe:Quantity>
</swe:field>
</swe:DataRecord>
</swe:elementType>
<swe:encoding>
<swe:TextBlock decimalSeparator="." tokenSeparator="," blockSeparator=" "/>
</swe:encoding>
<swe:values>
1.0,0.0568
2.0,0.2568
3.0,0.3568
4.0,0.3578
5.0,0.3597
</swe:values>
</swe:DataArray>
</om:result>
</om:Observation>
</sa:relatedObservation>
<sa:relatedObservation>
<om:Observation gml:id="b1_p1">
<gml:description>Porosity log
Result is encoded using OGC Discrete Point Coverage/interleaved pattern</gml:description>
<om:samplingTime>
<gml:TimeInstant>
<gml:timePosition>2007-06-06T14:20:30.00+08:00</gml:timePosition>
</gml:TimeInstant>
</om:samplingTime>
<om:procedure xlink:href="http://www.geophysics.org/MS34"/>
<om:observedProperty xlink:href="http://sweet.jpl.nasa.gov/ontology/property.owl#Porosity"/>
<om:featureOfInterest xlink:href="../../../.."/>
<om:result>
<cv:CV_DiscretePointCoverage>
<cv:domainExtent xlink:href="#b1_ls1"/>
<cv:rangeType xlink:href="http://sweet.jpl.nasa.gov/ontology/property.owl#Porosity"/>
<cv:element>
<cv:CV_PointValuePair>
<cv:geometry>
<gml:Point srsName="#b1_ls1" srsDimension="1">
<gml:pos>1.0</gml:pos>
</gml:Point>
</cv:geometry>
<cv:value xsi:type="gml:MeasureType" uom="1">0.0568</cv:value>
</cv:CV_PointValuePair>
</cv:element>
<cv:element>
<cv:CV_PointValuePair>
<cv:geometry>
<gml:Point srsName="#b1_ls1" srsDimension="1">
<gml:pos>2.0</gml:pos>
</gml:Point>
</cv:geometry>
<cv:value xsi:type="gml:MeasureType" uom="1">0.0068</cv:value>
</cv:CV_PointValuePair>
</cv:element>
<cv:element>
<cv:CV_PointValuePair>
<cv:geometry>
<gml:Point srsName="#b1_ls1" srsDimension="1">
<gml:pos>3.0</gml:pos>
</gml:Point>
</cv:geometry>
<cv:value xsi:type="gml:MeasureType" uom="1">0.08</cv:value>
</cv:CV_PointValuePair>
</cv:element>
</cv:CV_DiscretePointCoverage>
</om:result>
</om:Observation>
</sa:relatedObservation>
<sa:shape>
<gml:LineString gml:id="b1_ls1" srsName="urn:ogc:def:crs:EPSG:6.8:4347"><!-- 3D CRS -->
<gml:pos>-30.7111 134.2059 321.</gml:pos>
<gml:pos>-30.7112 134.2058 315.</gml:pos>
<gml:pos>-30.7113 134.2057 303.</gml:pos>
<gml:pos>-30.7114 134.2056 296.</gml:pos>
<gml:pos>-30.7115 134.2055 272.</gml:pos>
<gml:pos>-30.7116 134.2054 271.</gml:pos>
<gml:pos>-30.7117 134.2053 270.</gml:pos>
</gml:LineString>
</sa:shape>
<sa:length uom="m">55.</sa:length>
</sa:SamplingCurve>