This file is indexed.

/usr/share/gdal/2.2/gmlasconf.xml is in gdal-data 2.2.3+dfsg-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!-- This file is under the public domain -->

<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:noNamespaceSchemaLocation="gmlasconf.xsd">

    <AllowRemoteSchemaDownload>true</AllowRemoteSchemaDownload>
    <SchemaCache enabled="true">
        <Directory/> <!-- empty: use $HOME/.gdal/gmlas_xsd_cache by default -->
    </SchemaCache>
    <SchemaAnalysisOptions>
        <SchemaFullChecking>true</SchemaFullChecking>
        <HandleMultipleImports>false</HandleMultipleImports>
    </SchemaAnalysisOptions>
    <Validation enabled="false">
        <FailIfError>false</FailIfError>
    </Validation>
    <ExposeMetadataLayers>false</ExposeMetadataLayers>
    <LayerBuildingRules>
        <AlwaysGenerateOGRId>false</AlwaysGenerateOGRId>
        <RemoveUnusedLayers>false</RemoveUnusedLayers>
        <RemoveUnusedFields>false</RemoveUnusedFields>
        <UseArrays>true</UseArrays>
        <UseNullState>false</UseNullState>
        <GML>
            <IncludeGeometryXML>false</IncludeGeometryXML>
            <InstantiateGMLFeaturesOnly>true</InstantiateGMLFeaturesOnly>
        </GML>
        <!-- 60 for PostgreSQL compatiblity. The maximum is 64 but reserve
             some space so that the spatial index name can be formed -->
        <IdentifierMaxLength>60</IdentifierMaxLength>
        <!-- Whether layer and field names should be consider equal in a
             case insensitive way. This is important for conversion to
             Postgres when identifiers are laundered in lower case -->
        <CaseInsensitiveIdentifier>true</CaseInsensitiveIdentifier>
        <!-- Launder identifiers like the OGR PG driver does.
             Note: this laundering is safe for other backends as well. -->
        <PostgreSQLIdentifierLaundering>true</PostgreSQLIdentifierLaundering>
        <FlatteningRules>
            <!-- Maximum number of fields allowed for element flattening -->
            <MaximumNumberOfFields>10</MaximumNumberOfFields>

            <Namespaces>
                <Namespace prefix="swe" uri="http://www.opengis.net/swe/2.0"/>
            </Namespaces>

            <!-- Exception to MaximumNumberOfFields:
                force this element(s) to be flattened even if they have more elements -->

            <ForceFlatteningXPath>swe:values</ForceFlatteningXPath>

            <!-- Exception to MaximumNumberOfFields:
                prevent this element(s) from being flattened even if they have less elements -->
            <!--
            <DisableFlatteningXPath>...</DisableFlatteningXPath>
            -->
        </FlatteningRules>

        <SWEProcessing>
            <Activation>ifSWENamespaceFoundInTopElement</Activation>
            <ProcessDataRecord>true</ProcessDataRecord>
            <ProcessDataArray>true</ProcessDataArray>
        </SWEProcessing>
    </LayerBuildingRules>

    <!-- constraints typically expressed as schematrons -->
    <TypingConstraints>
        <Namespaces>
            <Namespace prefix="gwml2w" uri="http://www.opengis.net/gwml-well/2.2"/>
            <Namespace prefix="om" uri="http://www.opengis.net/om/2.0"/>
        </Namespaces>
        <ChildConstraint>
            <ContainerXPath>gwml2w:GW_GeologyLog/om:result</ContainerXPath>
            <ChildrenElements>
                <Element>gwml2w:GW_GeologyLogCoverage</Element>
            </ChildrenElements>
        </ChildConstraint>
    </TypingConstraints>

    <XLinkResolution>
        <Timeout>10</Timeout> <!-- can be set with GDAL_HTTP_TIMEOUT -->
        <!-- <MaxGlobalResolutionTime></MaxGlobalResolutionTime> -->
        <MaxFileSize>1048576</MaxFileSize>
        <!--
        <ProxyServerPort>myproxy.com:8080</ProxyServerPort>  Can be set with GDAL_HTTP_PROXY
        <ProxyUserPassword>user:password<ProxyUserPassword>  Can be set with GDAL_HTTP_PROXYUSERPW
        <ProxyAuth>Basic or NTLM or Digest or Any</ProxyAuth> Can be set with GDAL_PROXY_AUTH
        -->
        <CacheDirectory/> <!-- empty: use $HOME/.gdal/gmlas_xlink_resolution_cache by default -->
        <DefaultResolution enabled="false">
            <AllowRemoteDownload>true</AllowRemoteDownload>
            <ResolutionMode>RawContent</ResolutionMode>
            <ResolutionDepth>1</ResolutionDepth>
            <CacheResults>false</CacheResults>
        </DefaultResolution>
