Configuration of GMLAS driver. Whether downloading remote schemas is allowed. Default is true. Describe working of schema cache. Name of the cache directory. If not specified, this defaults to $HOME/.gdal/gmlas_xsd_cache. Ignored if 'enabled' is not true. Whether the cache is enabled. Default is true. Describe option that affect the Xerces schema parser. Whether to enable full schema constraint checking, including checking which may be time-consuming or memory intensive. Currently, particle unique attribution constraint checking and particle derivation restriction checking are controlled by this option. Defaults to true. Whether to allow multiple schemas with the same namespace to be imported. Defaults to false. Describe if and how validation of the document against the schema is done. Whether a validation error should prevent dataset opening. Ignored if 'enabled' is not true. Default is false. Whether validation is enabled. Default is false. Whether the _ogr_layers_metadata, _ogr_fields_metadata and _ogr_layer_relationships layers that show how OGR layers and fields are built from the schemas should be exposed as available layers. Default is false. Tunable rules that affect how layers and fields are built from the schema. Whether a 'ogr_pkid' attribute should always be generated, even if the underlying XML element has a required attribute of type ID. Turning it to true can be useful if the uniqueness of such attributes is not trused. Default is false. Whether to remove any OGR layer without any feature, during the initial scan pass. Default is false. Whether to remove any unused OGR field, during the initial scan pass. Default is false. Whether OGR array types (StringList, IntegerList, Integer64List and RealList) can be used to store repeated values of the corresponding base types. Default is true. Whether xsi:nil="true" should be mapped from/to the OGR null field state (new in GDAL 2.2). If set to false, then a XXX_nil field will be added when necessary. If set to true, then unset and null states are used (but this is not very convenient when converting to SQL databases where both states are equivalent). Default is false. Settings specific to documents that import the GML namespace. Whether the XML description of a GML geometry should be stored in a string attribute (whose name is the element name suffixed by _xml). This is in addition to storing the geometry as a OGR geometry. Default is false. Whether, when dealing with schemas that import the GML namespace, and that at least one of them has elements that derive from gml:_Feature or gml:AbstractFeatureonly, only such elements should be instantiated as OGR layers, during the first pass that iterates over top level elements of the imported schemas. Note: for technical reasons, other elements may end up being exposed as OGR layers, but this setting is a first way of limiting the number of OGR layers. Default is true. Maximum size of layer and field identifiers. If identifiers are naturally bigger than the limit, a logic truncates them while ensuring their unicity. When absent, unlimited size. 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 Default is true. Whether layer and field names should be laundered like the OGR PostgreSQL driver does by default, ie identifiers put in lower cases and a few special characters( single quote, dash, sharp) replaced by underscore. This can help to post- process the _ogr_layer_relationships layers more easily or, for write support. Note: this laundering is safe for other backends as well. Default is true. Maximum number of fields in an element considered for flattening. Default is 10. XPath of element that will be considered for flattening even if it has more than MaximumNumberOfFields fields, or if it is referenced several times by other elements. Note: other constraints might make it impossible to flatten it, for example if it has repeated elements. XPath of element that will NOT be considered for flattening even if it has less or MaximumNumberOfFields fields. Configuration of special processing for elements in the http://www.opengis.net/swe/2.0 namespace. If and how SWE processing is enabled. Default is ifSWENamespaceFoundInTopElement. If the http://www.opengis.net/swe/2.0 namespace is found, SWE special processing will be enabled. If swe:DataRecord must be parsed. Default is true. If swe:DataArray and swe:DataStream must be parsed. Default is true. Constraints to specify the types of children of elements of type xs:anyType. Rules regarding resolution of xlink:href attributes Timeout in seconds for resolving a HTTP resource. Default: no timeout or value of GDAL_HTTP_TIMEOUT configuration option. Maximum allowed time for resolving all XLinks in a single document. Default: none Maximum file size allowed. Default: 1 MB. Name and port of proxy server (server:port syntax) Default: none or value of GDAL_HTTP_PROXY configuration option. User name and password to use for proxy server (username:password syntax) Default: none or value of GDAL_HTTP_PROXYUSERPW configuration option. Proxy authentication method: one of Basic, NTLM, Digest or Any. Default: none or value of GDAL_PROXY_AUTH configuration option. Name of the cache directory for resolved documents. If not specified, this defaults to $HOME/.gdal/gmlas_xlink_resolution_cache. The cache is only used if enabled in DefaultResolution or particular URLSpecificResolution rules. Default rules that apply for all URLs that are not referenced by a dedicated URLSpecificResolution rule. Whether downloading remote resources is allowed. If false, only locally cached resources will be used. Default is true. Resolution mode. Must be XMLRawContent currently The content, provided it is of text nature, is set in a field suffixed with _raw Resolution depth. Must be 1 currently. Whether resolved documents should be cached. Default is false. Whether default XLink resolution is enabled. Default is false. Particular rule that apply for all URLs starting with a precise prefix. Setting at least one URLSpecificResolution will cause a compulsory initial scan of the whole file to be done so as to identify which xlink:href fields use which URL, so as to create the relevant OGR fields. URL prefix. All URLs starting with this string will match this rule. Custom HTTP header to send in the GET request. HTTP header name HTTP header value Whether downloading remote resources is allowed. If false, only locally cached resources will be used. Default is true. Resolution mode. Default is RawContent. The content, provided it is of text nature, is set in a field suffixed with _rawcontent The content, assumed to be XML, will be parsed and fields specified with Field created. Resolution depth. Must be 1 currently. Whether resolved documents should be cached. Default is false. Field to create from parsed XML content. Only used if ResolutionMode = FieldsFromXPath Field name Field type XPath from the root of the resolved document from which to extract the value of the field. Only a restricted subset of the full XPath 1.0 syntax is supported, namely the abbreviated syntax with the '//' and '@' axis specifiers. Valid XPath are for example: - [ns1:]foo/[ns2:]bar: matches a bar element as a direct child of a foo element, foo being at any nesting level in the compared XPath. - [ns1:foo]/@[ns2:]baz: matches a baz attribute of a foo element, foo being at any nesting level in the compared XPath - [ns1:]foo//[ns2:]bar: matches a bar element as a direct or indirect child of a foo element, foo being at any nesting level in the compared XPath. - /[ns1:]foo/[ns2:]bar: matches a bar element as a direct child of a foo element, foo being at the root level. Whether xlink:href pointing to internal resources should be resolved, so as to establish cross-layer relationships. This options requires to keep in-memory xlink:href values as well as feature ids, which in the case of really large documents with many features and/or many cross-references could consume a lot of RAM. Default is true. Define elements and attributes that will be ignored when building OGR layer and field definitions. Emit a warning each time an element or attribute is found in the document parsed, but ignored because of the ignored XPath defined. Default is true. A XPath against which elements and attributes found during schema analysis will be compared. If the XPath of the element/attribute of the schema matches this XPath, it will be ignored. Only a restricted subset of the full XPath 1.0 syntax is supported, namely the abbreviated syntax with the '//' and '@' axis specifiers. Valid XPath are for example: - [ns1:]foo/[ns2:]bar: matches a bar element as a direct child of a foo element, foo being at any nesting level in the compared XPath. - [ns1:foo]/@[ns2:]baz: matches a baz attribute of a foo element, foo being at any nesting level in the compared XPath - [ns1:]foo//[ns2:]bar: matches a bar element as a direct or indirect child of a foo element, foo being at any nesting level in the compared XPath. - /[ns1:]foo/[ns2:]bar: matches a bar element as a direct child of a foo element, foo being at the root level. Emit a warning each time an element or attribute is found in the document parsed, but ignored because of the ignored XPath defined. Override the global setting of the WarnIfIgnoredXPathFoundInDocInstance element Default is true. Configuration of GMLAS writer Number of spaces used to indent each level of nesting in XML output. Default is 2. Comment to add at top of output XML file. Line format. Default is platform dependant (CR-LF on Windows, LF otherwise) Platform dependant (CR-LF on Windows, LF otherwise) Windows end-of-line style : CR-LF Unix end-of-line style: LF Format to use for srsName attributes on geometries. Default is OGC_URL. srsName will be in the form AUTHORITY_NAME:AUTHORITY_CODE srsName will be in the form urn:ogc:def:crs:AUTHORITY_NAME::AUTHORITY_CODE ssrsName will be in the form http://www.opengis.net/def/crs/AUTHORITY_NAME/0/AUTHORITY_CODE How to wrap features in a collection. Default is WFS2_FEATURECOLLECTION Use wfs:FeatureCollection / wfs:member wrapping Use ogr_gmlas:FeatureCollection / ogr_gmlas:featureMember wrapping User-specified XML dateTime value for timestamp to use in wfs:FeatureCollection attribute. Only valid for WRAPPING=WFS2_FEATURECOLLECTION. Default is current date-time. Path or URL to OGC WFS 2.0 schema. Only valid for WRAPPING=WFS2_FEATURECOLLECTION. Default is http://schemas.opengis.net/wfs/2.0/wfs.xsd. Define optional namespaces prefix/uri tuples with which to interpret the XPath elements defined afterwards. This allows the user to define different rules when different namespaces in different XML instances map to the same prefix. E.g documents referencing different GML versions may use "gml" as a prefix for "http://www.opengis.net/gml" or "http://www.opengis.net/gml/3.2", but it might be desirable to have different exclusion rules. When comparing the XPath exclusion rules and the XPath of the elements/attributes of the parsed documents, and when the namespace of the XPath exclusion rule has been difined, the URI will be used as the unambiguous key. Otherwise prefix matching will be used. Define a namespaces prefix/uri tuple with which to interpret the XPath elements defined afterwards. Namespace prefix. Namespace URI.