<?xml version="1.0" encoding="UTF-8"?>
<!-- Example of a BRGM borehole encoded 	as a collection of geologic units crossed by the borehole
      Ages and lithologies are interpretations encoded as properties of geologic units.
      As a result, we don't use the O&M approach but we use the mapped feature approach -->
<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>
	<!-- Geologic units are sampled -->
	<sa:sampledFeature xlink:role="urn:cgi:featureType:CGI:GeoSciML:2.0:GeologicUnit" xlink:href="urn:ogc:def:nil:OGC:unknown" />
	<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>
	<!-- The list of intervals -->
	<gsml:logElement>
		<gsml:MappedInterval>
			<gsml:observationMethod>
				<gsml:CGI_TermValue>
					<gsml:value codeSpace="http://urn.opengis.net">urn:ogc:def:nil:OGC:missing</gsml:value>
				</gsml:CGI_TermValue>
			</gsml:observationMethod>
			<!-- The geometry of the interval is accurate -->
			<gsml:positionalAccuracy>
				<gsml:CGI_NumericValue>
					<gsml:principalValue uom="urn:ogc:def:uom:UCUM:m">0</gsml:principalValue>
				</gsml:CGI_NumericValue>
			</gsml:positionalAccuracy>
			<!-- Sampling frame : the borehole itself -->
			<gsml:samplingFrame xlink:href="#bh.30303239375830303131"/>
			<!-- The geologic unit crossed by this interval -->
			<gsml:specification>
				<gsml:GeologicUnit gml:id="bh.30303239375830303131.gu1">
					<!-- This geologic unit we are defining inherits from a geologic unit described in the BRGM stratigraphic lexicon.
						  That's the reason why we won't encode the age. The age will be the one of the geologic unit in the stratigraphic lexicon -->
					<gml:name codeSpace="urn:cgi:classifierScheme:BRGM:StratigraphicLexicon">urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F001</gml:name>
					<gsml:observationMethod>
						 <gsml:CGI_TermValue>
							  <gsml:value codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:FeatureObservationMethod:drill_core_observation</gsml:value>
						 </gsml:CGI_TermValue>
					</gsml:observationMethod>
					<gsml:purpose>instance</gsml:purpose>
					<gsml:geologicUnitType xlink:href="urn:cgi:classifier:CGI:GeologicalUnitType:lithostratigraphic"/>
					<gsml:classifier xlink:href="urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F001" />
  					<gsml:composition>
						<gsml:CompositionPart>
							<gsml:role codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:GeologicUnitPartRole:only_part</gsml:role>
							<!-- Lithology according to the CGI simple lithology dictionary -->
							<gsml:lithology xlink:href="urn:cgi:classifier:CGI:SimpleLithology:2008:anthropogenic_unconsolidated_material"/>
							<gsml:proportion>
								<gsml:CGI_TermValue>
									<gsml:value codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:ProportionTerm:2008:all</gsml:value> 
								</gsml:CGI_TermValue>
							</gsml:proportion>
						</gsml:CompositionPart>
					</gsml:composition>
				</gsml:GeologicUnit>
			</gsml:specification>
			<!-- The geometry of the interval -->
			<gsml:shape>
				<gml:LineString srsName="#bh.30303239375830303131.Shape" srsDimension="1">
					<gml:pos>0</gml:pos> 
					<gml:pos>0.4</gml:pos> 
				</gml:LineString>
			</gsml:shape>
		</gsml:MappedInterval>
	</gsml:logElement>
	<gsml:logElement>
		<gsml:MappedInterval>
			<gsml:observationMethod>
				<gsml:CGI_TermValue>
					<gsml:value codeSpace="http://urn.opengis.net">urn:ogc:def:nil:OGC:missing</gsml:value>
				</gsml:CGI_TermValue>
			</gsml:observationMethod>
			<!-- The geometry of the interval is accurate -->
			<gsml:positionalAccuracy>
				<gsml:CGI_NumericValue>
					<gsml:principalValue uom="urn:ogc:def:uom:UCUM:m">0</gsml:principalValue>
				</gsml:CGI_NumericValue>
			</gsml:positionalAccuracy>
			<!-- Sampling frame : the borehole itself -->
			<gsml:samplingFrame xlink:href="#bh.30303239375830303131"/>
			<!-- The geologic unit crossed by this interval -->
			<gsml:specification>
				<gsml:GeologicUnit gml:id="bh.30303239375830303131.gu2">
					<!-- This geologic unit we are defining inherits from a geologic unit described in the BRGM stratigraphic lexicon.
						  That's the reason why we won't encode the age. The age will be the one of the geologic unit in the stratigraphic lexicon -->
					<gml:name codeSpace="urn:cgi:classifierScheme:BRGM:StratigraphicLexicon">urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F010</gml:name>
					<gsml:observationMethod>
						 <gsml:CGI_TermValue>
							  <gsml:value codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:FeatureObservationMethod:drill_core_observation</gsml:value>
						 </gsml:CGI_TermValue>
					</gsml:observationMethod>
					<gsml:purpose>instance</gsml:purpose>
					<gsml:geologicUnitType xlink:href="urn:cgi:classifier:CGI:GeologicalUnitType:lithostratigraphic"/>
					<gsml:classifier xlink:href="urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F010" />
  					<gsml:composition>
						<gsml:CompositionPart>
							<gsml:role codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:GeologicUnitPartRole:only_part</gsml:role>
							<!-- Lithology according to the CGI simple lithology dictionary -->
							<gsml:lithology xlink:href="urn:cgi:classifier:CGI:SimpleLithology:2008:sedimentary_rock"/>
							<gsml:proportion>
								<gsml:CGI_TermValue>
									<gsml:value codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:ProportionTerm:2008:all</gsml:value> 
								</gsml:CGI_TermValue>
							</gsml:proportion>
						</gsml:CompositionPart>
					</gsml:composition>
				</gsml:GeologicUnit>
			</gsml:specification>
			<!-- The geometry of the interval -->
			<gsml:shape>
				<gml:LineString srsName="#bh.30303239375830303131.Shape" srsDimension="1">
					<gml:pos>0.4</gml:pos> 
					<gml:pos>2</gml:pos> 
				</gml:LineString>
			</gsml:shape>
		</gsml:MappedInterval>
	</gsml:logElement>
	<gsml:logElement>
		<gsml:MappedInterval>
			<gsml:observationMethod>
				<gsml:CGI_TermValue>
					<gsml:value codeSpace="http://urn.opengis.net">urn:ogc:def:nil:OGC:missing</gsml:value>
				</gsml:CGI_TermValue>
			</gsml:observationMethod>
			<!-- The geometry of the interval is accurate -->
			<gsml:positionalAccuracy>
				<gsml:CGI_NumericValue>
					<gsml:principalValue uom="urn:ogc:def:uom:UCUM:m">0</gsml:principalValue>
				</gsml:CGI_NumericValue>
			</gsml:positionalAccuracy>
			<!-- Sampling frame : the borehole itself -->
			<gsml:samplingFrame xlink:href="#bh.30303239375830303131"/>
			<!-- The geologic unit crossed by this interval -->
			<gsml:specification>
				<gsml:GeologicUnit gml:id="bh.30303239375830303131.gu3">
					<!-- This geologic unit we are defining inherits from a geologic unit described in the BRGM stratigraphic lexicon.
						  That's the reason why we won't encode the age. The age will be the one of the geologic unit in the stratigraphic lexicon -->
					<gml:name codeSpace="urn:cgi:classifierScheme:BRGM:StratigraphicLexicon">urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F010</gml:name>
					<gsml:observationMethod>
						 <gsml:CGI_TermValue>
							  <gsml:value codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:FeatureObservationMethod:drill_core_observation</gsml:value>
						 </gsml:CGI_TermValue>
					</gsml:observationMethod>
					<gsml:purpose>instance</gsml:purpose>
					<gsml:geologicUnitType xlink:href="urn:cgi:classifier:CGI:GeologicalUnitType:lithostratigraphic"/>
					<gsml:classifier xlink:href="urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F010" />
  					<gsml:composition>
						<gsml:CompositionPart>
							<gsml:role codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:GeologicUnitPartRole:only_part</gsml:role>
							<!-- Lithology according to the CGI simple lithology dictionary -->
							<gsml:lithology xlink:href="urn:cgi:classifier:CGI:SimpleLithology:2008:sand"/>
							<gsml:proportion>
								<gsml:CGI_TermValue>
									<gsml:value codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:ProportionTerm:2008:all</gsml:value> 
								</gsml:CGI_TermValue>
							</gsml:proportion>
						</gsml:CompositionPart>
					</gsml:composition>
				</gsml:GeologicUnit>
			</gsml:specification>
			<!-- The geometry of the interval -->
			<gsml:shape>
				<gml:LineString srsName="#bh.30303239375830303131.Shape" srsDimension="1">
					<gml:pos>2</gml:pos> 
					<gml:pos>10.8</gml:pos> 
				</gml:LineString>
			</gsml:shape>
		</gsml:MappedInterval>
	</gsml:logElement>
	<gsml:logElement>
		<gsml:MappedInterval>
			<gsml:observationMethod>
				<gsml:CGI_TermValue>
					<gsml:value codeSpace="http://urn.opengis.net">urn:ogc:def:nil:OGC:missing</gsml:value>
				</gsml:CGI_TermValue>
			</gsml:observationMethod>
			<!-- The geometry of the interval is accurate -->
			<gsml:positionalAccuracy>
				<gsml:CGI_NumericValue>
					<gsml:principalValue uom="urn:ogc:def:uom:UCUM:m">0</gsml:principalValue>
				</gsml:CGI_NumericValue>
			</gsml:positionalAccuracy>
			<!-- Sampling frame : the borehole itself -->
			<gsml:samplingFrame xlink:href="#bh.30303239375830303131"/>
			<!-- The geologic unit crossed by this interval -->
			<gsml:specification>
				<gsml:GeologicUnit gml:id="bh.30303239375830303131.gu4">
					<!-- This geologic unit we are defining inherits from a geologic unit described in the BRGM stratigraphic lexicon.
						  That's the reason why we won't encode the age. The age will be the one of the geologic unit in the stratigraphic lexicon -->
					<gml:name codeSpace="urn:cgi:classifierScheme:BRGM:StratigraphicLexicon">urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F145</gml:name>
					<gsml:observationMethod>
						 <gsml:CGI_TermValue>
							  <gsml:value codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:FeatureObservationMethod:drill_core_observation</gsml:value>
						 </gsml:CGI_TermValue>
					</gsml:observationMethod>
					<gsml:purpose>instance</gsml:purpose>
					<gsml:geologicUnitType xlink:href="urn:cgi:classifier:CGI:GeologicalUnitType:lithostratigraphic"/>
					<gsml:classifier xlink:href="urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F145" />
  					<gsml:composition>
						<gsml:CompositionPart>
							<gsml:role codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:GeologicUnitPartRole:only_part</gsml:role>
							<!-- Lithology according to the CGI simple lithology dictionary -->
							<gsml:lithology xlink:href="urn:cgi:classifier:CGI:SimpleLithology:2008:non_clastic_siliceous_sediment"/>
							<gsml:proportion>
								<gsml:CGI_TermValue>
									<gsml:value codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:ProportionTerm:2008:all</gsml:value> 
								</gsml:CGI_TermValue>
							</gsml:proportion>
						</gsml:CompositionPart>
					</gsml:composition>
				</gsml:GeologicUnit>
			</gsml:specification>
			<!-- The geometry of the interval -->
			<gsml:shape>
				<gml:LineString srsName="#bh.30303239375830303131.Shape" srsDimension="1">
					<gml:pos>10.8</gml:pos> 
					<gml:pos>17.5</gml:pos> 
				</gml:LineString>
			</gsml:shape>
		</gsml:MappedInterval>
	</gsml:logElement>	<gsml:logElement>
		<gsml:MappedInterval>
			<gsml:observationMethod>
				<gsml:CGI_TermValue>
					<gsml:value codeSpace="http://urn.opengis.net">urn:ogc:def:nil:OGC:missing</gsml:value>
				</gsml:CGI_TermValue>
			</gsml:observationMethod>
			<!-- The geometry of the interval is accurate -->
			<gsml:positionalAccuracy>
				<gsml:CGI_NumericValue>
					<gsml:principalValue uom="urn:ogc:def:uom:UCUM:m">0</gsml:principalValue>
				</gsml:CGI_NumericValue>
			</gsml:positionalAccuracy>
			<!-- Sampling frame : the borehole itself -->
			<gsml:samplingFrame xlink:href="#bh.30303239375830303131"/>
			<!-- The geologic unit crossed by this interval -->
			<gsml:specification>
				<gsml:GeologicUnit gml:id="bh.30303239375830303131.gu5">
					<!-- This geologic unit we are defining inherits from a geologic unit described in the BRGM stratigraphic lexicon.
						  That's the reason why we won't encode the age. The age will be the one of the geologic unit in the stratigraphic lexicon -->
					<gml:name codeSpace="urn:cgi:classifierScheme:BRGM:StratigraphicLexicon">urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F145</gml:name>
					<gsml:observationMethod>
						 <gsml:CGI_TermValue>
							  <gsml:value codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:FeatureObservationMethod:drill_core_observation</gsml:value>
						 </gsml:CGI_TermValue>
					</gsml:observationMethod>
					<gsml:purpose>instance</gsml:purpose>
					<gsml:geologicUnitType xlink:href="urn:cgi:classifier:CGI:GeologicalUnitType:lithostratigraphic"/>
					<gsml:classifier xlink:href="urn:cgi:classifier:BRGM:StratigraphicLexicon:50K:F145" />
  					<gsml:composition>
						<gsml:CompositionPart>
							<gsml:role codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:GeologicUnitPartRole:only_part</gsml:role>
							<!-- Lithology according to the CGI simple lithology dictionary -->
							<gsml:lithology xlink:href="urn:cgi:classifier:CGI:SimpleLithology:2008:calcareous_carbonate_sedimentary_rock"/>
							<gsml:proportion>
								<gsml:CGI_TermValue>
									<gsml:value codeSpace="http://www.cgi-iugs.org/uri">urn:cgi:classifier:CGI:ProportionTerm:2008:all</gsml:value> 
								</gsml:CGI_TermValue>
							</gsml:proportion>
						</gsml:CompositionPart>
					</gsml:composition>
				</gsml:GeologicUnit>
			</gsml:specification>
			<!-- The geometry of the interval -->
			<gsml:shape>
				<gml:LineString srsName="#bh.30303239375830303131.Shape" srsDimension="1">
					<gml:pos>17.5</gml:pos> 
					<gml:pos>17.7</gml:pos> 
				</gml:LineString>
			</gsml:shape>
		</gsml:MappedInterval>
	</gsml:logElement>
</gsml:Borehole>