<?xml version="1.0" encoding="UTF-8"?>
<!-- Example of a BRGM borehole encoded 	as a collection of lithology observations and age observations
      As in this example we assume that lithologies and ages are observations, lithologies and ages are encoded according to the O&M schema -->
<gsml:Borehole
	xmlns:om="http://www.opengis.net/om/1.0"
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:sa="http://www.opengis.net/sampling/1.0"
	xmlns:gml="http://www.opengis.net/gml"
	xmlns:cv="http://www.opengis.net/cv/0.2.1"
	xmlns:xlink="http://www.w3.org/1999/xlink"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0"
	xmlns:wfs="http://www.opengis.net/wfs"
	xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.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
	urn:cgi:xmlns:CGI:GeoSciML:2.0 http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd"
	gml:id="bh.30303239375830303131">
	<gml:name
		codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:feature:BRGM:00297X0011</gml:name>
	<gml:boundedBy>
		<!-- The envelope is not mandatory. EPSG:6.15:7412 is the 3D projection system of France -->
		<gml:Envelope
			srsName="urn:ogc:def:crs:EPSG:6.15:7412">
			<gml:lowerCorner>709211 2582700 119.9</gml:lowerCorner>
			<gml:upperCorner>709211 2582700 137.6</gml:upperCorner>
		</gml:Envelope>
	</gml:boundedBy>
	<!-- The geologic units crossed by the borehole
          These geologic units can be got from the BRGM stratigraphic lexicon -->
	<sa:sampledFeature
		xlink:href="urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F001"/>
	<sa:sampledFeature
		xlink:href="urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F010"/>
	<sa:sampledFeature
		xlink:href="urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F145"/>
	<!-- Lithologies encoded according to the O&M schema -->
	<sa:relatedObservation>
		<om:Observation
			gml:id="bh.30303239375830303131.lithology.1">
			<om:samplingTime
				xlink:href="urn:ogc:def:nil:OGC:unknown"/>
			<om:procedure
				xlink:href="urn:cgi:classifier:CGI:FeatureObservationMethod:drill_core_observation_estimated_values"/>
			<om:observedProperty
				xlink:href="urn:cgi:propertyType:CGI:GeoSciML:2.0:CompositionPart:lithology"/>
			<om:featureOfInterest
				xlink:role="urn:cgi:featureType:CGI:GeoSciML:2.0:GeologicUnit"
				xlink:href="urn:ogc:def:nil:OGC:unknown"/>
			<om:result>
				<cv:CV_DiscreteCoverage>
					<cv:domainExtent
						xlink:href="#bh.30303239375830303131.Shape"/>
					<cv:rangeType
						xlink:href="urn:ogc:def:nil:OGC:unknown"/>
					<cv:element>
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<cv:CV_DomainObject>
									<cv:spatialElement>
										<!-- An identifier is defined for the geometry of the interval in order to refer to this geometry in another set of observations. The aim is to not duplicate -->
										<gml:LineString
											srsName="#bh.30303239375830303131.Shape"
											srsDimension="1"
											gml:id="bh.30303239375830303131.1">
											<gml:pos>0</gml:pos>
											<gml:pos>0.4</gml:pos>
										</gml:LineString>
									</cv:spatialElement>
								</cv:CV_DomainObject>
							</cv:geometry>
							<!-- Lithology value according to the CGI simple lithology dictionnary -->
							<cv:value
								xsi:type="gml:ReferenceType"
								xlink:href="urn:cgi:classifier:CGI:SimpleLithology:2008:anthropogenic_unconsolidated_material"/>
						</cv:CV_GeometryValuePair>
					</cv:element>
					<cv:element>
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<cv:CV_DomainObject>
									<cv:spatialElement>
										<!-- An identifier is defined for the geometry of the interval in order to refer to this geometry in another set of observations. The aim is to not duplicate -->
										<gml:LineString
											srsName="#bh.30303239375830303131.Shape"
											srsDimension="1"
											gml:id="bh.30303239375830303131.2">
											<gml:pos>0.4</gml:pos>
											<gml:pos>2</gml:pos>
										</gml:LineString>
									</cv:spatialElement>
								</cv:CV_DomainObject>
							</cv:geometry>
							<!-- Lithology value according to the CGI simple lithology dictionnary -->
							<cv:value
								xsi:type="gml:ReferenceType"
								xlink:href="urn:cgi:classifier:CGI:SimpleLithology:2008:sedimentary_rock"/>
						</cv:CV_GeometryValuePair>
					</cv:element>
					<cv:element>
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<cv:CV_DomainObject>
									<cv:spatialElement>
										<!-- An identifier is defined for the geometry of the interval in order to refer to this geometry in another set of observations. The aim is to not duplicate -->
										<gml:LineString
											srsName="#bh.30303239375830303131.Shape"
											srsDimension="1"
											gml:id="bh.30303239375830303131.3">
											<gml:pos>2</gml:pos>
											<gml:pos>10.8</gml:pos>
										</gml:LineString>
									</cv:spatialElement>
								</cv:CV_DomainObject>
							</cv:geometry>
							<!-- Lithology value according to the CGI simple lithology dictionnary -->
							<cv:value
								xsi:type="gml:ReferenceType"
								xlink:href="urn:cgi:classifier:CGI:SimpleLithology:2008:sand"/>
						</cv:CV_GeometryValuePair>
					</cv:element>
					<cv:element>
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<cv:CV_DomainObject>
									<cv:spatialElement>
										<!-- An identifier is defined for the geometry of the interval in order to refer to this geometry in another set of observations. The aim is to not duplicate -->
										<gml:LineString
											srsName="#bh.30303239375830303131.Shape"
											srsDimension="1"
											gml:id="bh.30303239375830303131.4">
											<gml:pos>10.8</gml:pos>
											<gml:pos>17.5</gml:pos>
										</gml:LineString>
									</cv:spatialElement>
								</cv:CV_DomainObject>
							</cv:geometry>
							<!-- Lithology value according to the CGI simple lithology dictionnary -->
							<cv:value
								xsi:type="gml:ReferenceType"
								xlink:href="urn:cgi:classifier:CGI:SimpleLithology:2008:non_clastic_siliceous_sediment"/>
						</cv:CV_GeometryValuePair>
					</cv:element>
					<cv:element>
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<cv:CV_DomainObject>
									<cv:spatialElement>
										<!-- An identifier is defined for the geometry of the interval in order to refer to this geometry in another set of observations. The aim is to not duplicate -->
										<gml:LineString
											srsName="#bh.30303239375830303131.Shape"
											srsDimension="1"
											gml:id="bh.30303239375830303131.5">
											<gml:pos>17.5</gml:pos>
											<gml:pos>17.7</gml:pos>
										</gml:LineString>
									</cv:spatialElement>
								</cv:CV_DomainObject>
							</cv:geometry>
							<!-- Lithology value according to the CGI simple lithology dictionnary -->
							<cv:value
								xsi:type="gml:ReferenceType"
								xlink:href="urn:cgi:classifier:CGI:SimpleLithology:2008:calcareous_carbonate_sedimentary_rock"/>
						</cv:CV_GeometryValuePair>
					</cv:element>
				</cv:CV_DiscreteCoverage>
			</om:result>
		</om:Observation>
	</sa:relatedObservation>
	<!-- Ages encoded according to the O&M schema -->
	<sa:relatedObservation>
		<om:Observation
			gml:id="bh.30303239375830303131.eventAge.1">
			<om:samplingTime
				xlink:href="urn:ogc:def:nil:OGC:unknown"/>
			<om:procedure
				xlink:href="urn:cgi:classifier:CGI:FeatureObservationMethod:drill_core_observation_estimated_values"/>
			<om:observedProperty
				xlink:href="urn:cgi:propertyType:CGI:GeoSciML:2.0:GeologicEvent:eventAge"/>
			<om:featureOfInterest
				xlink:role="urn:cgi:featureType:CGI:GeoSciML:2.0:GeologicUnit"
				xlink:href="urn:ogc:def:nil:OGC:unknown"/>
			<om:result>
				<cv:CV_DiscreteCoverage>
					<cv:domainExtent
						xlink:href="#bh.30303239375830303131.Shape"/>
					<cv:rangeType
						xlink:href="urn:ogc:def:nil:OGC:unknown"/>
					<cv:element>
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<!-- As the geometry of this interval has been previsouly defined, we refer to it -->
								<cv:CV_DomainObject>
									<cv:spatialElement
										xlink:href="#bh30303239375830303131.1"/>
								</cv:CV_DomainObject>
							</cv:geometry>
							<!-- Age value according to the stratigraphic chart dictionnary -->
							<cv:value
								xsi:type="gml:ReferenceType"
								xlink:href="urn:cgi:classifier:ICS:StratChart:2008:Holocene"/>
						</cv:CV_GeometryValuePair>
					</cv:element>
					<cv:element>
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<!-- As the geometry of this interval has been previsouly defined, we refer to it -->
								<cv:CV_DomainObject>
									<cv:spatialElement
										xlink:href="#bh30303239375830303131.2"/>
								</cv:CV_DomainObject>
							</cv:geometry>
							<!-- Age value according to the stratigraphic chart dictionnary -->
							<cv:value
								xsi:type="gml:ReferenceType"
								xlink:href="urn:cgi:classifier:ICS:StratChart:2008:Quaternary"/>
						</cv:CV_GeometryValuePair>
					</cv:element>
					<cv:element>
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<!-- As the geometry of this interval has been previsouly defined, we refer to it -->
								<cv:CV_DomainObject>
									<cv:spatialElement
										xlink:href="#bh30303239375830303131.3"/>
								</cv:CV_DomainObject>
							</cv:geometry>
							<!-- Age value according to the stratigraphic chart dictionnary -->
							<cv:value
								xsi:type="gml:ReferenceType"
								xlink:href="urn:cgi:classifier:ICS:StratChart:2008:Quaternary"/>
						</cv:CV_GeometryValuePair>
					</cv:element>
					<cv:element>
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<!-- As the geometry of this interval has been previsouly defined, we refer to it -->
								<cv:CV_DomainObject>
									<cv:spatialElement
										xlink:href="#bh30303239375830303131.4"/>
								</cv:CV_DomainObject>
							</cv:geometry>
							<!-- Age value according to the stratigraphic chart dictionnary -->
							<cv:value
								xsi:type="gml:ReferenceType"
								xlink:href="urn:cgi:classifier:ICS:StratChart:2008:Tournaisian"/>
						</cv:CV_GeometryValuePair>
					</cv:element>
					<cv:element>
						<cv:CV_GeometryValuePair>
							<cv:geometry>
								<!-- As the geometry of this interval has been previsouly defined, we refer to it -->
								<cv:CV_DomainObject>
									<cv:spatialElement
										xlink:href="#bh30303239375830303131.5"/>
								</cv:CV_DomainObject>
							</cv:geometry>
							<!-- Age value according to the stratigraphic chart dictionnary -->
							<cv:value
								xsi:type="gml:ReferenceType"
								xlink:href="urn:cgi:classifier:ICS:StratChart:2008:Tournaisian"/>
						</cv:CV_GeometryValuePair>
					</cv:element>
				</cv:CV_DiscreteCoverage>
			</om:result>
		</om:Observation>
	</sa:relatedObservation>
	<sa:shape>
		<!-- EPSG:7412 is a 3D coordinate projection system composed of the 2D coordinate projection system EPSG:27582 for X and Y and of the the 1D coordinate projection system EPSG:5719 for the elevation -->
		<gml:LineString
			gml:id="bh.30303239375830303131.Shape"
			srsName="urn:ogc:def:crs:EPSG:6.15:7412"
			srsDimension="3">
			<gml:pos>709211 2582700 137.6</gml:pos>
			<gml:pos>709211 2582700 119.9</gml:pos>
		</gml:LineString>
	</sa:shape>
	<sa:length
		uom="urn:ogc:def:uom:UCUM:m">17.7</sa:length>
	<gsml:collarLocation>
		<gsml:BoreholeCollar>
			<gsml:location>
				<!-- 2D location of the collar. EPSG:6.15:27582 is the 2D projection system of France -->
				<gml:Point
					srsName="urn:ogc:def:crs:EPSG:6.15:27582"
					srsDimension="2">
					<gml:pos>709211 2582700</gml:pos>
				</gml:Point>
			</gsml:location>
			<!-- Elevation of the collar. EPSG:6.15:5719 is the elevation projection system of France -->
			<gsml:elevation
				srsName="urn:ogc:def:crs:EPSG:6.15:5719">137.6</gsml:elevation>
		</gsml:BoreholeCollar>
	</gsml:collarLocation>
</gsml:Borehole>
