Debian Codegraph @

ogr/ogrsf_frmts/gmlas/data/gmlasconf.xml

raw symbols SCIP
1 <!-- This file is under the public domain -->
2
3 <Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:noNamespaceSchemaLocation="gmlasconf.xsd">
5
6 <AllowRemoteSchemaDownload>true</AllowRemoteSchemaDownload>
7 <SchemaCache enabled="true">
8 <Directory/> <!-- empty: use $HOME/.gdal/gmlas_xsd_cache by default -->
9 </SchemaCache>
10 <SchemaAnalysisOptions>
11 <SchemaFullChecking>true</SchemaFullChecking>
12 <HandleMultipleImports>false</HandleMultipleImports>
13 </SchemaAnalysisOptions>
14 <Validation enabled="false">
15 <FailIfError>false</FailIfError>
16 </Validation>
17 <ExposeMetadataLayers>false</ExposeMetadataLayers>
18 <LayerBuildingRules>
19 <AlwaysGenerateOGRId>false</AlwaysGenerateOGRId>
20 <RemoveUnusedLayers>false</RemoveUnusedLayers>
21 <RemoveUnusedFields>false</RemoveUnusedFields>
22 <UseArrays>true</UseArrays>
23 <UseNullState>false</UseNullState>
24 <GML>
25 <IncludeGeometryXML>false</IncludeGeometryXML>
26 <InstantiateGMLFeaturesOnly>true</InstantiateGMLFeaturesOnly>
27 </GML>
28 <!-- 60 for PostgreSQL compatibility. The maximum is 64 but reserve
29 some space so that the spatial index name can be formed -->
30 <IdentifierMaxLength>60</IdentifierMaxLength>
31 <!-- Whether layer and field names should be consider equal in a
32 case insensitive way. This is important for conversion to
33 Postgres when identifiers are laundered in lower case -->
34 <CaseInsensitiveIdentifier>true</CaseInsensitiveIdentifier>
35 <!-- Launder identifiers like the OGR PG driver does.
36 Note: this laundering is safe for other backends as well. -->
37 <PostgreSQLIdentifierLaundering>true</PostgreSQLIdentifierLaundering>
38 <FlatteningRules>
39 <!-- Maximum number of fields allowed for element flattening -->
40 <MaximumNumberOfFields>10</MaximumNumberOfFields>
41
42 <Namespaces>
43 <Namespace prefix="swe" uri="http://www.opengis.net/swe/2.0"/>
44 </Namespaces>
45
46 <!-- Exception to MaximumNumberOfFields:
47 force this element(s) to be flattened even if they have more elements -->
48
49 <ForceFlatteningXPath>swe:values</ForceFlatteningXPath>
50
51 <!-- Exception to MaximumNumberOfFields:
52 prevent this element(s) from being flattened even if they have less elements -->
53 <!--
54 <DisableFlatteningXPath>...</DisableFlatteningXPath>
55 -->
56 </FlatteningRules>
57
58 <SWEProcessing>
59 <Activation>ifSWENamespaceFoundInTopElement</Activation>
60 <ProcessDataRecord>true</ProcessDataRecord>
61 <ProcessDataArray>true</ProcessDataArray>
62 </SWEProcessing>
63 </LayerBuildingRules>
64
65 <!-- constraints typically expressed as schematrons -->
66 <TypingConstraints>
67 <Namespaces>
68 <Namespace prefix="gwml2w" uri="http://www.opengis.net/gwml-well/2.2"/>
69 <Namespace prefix="om" uri="http://www.opengis.net/om/2.0"/>
70 </Namespaces>
71 <ChildConstraint>
72 <ContainerXPath>gwml2w:GW_GeologyLog/om:result</ContainerXPath>
73 <ChildrenElements>
74 <Element>gwml2w:GW_GeologyLogCoverage</Element>
75 </ChildrenElements>
76 </ChildConstraint>
77 </TypingConstraints>
78
79 <XLinkResolution>
80 <Timeout>10</Timeout> <!-- can be set with GDAL_HTTP_TIMEOUT -->
81 <!-- <MaxGlobalResolutionTime></MaxGlobalResolutionTime> -->
82 <MaxFileSize>1048576</MaxFileSize>
83 <!--
84 <ProxyServerPort>myproxy.com:8080</ProxyServerPort> Can be set with GDAL_HTTP_PROXY
85 <ProxyUserPassword>user:password<ProxyUserPassword> Can be set with GDAL_HTTP_PROXYUSERPW
86 <ProxyAuth>Basic or NTLM or Digest or Any</ProxyAuth> Can be set with GDAL_PROXY_AUTH
87 -->
88 <CacheDirectory/> <!-- empty: use $HOME/.gdal/gmlas_xlink_resolution_cache by default -->
89 <DefaultResolution enabled="false">
90 <AllowRemoteDownload>true</AllowRemoteDownload>
91 <ResolutionMode>RawContent</ResolutionMode>
92 <ResolutionDepth>1</ResolutionDepth>
93 <CacheResults>false</CacheResults>
94 </DefaultResolution>
95 <!--
96 <URLSpecificResolution>
97 <URLPrefix>http://inspire.ec.europa.eu/codelist</URLPrefix>
98 <HTTPHeader>
99 <Name>Accept</Name>
100 <Value>application/x-iso19135+xml</Value>
101 </HTTPHeader>
102 <HTTPHeader>
103 <Name>Accept-Language</Name>
104 <Value>en</Value>
105 </HTTPHeader>
106 <AllowRemoteDownload>true</AllowRemoteDownload>
107 <ResolutionMode>FieldsFromXPath</ResolutionMode>
108 <ResolutionDepth>1</ResolutionDepth>
109 <CacheResults>true</CacheResults>
110 <Field>
111 <Name>name</Name>
112 <Type>string</Type>
113 <XPath>RE_RegisterItem/name/gco:CharacterString</XPath>
114 </Field>
115 <Field>
116 <Name>definition</Name>
117 <Type>string</Type>
118 <XPath>RE_RegisterItem/definition/gco:CharacterString</XPath>
119 </Field>
120 </URLSpecificResolution>
121 -->
122 <ResolveInternalXLinks>true</ResolveInternalXLinks>
123 </XLinkResolution>
124
125 <IgnoredXPaths>
126 <WarnIfIgnoredXPathFoundInDocInstance>true</WarnIfIgnoredXPathFoundInDocInstance>
127 <Namespaces>
128 <Namespace prefix="gml" uri="http://www.opengis.net/gml"/>
129 <Namespace prefix="gml32" uri="http://www.opengis.net/gml/3.2"/>
130 <Namespace prefix="swe" uri="http://www.opengis.net/swe/2.0"/>
131 </Namespaces>
132 <XPath warnIfIgnoredXPathFoundInDocInstance="false">gml:boundedBy</XPath>
133 <XPath warnIfIgnoredXPathFoundInDocInstance="false">gml32:boundedBy</XPath>
134 <XPath>gml:priorityLocation</XPath>
135 <XPath>gml32:priorityLocation</XPath>
136 <XPath>gml32:descriptionReference/@owns</XPath>
137 <XPath>@xlink:show</XPath>
138 <XPath>@xlink:type</XPath>
139 <XPath>@xlink:role</XPath>
140 <XPath>@xlink:arcrole</XPath>
141 <XPath>@xlink:actuate</XPath>
142 <XPath>@gml:remoteSchema</XPath>
143 <XPath>@gml32:remoteSchema</XPath>
144 <XPath>swe:Quantity/swe:extension</XPath>
145 <XPath>swe:Quantity/@referenceFrame</XPath>
146 <XPath>swe:Quantity/@axisID</XPath>
147 <XPath>swe:Quantity/@updatable</XPath>
148 <XPath>swe:Quantity/@optional</XPath>
149 <XPath>swe:Quantity/@id</XPath>
150 <XPath>swe:Quantity/swe:identifier</XPath>
151 <!-- <XPath>swe:Quantity/@definition</XPath> -->
152 <XPath>swe:Quantity/swe:label</XPath>
153 <XPath>swe:Quantity/swe:nilValues</XPath>
154 <XPath>swe:Quantity/swe:constraint</XPath>
155 <XPath>swe:Quantity/swe:quality</XPath>
156 </IgnoredXPaths>
157
158 <!-- Section for GMLAS writer config -->
159 <WriterConfig>
160 <IndentationSize>2</IndentationSize>
161 <Comment/>
162 <LineFormat>NATIVE</LineFormat>
163 <SRSNameFormat>OGC_URL</SRSNameFormat>
164 <Wrapping>WFS2_FEATURECOLLECTION</Wrapping>
165 <!-- <Timestamp></Timestamp> -->
166 <WFS20SchemaLocation>http://schemas.opengis.net/wfs/2.0/wfs.xsd</WFS20SchemaLocation>
167 </WriterConfig>
168
169 </Configuration>