<!--
        <URLSpecificResolution>
            <URLPrefix>http://inspire.ec.europa.eu/codelist</URLPrefix>
            <HTTPHeader>
                <Name>Accept</Name>
                <Value>application/x-iso19135+xml</Value>
            </HTTPHeader>
            <HTTPHeader>
                <Name>Accept-Language</Name>
                <Value>en</Value>
            </HTTPHeader>
            <AllowRemoteDownload>true</AllowRemoteDownload>
            <ResolutionMode>FieldsFromXPath</ResolutionMode>
            <ResolutionDepth>1</ResolutionDepth>
            <CacheResults>true</CacheResults>
            <Field>
                <Name>name</Name>
                <Type>string</Type>
                <XPath>RE_RegisterItem/name/gco:CharacterString</XPath>
            </Field>
            <Field>
                <Name>definition</Name>
                <Type>string</Type>
                <XPath>RE_RegisterItem/definition/gco:CharacterString</XPath>
            </Field>
        </URLSpecificResolution>
-->
    </XLinkResolution>

    <IgnoredXPaths>
        <WarnIfIgnoredXPathFoundInDocInstance>true</WarnIfIgnoredXPathFoundInDocInstance>
        <Namespaces>
            <Namespace prefix="gml" uri="http://www.opengis.net/gml"/>
            <Namespace prefix="gml32" uri="http://www.opengis.net/gml/3.2"/>
            <Namespace prefix="swe" uri="http://www.opengis.net/swe/2.0"/>
        </Namespaces>
        <XPath warnIfIgnoredXPathFoundInDocInstance="false">gml:boundedBy</XPath>
        <XPath warnIfIgnoredXPathFoundInDocInstance="false">gml32:boundedBy</XPath>
        <XPath>gml:priorityLocation</XPath>
        <XPath>gml32:priorityLocation</XPath>
        <XPath>gml32:descriptionReference/@owns</XPath>
        <XPath>@xlink:show</XPath>
        <XPath>@xlink:type</XPath>
        <XPath>@xlink:role</XPath>
        <XPath>@xlink:arcrole</XPath>
        <XPath>@xlink:actuate</XPath>
        <XPath>@gml:remoteSchema</XPath>
        <XPath>@gml32:remoteSchema</XPath>
        <XPath>swe:Quantity/swe:extension</XPath>
        <XPath>swe:Quantity/@referenceFrame</XPath>
        <XPath>swe:Quantity/@axisID</XPath>
        <XPath>swe:Quantity/@updatable</XPath>
        <XPath>swe:Quantity/@optional</XPath>
        <XPath>swe:Quantity/@id</XPath>
        <XPath>swe:Quantity/swe:identifier</XPath>
        <!-- <XPath>swe:Quantity/@definition</XPath> -->
        <XPath>swe:Quantity/swe:label</XPath>
        <XPath>swe:Quantity/swe:nilValues</XPath>
        <XPath>swe:Quantity/swe:constraint</XPath>
        <XPath>swe:Quantity/swe:quality</XPath>
    </IgnoredXPaths>

    <!-- Section for GMLAS writer config -->
    <WriterConfig>
        <IndentationSize>2</IndentationSize>
        <Comment/>
        <LineFormat>NATIVE</LineFormat>
        <SRSNameFormat>OGC_URL</SRSNameFormat>
        <Wrapping>WFS2_FEATURECOLLECTION</Wrapping>
        <!-- <Timestamp></Timestamp> -->
        <WFS20SchemaLocation>http://schemas.opengis.net/wfs/2.0/wfs.xsd</WFS20SchemaLocation>
    </WriterConfig>

</Configuration>