pyogrio 0.9.0__cp312-cp312-win_amd64.whl → 0.11.0__cp312-cp312-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pyogrio might be problematic. Click here for more details.

Files changed (125) hide show
  1. pyogrio/__init__.py +35 -28
  2. pyogrio/_compat.py +15 -1
  3. pyogrio/_env.py +4 -6
  4. pyogrio/_err.c +8941 -3106
  5. pyogrio/_err.cp312-win_amd64.pyd +0 -0
  6. pyogrio/_geometry.c +1008 -807
  7. pyogrio/_geometry.cp312-win_amd64.pyd +0 -0
  8. pyogrio/_io.c +10678 -9440
  9. pyogrio/_io.cp312-win_amd64.pyd +0 -0
  10. pyogrio/_ogr.c +1950 -1873
  11. pyogrio/_ogr.cp312-win_amd64.pyd +0 -0
  12. pyogrio/_version.py +3 -3
  13. pyogrio/_vsi.c +7558 -2509
  14. pyogrio/_vsi.cp312-win_amd64.pyd +0 -0
  15. pyogrio/core.py +86 -20
  16. pyogrio/errors.py +9 -16
  17. pyogrio/gdal_data/GDAL-targets.cmake +2 -2
  18. pyogrio/gdal_data/GDALConfig.cmake +0 -1
  19. pyogrio/gdal_data/GDALConfigVersion.cmake +3 -3
  20. pyogrio/gdal_data/MM_m_idofic.csv +321 -0
  21. pyogrio/gdal_data/gdalinfo_output.schema.json +3 -3
  22. pyogrio/gdal_data/gdaltileindex.xsd +253 -0
  23. pyogrio/gdal_data/gdalvrt.xsd +178 -63
  24. pyogrio/gdal_data/nitf_spec.xml +1 -17
  25. pyogrio/gdal_data/nitf_spec.xsd +1 -17
  26. pyogrio/gdal_data/ogrinfo_output.schema.json +23 -0
  27. pyogrio/gdal_data/ogrvrt.xsd +4 -17
  28. pyogrio/gdal_data/osmconf.ini +3 -1
  29. pyogrio/gdal_data/pci_datum.txt +222 -155
  30. pyogrio/gdal_data/pci_ellips.txt +90 -38
  31. pyogrio/gdal_data/pdfcomposition.xsd +1 -17
  32. pyogrio/gdal_data/vcpkg.spdx.json +29 -24
  33. pyogrio/gdal_data/vcpkg_abi_info.txt +32 -31
  34. pyogrio/gdal_data/vdv452.xml +1 -17
  35. pyogrio/gdal_data/vdv452.xsd +1 -17
  36. pyogrio/geopandas.py +122 -66
  37. pyogrio/proj_data/ITRF2014 +1 -1
  38. pyogrio/proj_data/ITRF2020 +91 -0
  39. pyogrio/proj_data/proj-config-version.cmake +2 -2
  40. pyogrio/proj_data/proj-config.cmake +1 -1
  41. pyogrio/proj_data/proj-targets-release.cmake +3 -2
  42. pyogrio/proj_data/proj-targets.cmake +2 -2
  43. pyogrio/proj_data/proj.db +0 -0
  44. pyogrio/proj_data/proj.ini +11 -3
  45. pyogrio/proj_data/proj4-targets-release.cmake +3 -2
  46. pyogrio/proj_data/proj4-targets.cmake +2 -2
  47. pyogrio/proj_data/projjson.schema.json +1 -1
  48. pyogrio/proj_data/usage +7 -2
  49. pyogrio/proj_data/vcpkg.spdx.json +26 -21
  50. pyogrio/proj_data/vcpkg_abi_info.txt +19 -18
  51. pyogrio/raw.py +46 -30
  52. pyogrio/tests/conftest.py +214 -12
  53. pyogrio/tests/fixtures/README.md +32 -13
  54. pyogrio/tests/fixtures/curve.gpkg +0 -0
  55. pyogrio/tests/fixtures/{test_multisurface.gpkg → curvepolygon.gpkg} +0 -0
  56. pyogrio/tests/fixtures/line_zm.gpkg +0 -0
  57. pyogrio/tests/fixtures/multisurface.gpkg +0 -0
  58. pyogrio/tests/test_arrow.py +181 -24
  59. pyogrio/tests/test_core.py +170 -76
  60. pyogrio/tests/test_geopandas_io.py +483 -135
  61. pyogrio/tests/test_path.py +39 -17
  62. pyogrio/tests/test_raw_io.py +170 -55
  63. pyogrio/tests/test_util.py +56 -0
  64. pyogrio/util.py +69 -32
  65. pyogrio-0.11.0.dist-info/DELVEWHEEL +2 -0
  66. pyogrio-0.11.0.dist-info/METADATA +124 -0
  67. {pyogrio-0.9.0.dist-info → pyogrio-0.11.0.dist-info}/RECORD +90 -102
  68. {pyogrio-0.9.0.dist-info → pyogrio-0.11.0.dist-info}/WHEEL +1 -1
  69. {pyogrio-0.9.0.dist-info → pyogrio-0.11.0.dist-info/licenses}/LICENSE +1 -1
  70. pyogrio.libs/{Lerc-5e4d8cbeeabca06f95e2270792304dc3.dll → Lerc-0a4c85fb364eca6153da109568898e6c.dll} +0 -0
  71. pyogrio.libs/{gdal-b434963605a006e01c486c0df6dea4e0.dll → gdal-34e3e080255b205ef706390e097fa4dc.dll} +0 -0
  72. pyogrio.libs/geos-d8f20037634583c2efcd6ea1f4153169.dll +0 -0
  73. pyogrio.libs/geos_c-046e8885887192fced9516bda554471d.dll +0 -0
  74. pyogrio.libs/geotiff-1f2f76a5d30685a8e0497d9dbf8a79cf.dll +0 -0
  75. pyogrio.libs/{iconv-2-8fcc23ddc6f096c45871011b6e008b44.dll → iconv-2-4b71ebbdf6834234e0c64cb2439b77cf.dll} +0 -0
  76. pyogrio.libs/{jpeg62-2f9b7af22d78338e8f0be0058503dc35.dll → jpeg62-bf2a75b1f2695748cd86238ddb19c65b.dll} +0 -0
  77. pyogrio.libs/json-c-4bc6781090e73c9b22d8dc057618a277.dll +0 -0
  78. pyogrio.libs/libcrypto-3-x64-c8f1692ed45cf55faecce2c448056b2e.dll +0 -0
  79. pyogrio.libs/libcurl-f3604410cd467a44d927794ebdce81b8.dll +0 -0
  80. pyogrio.libs/libexpat-385074fd54deb4b640baafa42cbb3146.dll +0 -0
  81. pyogrio.libs/liblzma-8968f0bfd463b7fe612b20d07adc3c1e.dll +0 -0
  82. pyogrio.libs/libpng16-44105208fe941d03e9f0c17bdbb952f7.dll +0 -0
  83. pyogrio.libs/libssl-3-x64-58c364315f431ab1f0e48b311b8cf105.dll +0 -0
  84. pyogrio.libs/msvcp140-99aa35e2033bb8d388bc35c8a68b77e3.dll +0 -0
  85. pyogrio.libs/proj_9-ee59474f99643c112eb02aa34a910237.dll +0 -0
  86. pyogrio.libs/{qhull_r-c45abde5d0c92faf723cc2942138af77.dll → qhull_r-eaac2f11a3d8241f082e54447c7504d7.dll} +0 -0
  87. pyogrio.libs/sqlite3-dc748e3452944fd41001abacdd783569.dll +0 -0
  88. pyogrio.libs/tiff-c409ddbe87b39639b83fee50d4aea318.dll +0 -0
  89. pyogrio.libs/{zlib1-e1272810861a13dd8d6cff3beac47f17.dll → zlib1-094085b7b78666197dcc8e1fce2d835d.dll} +0 -0
  90. pyogrio/_err.pxd +0 -4
  91. pyogrio/_err.pyx +0 -250
  92. pyogrio/_geometry.pxd +0 -4
  93. pyogrio/_geometry.pyx +0 -129
  94. pyogrio/_io.pxd +0 -0
  95. pyogrio/_io.pyx +0 -2742
  96. pyogrio/_ogr.pxd +0 -444
  97. pyogrio/_ogr.pyx +0 -346
  98. pyogrio/_vsi.pxd +0 -4
  99. pyogrio/_vsi.pyx +0 -140
  100. pyogrio/arrow_bridge.h +0 -115
  101. pyogrio/gdal_data/bag_template.xml +0 -201
  102. pyogrio/gdal_data/gmlasconf.xml +0 -169
  103. pyogrio/gdal_data/gmlasconf.xsd +0 -1066
  104. pyogrio/gdal_data/netcdf_config.xsd +0 -143
  105. pyogrio/tests/fixtures/poly_not_enough_points.shp.zip +0 -0
  106. pyogrio/tests/fixtures/test_datetime.geojson +0 -7
  107. pyogrio/tests/fixtures/test_datetime_tz.geojson +0 -8
  108. pyogrio/tests/fixtures/test_fgdb.gdb.zip +0 -0
  109. pyogrio/tests/fixtures/test_nested.geojson +0 -18
  110. pyogrio/tests/fixtures/test_ogr_types_list.geojson +0 -12
  111. pyogrio-0.9.0.dist-info/DELVEWHEEL +0 -2
  112. pyogrio-0.9.0.dist-info/METADATA +0 -100
  113. pyogrio.libs/geos-f0622d0794b81c937a851b2e6fa9b712.dll +0 -0
  114. pyogrio.libs/geos_c-0e16bf70612fc3301d077b9d863a3fdb.dll +0 -0
  115. pyogrio.libs/geotiff-772e7c705fb15ddf91b432adb4eb1f6c.dll +0 -0
  116. pyogrio.libs/json-c-e52a077545e4057de42beb4948289b41.dll +0 -0
  117. pyogrio.libs/libcurl-bc81cd8afe15b10c0821b181b6af8bd0.dll +0 -0
  118. pyogrio.libs/libexpat-fbe03ca8917dfda776562d4338b289b8.dll +0 -0
  119. pyogrio.libs/liblzma-6b36f24d54d3dd45f274a2aebef81085.dll +0 -0
  120. pyogrio.libs/libpng16-13928571ad910705eae8d7dd8eef8b11.dll +0 -0
  121. pyogrio.libs/msvcp140-46db46e967c8db2cb7a20fc75872a57e.dll +0 -0
  122. pyogrio.libs/proj-8a30239ef2dfc3b9dd2bb48e8abb330f.dll +0 -0
  123. pyogrio.libs/sqlite3-df30c3cf230727e23c43c40126a530f7.dll +0 -0
  124. pyogrio.libs/tiff-43630f30487a9015213475ae86ed3fa3.dll +0 -0
  125. {pyogrio-0.9.0.dist-info → pyogrio-0.11.0.dist-info}/top_level.txt +0 -0
@@ -1,201 +0,0 @@
1
- <?xml version="1.0"?>
2
- <gmi:MI_Metadata xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:bag="http://www.opennavsurf.org/schema/bag">
3
- <gmd:language>
4
- <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="eng">eng</gmd:LanguageCode>
5
- </gmd:language>
6
- <gmd:contact>
7
- <gmd:CI_ResponsibleParty>
8
- <gmd:individualName>
9
- <gco:CharacterString>${INDIVIDUAL_NAME:unknown}</gco:CharacterString>
10
- </gmd:individualName>
11
- <gmd:organisationName>
12
- <gco:CharacterString>${ORGANISATION_NAME:unknown}</gco:CharacterString>
13
- </gmd:organisationName>
14
- <gmd:positionName>
15
- <gco:CharacterString>${POSITION_NAME:unknown}</gco:CharacterString>
16
- </gmd:positionName>
17
- <gmd:role>
18
- <gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="${CONTACT_ROLE:author}">${CONTACT_ROLE:author}</gmd:CI_RoleCode>
19
- </gmd:role>
20
- </gmd:CI_ResponsibleParty>
21
- </gmd:contact>
22
- <gmd:dateStamp>
23
- <gco:Date>${DATE}</gco:Date>
24
- </gmd:dateStamp>
25
- <gmd:metadataStandardName>
26
- <gco:CharacterString>${METADATA_STANDARD_NAME:ISO 19139}</gco:CharacterString>
27
- </gmd:metadataStandardName>
28
- <gmd:metadataStandardVersion>
29
- <gco:CharacterString>${METADATA_STANDARD_VERSION:1.1.0}</gco:CharacterString>
30
- </gmd:metadataStandardVersion>
31
- <gmd:spatialRepresentationInfo>
32
- <gmd:MD_Georectified>
33
- <gmd:numberOfDimensions>
34
- <gco:Integer>2</gco:Integer>
35
- </gmd:numberOfDimensions>
36
- <gmd:axisDimensionProperties>
37
- <gmd:MD_Dimension>
38
- <gmd:dimensionName>
39
- <gmd:MD_DimensionNameTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode" codeListValue="row">row</gmd:MD_DimensionNameTypeCode>
40
- </gmd:dimensionName>
41
- <gmd:dimensionSize>
42
- <gco:Integer>${HEIGHT}</gco:Integer>
43
- </gmd:dimensionSize>
44
- <gmd:resolution>
45
- <gco:Measure uom="${RES_UNIT}">${RESY}</gco:Measure>
46
- </gmd:resolution>
47
- </gmd:MD_Dimension>
48
- </gmd:axisDimensionProperties>
49
- <gmd:axisDimensionProperties>
50
- <gmd:MD_Dimension>
51
- <gmd:dimensionName>
52
- <gmd:MD_DimensionNameTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode" codeListValue="column">column</gmd:MD_DimensionNameTypeCode>
53
- </gmd:dimensionName>
54
- <gmd:dimensionSize>
55
- <gco:Integer>${WIDTH}</gco:Integer>
56
- </gmd:dimensionSize>
57
- <gmd:resolution>
58
- <gco:Measure uom="${RES_UNIT}">${RESX}</gco:Measure>
59
- </gmd:resolution>
60
- </gmd:MD_Dimension>
61
- </gmd:axisDimensionProperties>
62
- <gmd:cellGeometry>
63
- <gmd:MD_CellGeometryCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_CellGeometryCode" codeListValue="point">point</gmd:MD_CellGeometryCode>
64
- </gmd:cellGeometry>
65
- <gmd:transformationParameterAvailability>
66
- <gco:Boolean>1</gco:Boolean>
67
- </gmd:transformationParameterAvailability>
68
- <gmd:checkPointAvailability>
69
- <gco:Boolean>0</gco:Boolean>
70
- </gmd:checkPointAvailability>
71
- <gmd:cornerPoints>
72
- <gml:Point gml:id="id1">
73
- <gml:coordinates decimal="." cs="," ts=" ">${CORNER_POINTS}</gml:coordinates>
74
- </gml:Point>
75
- </gmd:cornerPoints>
76
- <gmd:pointInPixel>
77
- <gmd:MD_PixelOrientationCode>center</gmd:MD_PixelOrientationCode>
78
- </gmd:pointInPixel>
79
- </gmd:MD_Georectified>
80
- </gmd:spatialRepresentationInfo>
81
- <gmd:referenceSystemInfo>
82
- <gmd:MD_ReferenceSystem>
83
- <gmd:referenceSystemIdentifier>
84
- <gmd:RS_Identifier>
85
- <gmd:code>
86
- <gco:CharacterString>${HORIZ_WKT}</gco:CharacterString>
87
- </gmd:code>
88
- <gmd:codeSpace>
89
- <gco:CharacterString>WKT</gco:CharacterString>
90
- </gmd:codeSpace>
91
- </gmd:RS_Identifier>
92
- </gmd:referenceSystemIdentifier>
93
- </gmd:MD_ReferenceSystem>
94
- </gmd:referenceSystemInfo>
95
- <gmd:referenceSystemInfo>
96
- <gmd:MD_ReferenceSystem>
97
- <gmd:referenceSystemIdentifier>
98
- <gmd:RS_Identifier>
99
- <gmd:code>
100
- <gco:CharacterString>${VERT_WKT:VERT_CS["unknown", VERT_DATUM["unknown", 2000]]}</gco:CharacterString>
101
- </gmd:code>
102
- <gmd:codeSpace>
103
- <gco:CharacterString>WKT</gco:CharacterString>
104
- </gmd:codeSpace>
105
- </gmd:RS_Identifier>
106
- </gmd:referenceSystemIdentifier>
107
- </gmd:MD_ReferenceSystem>
108
- </gmd:referenceSystemInfo>
109
- <gmd:identificationInfo>
110
- <bag:BAG_DataIdentification>
111
- <gmd:citation>${XML_IDENTIFICATION_CITATION:}</gmd:citation>
112
- <gmd:abstract>
113
- <gco:CharacterString>${ABSTRACT:}</gco:CharacterString>
114
- </gmd:abstract>
115
- <gmd:spatialRepresentationType>
116
- <gmd:MD_SpatialRepresentationTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_SpatialRepresentationTypeCode" codeListValue="grid">grid</gmd:MD_SpatialRepresentationTypeCode>
117
- </gmd:spatialRepresentationType>
118
- <gmd:spatialResolution>
119
- <gmd:MD_Resolution>
120
- <gmd:distance>
121
- <gco:Distance uom="${RES_UNIT}">${RES}</gco:Distance>
122
- </gmd:distance>
123
- </gmd:MD_Resolution>
124
- </gmd:spatialResolution>
125
- <gmd:language>
126
- <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="eng">eng</gmd:LanguageCode>
127
- </gmd:language>
128
- <gmd:topicCategory>
129
- <gmd:MD_TopicCategoryCode>elevation</gmd:MD_TopicCategoryCode>
130
- </gmd:topicCategory>
131
- <gmd:extent>
132
- <gmd:EX_Extent>
133
- <gmd:geographicElement>
134
- <gmd:EX_GeographicBoundingBox>
135
- <gmd:westBoundLongitude>
136
- <gco:Decimal>${WEST_LONGITUDE}</gco:Decimal>
137
- </gmd:westBoundLongitude>
138
- <gmd:eastBoundLongitude>
139
- <gco:Decimal>${EAST_LONGITUDE}</gco:Decimal>
140
- </gmd:eastBoundLongitude>
141
- <gmd:southBoundLatitude>
142
- <gco:Decimal>${SOUTH_LATITUDE}</gco:Decimal>
143
- </gmd:southBoundLatitude>
144
- <gmd:northBoundLatitude>
145
- <gco:Decimal>${NORTH_LATITUDE}</gco:Decimal>
146
- </gmd:northBoundLatitude>
147
- </gmd:EX_GeographicBoundingBox>
148
- </gmd:geographicElement>
149
- </gmd:EX_Extent>
150
- </gmd:extent>
151
- <bag:verticalUncertaintyType>
152
- <bag:BAG_VertUncertCode codeList="http://www.opennavsurf.org/schema/bag/bagCodelists.xml#BAG_VertUncertCode" codeListValue="${VERTICAL_UNCERT_CODE:unknown}">${VERTICAL_UNCERT_CODE:unknown}</bag:BAG_VertUncertCode>
153
- </bag:verticalUncertaintyType>
154
- </bag:BAG_DataIdentification>
155
- </gmd:identificationInfo>
156
- <gmd:dataQualityInfo>
157
- <gmd:DQ_DataQuality>
158
- <gmd:scope>
159
- <gmd:DQ_Scope>
160
- <gmd:level>
161
- <gmd:MD_ScopeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset">dataset</gmd:MD_ScopeCode>
162
- </gmd:level>
163
- </gmd:DQ_Scope>
164
- </gmd:scope>
165
- <gmd:lineage>
166
- <gmd:LI_Lineage>
167
- <gmd:processStep>
168
- <gmd:LI_ProcessStep>
169
- <gmd:description>
170
- <gco:CharacterString>${PROCESS_STEP_DESCRIPTION}</gco:CharacterString>
171
- </gmd:description>
172
- <gmd:dateTime>
173
- <gco:DateTime>${DATETIME}</gco:DateTime>
174
- </gmd:dateTime>
175
- </gmd:LI_ProcessStep>
176
- </gmd:processStep>
177
- </gmd:LI_Lineage>
178
- </gmd:lineage>
179
- </gmd:DQ_DataQuality>
180
- </gmd:dataQualityInfo>
181
- <gmd:metadataConstraints>
182
- <gmd:MD_LegalConstraints>
183
- <gmd:useConstraints>
184
- <gmd:MD_RestrictionCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_RestrictionCode" codeListValue="${RESTRICTION_CODE:otherRestrictions}">${RESTRICTION_CODE:otherRestrictions}</gmd:MD_RestrictionCode>
185
- </gmd:useConstraints>
186
- <gmd:otherConstraints>
187
- <gco:CharacterString>${RESTRICTION_OTHER_CONSTRAINTS:unknown}</gco:CharacterString>
188
- </gmd:otherConstraints>
189
- </gmd:MD_LegalConstraints>
190
- </gmd:metadataConstraints>
191
- <gmd:metadataConstraints>
192
- <gmd:MD_SecurityConstraints>
193
- <gmd:classification>
194
- <gmd:MD_ClassificationCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ClassificationCode" codeListValue="${CLASSIFICATION:unclassified}">${CLASSIFICATION:unclassified}</gmd:MD_ClassificationCode>
195
- </gmd:classification>
196
- <gmd:userNote>
197
- <gco:CharacterString>${SECURITY_USER_NOTE:none}</gco:CharacterString>
198
- </gmd:userNote>
199
- </gmd:MD_SecurityConstraints>
200
- </gmd:metadataConstraints>
201
- </gmi:MI_Metadata>
@@ -1,169 +0,0 @@
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>