pyogrio 0.10.0__cp313-cp313-macosx_12_0_arm64.whl → 0.11.0__cp313-cp313-macosx_12_0_arm64.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 (49) hide show
  1. pyogrio/.dylibs/{libgdal.35.3.9.1.dylib → libgdal.36.3.10.3.dylib} +0 -0
  2. pyogrio/__init__.py +9 -9
  3. pyogrio/_compat.py +8 -0
  4. pyogrio/_err.cpython-313-darwin.so +0 -0
  5. pyogrio/_geometry.cpython-313-darwin.so +0 -0
  6. pyogrio/_io.cpython-313-darwin.so +0 -0
  7. pyogrio/_ogr.cpython-313-darwin.so +0 -0
  8. pyogrio/_version.py +3 -3
  9. pyogrio/_vsi.cpython-313-darwin.so +0 -0
  10. pyogrio/gdal_data/GDAL-targets-release.cmake +3 -3
  11. pyogrio/gdal_data/GDAL-targets.cmake +2 -2
  12. pyogrio/gdal_data/GDALConfigVersion.cmake +3 -3
  13. pyogrio/gdal_data/gdalinfo_output.schema.json +3 -3
  14. pyogrio/gdal_data/gdaltileindex.xsd +1 -17
  15. pyogrio/gdal_data/gdalvrt.xsd +48 -41
  16. pyogrio/gdal_data/nitf_spec.xml +1 -17
  17. pyogrio/gdal_data/nitf_spec.xsd +1 -17
  18. pyogrio/gdal_data/ogrvrt.xsd +1 -17
  19. pyogrio/gdal_data/osmconf.ini +3 -1
  20. pyogrio/gdal_data/pdfcomposition.xsd +1 -17
  21. pyogrio/gdal_data/template_tiles.mapml +28 -0
  22. pyogrio/gdal_data/vcpkg.spdx.json +28 -23
  23. pyogrio/gdal_data/vcpkg_abi_info.txt +28 -27
  24. pyogrio/gdal_data/vdv452.xml +1 -17
  25. pyogrio/gdal_data/vdv452.xsd +1 -17
  26. pyogrio/geopandas.py +91 -43
  27. pyogrio/proj_data/ITRF2014 +1 -1
  28. pyogrio/proj_data/ITRF2020 +91 -0
  29. pyogrio/proj_data/proj-config-version.cmake +3 -3
  30. pyogrio/proj_data/proj-config.cmake +1 -1
  31. pyogrio/proj_data/proj-targets.cmake +3 -3
  32. pyogrio/proj_data/proj.db +0 -0
  33. pyogrio/proj_data/proj.ini +11 -3
  34. pyogrio/proj_data/proj4-targets.cmake +3 -3
  35. pyogrio/proj_data/usage +7 -2
  36. pyogrio/proj_data/vcpkg.spdx.json +27 -22
  37. pyogrio/proj_data/vcpkg_abi_info.txt +16 -15
  38. pyogrio/tests/conftest.py +8 -0
  39. pyogrio/tests/test_arrow.py +3 -0
  40. pyogrio/tests/test_core.py +8 -4
  41. pyogrio/tests/test_geopandas_io.py +250 -42
  42. pyogrio/tests/test_path.py +10 -0
  43. pyogrio/tests/test_raw_io.py +6 -2
  44. pyogrio/util.py +15 -2
  45. {pyogrio-0.10.0.dist-info → pyogrio-0.11.0.dist-info}/METADATA +32 -37
  46. {pyogrio-0.10.0.dist-info → pyogrio-0.11.0.dist-info}/RECORD +49 -47
  47. {pyogrio-0.10.0.dist-info → pyogrio-0.11.0.dist-info}/WHEEL +2 -1
  48. {pyogrio-0.10.0.dist-info → pyogrio-0.11.0.dist-info/licenses}/LICENSE +0 -0
  49. {pyogrio-0.10.0.dist-info → pyogrio-0.11.0.dist-info}/top_level.txt +0 -0
@@ -3,13 +3,13 @@
3
3
  "spdxVersion": "SPDX-2.2",
4
4
  "dataLicense": "CC0-1.0",
5
5
  "SPDXID": "SPDXRef-DOCUMENT",
6
- "documentNamespace": "https://spdx.org/spdxdocs/proj-arm64-osx-dynamic-release-9.4.1-047a3640-b96f-4c86-a313-8637bf707d53",
7
- "name": "proj:arm64-osx-dynamic-release@9.4.1 5a1a7dbeacb3aebc73b4e1bf072017a71cdf2af83ef1752e80eaa7edbe646441",
6
+ "documentNamespace": "https://spdx.org/spdxdocs/proj-arm64-osx-dynamic-release-9.6.0-07767e49-9fc1-4d61-8f9d-90ab0d96ed0c",
7
+ "name": "proj:arm64-osx-dynamic-release@9.6.0 b2ef1758b546a7589c0740f68647dbe45409b00c48c51a3aaa5084952d1e3ee1",
8
8
  "creationInfo": {
9
9
  "creators": [
10
- "Tool: vcpkg-2024-08-01-fd884a0d390d12783076341bd43d77c3a6a15658"
10
+ "Tool: vcpkg-2025-04-16-f9b6c6917b23c1ccf16c1a9f015ebabf8f615045"
11
11
  ],
12
- "created": "2024-09-28T18:34:28Z"
12
+ "created": "2025-05-07T14:21:43Z"
13
13
  },
14
14
  "relationships": [
15
15
  {
@@ -72,6 +72,11 @@
72
72
  "relationshipType": "CONTAINED_BY",
73
73
  "relatedSpdxElement": "SPDXRef-port"
74
74
  },
75
+ {
76
+ "spdxElementId": "SPDXRef-file-3",
77
+ "relationshipType": "DEPENDENCY_MANIFEST_OF",
78
+ "relatedSpdxElement": "SPDXRef-port"
79
+ },
75
80
  {
76
81
  "spdxElementId": "SPDXRef-file-4",
77
82
  "relationshipType": "CONTAINED_BY",
@@ -87,8 +92,8 @@
87
92
  {
88
93
  "name": "proj",
89
94
  "SPDXID": "SPDXRef-port",
90
- "versionInfo": "9.4.1",
91
- "downloadLocation": "git+https://github.com/Microsoft/vcpkg@dafa38417689eb52c17a425ace8e1f3ecfb74045",
95
+ "versionInfo": "9.6.0",
96
+ "downloadLocation": "git+https://github.com/Microsoft/vcpkg@157177ebd5778822eaf744dd5c725e553758a866",
92
97
  "homepage": "https://proj.org/",
93
98
  "licenseConcluded": "MIT",
94
99
  "licenseDeclared": "NOASSERTION",
@@ -99,7 +104,7 @@
99
104
  {
100
105
  "name": "proj:arm64-osx-dynamic-release",
101
106
  "SPDXID": "SPDXRef-binary",
102
- "versionInfo": "5a1a7dbeacb3aebc73b4e1bf072017a71cdf2af83ef1752e80eaa7edbe646441",
107
+ "versionInfo": "b2ef1758b546a7589c0740f68647dbe45409b00c48c51a3aaa5084952d1e3ee1",
103
108
  "downloadLocation": "NONE",
104
109
  "licenseConcluded": "MIT",
105
110
  "licenseDeclared": "NOASSERTION",
@@ -107,88 +112,88 @@
107
112
  "comment": "This is a binary package built by vcpkg."
108
113
  },
109
114
  {
110
- "SPDXID": "SPDXRef-resource-1",
115
+ "SPDXID": "SPDXRef-resource-0",
111
116
  "name": "OSGeo/PROJ",
112
- "downloadLocation": "git+https://github.com/OSGeo/PROJ@9.4.1",
117
+ "downloadLocation": "git+https://github.com/OSGeo/PROJ@9.6.0",
113
118
  "licenseConcluded": "NOASSERTION",
114
119
  "licenseDeclared": "NOASSERTION",
115
120
  "copyrightText": "NOASSERTION",
116
121
  "checksums": [
117
122
  {
118
123
  "algorithm": "SHA512",
119
- "checksumValue": "4b3ceb9e3b2213b0bb2fc839f4dd70e08ee53323465c7bb473131907e4b66c836623da115c7413dfd8bafd0a992fa173003063e2233ab577139ab8462655b6cc"
124
+ "checksumValue": "45d8bfb883431c62c2627cecf583a4374efda7f109c2b43d3fe8ef18136f30cf57682d6e6c44256ba099533754392c87f71e940a41018a577f540310001e0f05"
120
125
  }
121
126
  ]
122
127
  }
123
128
  ],
124
129
  "files": [
125
130
  {
126
- "fileName": ".//usr/local/share/vcpkg/buildtrees/versioning_/versions/proj/dafa38417689eb52c17a425ace8e1f3ecfb74045/usage",
131
+ "fileName": "./sqlite.diff",
127
132
  "SPDXID": "SPDXRef-file-0",
128
133
  "checksums": [
129
134
  {
130
135
  "algorithm": "SHA256",
131
- "checksumValue": "26169363c27e71a44cba9d703b22bbd13c191ab5e2d0612b3dd35c735c971fe6"
136
+ "checksumValue": "75049bf707593bb9a22a6f77ccc062fe1343484a12920adc7be5c29c14746857"
132
137
  }
133
138
  ],
134
139
  "licenseConcluded": "NOASSERTION",
135
140
  "copyrightText": "NOASSERTION"
136
141
  },
137
142
  {
138
- "fileName": ".//usr/local/share/vcpkg/buildtrees/versioning_/versions/proj/dafa38417689eb52c17a425ace8e1f3ecfb74045/portfile.cmake",
143
+ "fileName": "./usage",
139
144
  "SPDXID": "SPDXRef-file-1",
140
145
  "checksums": [
141
146
  {
142
147
  "algorithm": "SHA256",
143
- "checksumValue": "c1e2909ff16c46a449fbb7e71e14ea3d33103491f21ce5191d899cafded1822f"
148
+ "checksumValue": "ae06beae83376cd9f11db8c2596bd038f89ae1e2cd32b82ee333f1572070370a"
144
149
  }
145
150
  ],
146
151
  "licenseConcluded": "NOASSERTION",
147
152
  "copyrightText": "NOASSERTION"
148
153
  },
149
154
  {
150
- "fileName": ".//usr/local/share/vcpkg/buildtrees/versioning_/versions/proj/dafa38417689eb52c17a425ace8e1f3ecfb74045/vcpkg.json",
155
+ "fileName": "./portfile.cmake",
151
156
  "SPDXID": "SPDXRef-file-2",
152
157
  "checksums": [
153
158
  {
154
159
  "algorithm": "SHA256",
155
- "checksumValue": "0dbf128c799775bc808b756ed9800d1fd349f7d41b874ad78a204d17988b8737"
160
+ "checksumValue": "5fd54e02ca8ceda95178cb097182d81c5e10590cb15f74c1f67ed328eab84af2"
156
161
  }
157
162
  ],
158
163
  "licenseConcluded": "NOASSERTION",
159
164
  "copyrightText": "NOASSERTION"
160
165
  },
161
166
  {
162
- "fileName": ".//usr/local/share/vcpkg/buildtrees/versioning_/versions/proj/dafa38417689eb52c17a425ace8e1f3ecfb74045/remove_toolset_restriction.patch",
167
+ "fileName": "./vcpkg.json",
163
168
  "SPDXID": "SPDXRef-file-3",
164
169
  "checksums": [
165
170
  {
166
171
  "algorithm": "SHA256",
167
- "checksumValue": "25c1c986673bd539f5ec920684a08b38d0d37d9e24b6793e5b79dbd717bde04e"
172
+ "checksumValue": "88ecc073bf74d5a0a114bb1357499f6210c84a4f5a8b7beed2af94907f2f8802"
168
173
  }
169
174
  ],
170
175
  "licenseConcluded": "NOASSERTION",
171
176
  "copyrightText": "NOASSERTION"
172
177
  },
173
178
  {
174
- "fileName": ".//usr/local/share/vcpkg/buildtrees/versioning_/versions/proj/dafa38417689eb52c17a425ace8e1f3ecfb74045/fix-proj4-targets-cmake.patch",
179
+ "fileName": "./remove_toolset_restriction.patch",
175
180
  "SPDXID": "SPDXRef-file-4",
176
181
  "checksums": [
177
182
  {
178
183
  "algorithm": "SHA256",
179
- "checksumValue": "d76e1d419d3367dda3381fd11a637f3465bc838d611fa8ceaca20048c1b3cd6e"
184
+ "checksumValue": "25c1c986673bd539f5ec920684a08b38d0d37d9e24b6793e5b79dbd717bde04e"
180
185
  }
181
186
  ],
182
187
  "licenseConcluded": "NOASSERTION",
183
188
  "copyrightText": "NOASSERTION"
184
189
  },
185
190
  {
186
- "fileName": ".//usr/local/share/vcpkg/buildtrees/versioning_/versions/proj/dafa38417689eb52c17a425ace8e1f3ecfb74045/fix-win-output-name.patch",
191
+ "fileName": "./fix-proj4-targets-cmake.patch",
187
192
  "SPDXID": "SPDXRef-file-5",
188
193
  "checksums": [
189
194
  {
190
195
  "algorithm": "SHA256",
191
- "checksumValue": "706e536cfe9a90c1b071ab5b00932fa96bb35c67fcb0f96c0fc4feb7c0b44011"
196
+ "checksumValue": "d76e1d419d3367dda3381fd11a637f3465bc838d611fa8ceaca20048c1b3cd6e"
192
197
  }
193
198
  ],
194
199
  "licenseConcluded": "NOASSERTION",
@@ -1,27 +1,28 @@
1
- cmake 3.30.3
2
- curl b05d6dda7ca5aee75b6212c53fa145da50c7a3d88850f9566e5368bc4a6e4964
1
+ cmake 3.31.6
2
+ curl 22b161e12401607707f5d3e4c3e05b8befaa7594450e9cee73d5bf486255799d
3
3
  features core;net;tiff
4
4
  fix-proj4-targets-cmake.patch d76e1d419d3367dda3381fd11a637f3465bc838d611fa8ceaca20048c1b3cd6e
5
- fix-win-output-name.patch 706e536cfe9a90c1b071ab5b00932fa96bb35c67fcb0f96c0fc4feb7c0b44011
6
- nlohmann-json 691504cb5513bab1e734af87684f69c71ffa2145c169c2717bfa907e53ec0038
7
- portfile.cmake c1e2909ff16c46a449fbb7e71e14ea3d33103491f21ce5191d899cafded1822f
8
- ports.cmake 3581688c16865b2026d28240d7c6257b848475ffc9fe81b3f3d304973253cf5e
5
+ nlohmann-json 1e32e49c1e3c56c62d33e8b996ace94c52cfb74937b57148f0347bcda5ccc07f
6
+ portfile.cmake 5fd54e02ca8ceda95178cb097182d81c5e10590cb15f74c1f67ed328eab84af2
7
+ ports.cmake a9f8f745f9f4d225039f9810e79670f10f38c7455222865616ce430a06f75d1f
9
8
  post_build_checks 2
10
9
  remove_toolset_restriction.patch 25c1c986673bd539f5ec920684a08b38d0d37d9e24b6793e5b79dbd717bde04e
11
- sqlite3 7088305e8e220bd88e68b7b65aa8a89b317a74364a2f5b3d16897d279f408b2c
12
- sqlite3 b63bfad8731cd4015fe628d6930a7d981e8bd2dc5e22338787e32d3c8aeefcf0
13
- tiff 6bee7e85690e39fd12d59b13d904e5c2ccc33f22668daa83bcaa8d1ec9bb3ae9
10
+ sqlite.diff 75049bf707593bb9a22a6f77ccc062fe1343484a12920adc7be5c29c14746857
11
+ sqlite3 4c05171c755f22ec24b32b862029448485cd9718ab920d3b245c141d5f43696a
12
+ sqlite3 64dc4f879d155bad048c2f3eebbf22674164c996decdf661fcfcd75cda1a970f
13
+ tiff fd68529926bf04dedbf138cf60eaf8c8e73af7bebcb3341657678f3e5ceddedb
14
14
  triplet arm64-osx-dynamic-release
15
- triplet_abi bfb2f1a725a6c7d4c5a71c9867dbce26242b53ad1005a453f934440a490c77ba-4cdbc0a68d47eedc16d246a07a21fabfbbe19abb89f00890c58902e2cf872d6f-5f75c9acc02e05029cedb7eca90c49644cc3a77a
16
- usage 26169363c27e71a44cba9d703b22bbd13c191ab5e2d0612b3dd35c735c971fe6
17
- vcpkg-cmake c8f1bf76f78dee8ca0d9884a6918cf0ec11c1abe045fd9bca2f9ae44af917e05
18
- vcpkg-cmake-config dc22b69eeb823c856b78701093a239737a86039d6e913df4a326bd163f23f9f3
19
- vcpkg.json 0dbf128c799775bc808b756ed9800d1fd349f7d41b874ad78a204d17988b8737
15
+ triplet_abi bfb2f1a725a6c7d4c5a71c9867dbce26242b53ad1005a453f934440a490c77ba-c6536c929f0b7e5191e31cc452a71864a2b2273ecad8b5d2b27a82f75d8cc6af-ff2c5a09a0ce40d6d8029ce6365bdc326e54075b
16
+ usage ae06beae83376cd9f11db8c2596bd038f89ae1e2cd32b82ee333f1572070370a
17
+ vcpkg-cmake 40a914f9f2ce407f0c6effd8372fdaf561b2d183abbde65dc9ead58fe558cf9a
18
+ vcpkg-cmake-config d2c96fec92e0c3a0078788407dd660b8ad7f4bc34e553c17b04dd5f1d2b57ca7
19
+ vcpkg.json 88ecc073bf74d5a0a114bb1357499f6210c84a4f5a8b7beed2af94907f2f8802
20
20
  vcpkg_check_features 943b217e0968d64cf2cb9c272608e6a0b497377e792034f819809a79e1502c2b
21
- vcpkg_copy_pdbs d57e4f196c82dc562a9968c6155073094513c31e2de475694143d3aa47954b1c
21
+ vcpkg_copy_pdbs d15c2f2822d93ecb9023af44803328e491c5374136e0813600289582a72d196d
22
22
  vcpkg_copy_tools 3d45ff761bddbabe8923b52330168dc3abd295fa469d3f2e47cb14dce85332d5
23
23
  vcpkg_fixup_pkgconfig 1a15f6c6d8e2b244d83a7514a0412d339127d2217d1df60ad1388b546c85f777
24
24
  vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58
25
25
  vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f
26
+ vcpkg_install_copyright ba6c169ab4e59fa05682e530cdeb883767de22c8391f023d4e6844a7ec5dd3d2
26
27
  vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29
27
28
  vcpkg_replace_string b450deb79207478b37119743e00808ebc42de0628e7b98c14ab24728bd5c78b8
pyogrio/tests/conftest.py CHANGED
@@ -31,7 +31,10 @@ DRIVERS = {
31
31
  ".geojsonl": "GeoJSONSeq",
32
32
  ".geojsons": "GeoJSONSeq",
33
33
  ".gpkg": "GPKG",
34
+ ".gpkg.zip": "GPKG",
34
35
  ".shp": "ESRI Shapefile",
36
+ ".shp.zip": "ESRI Shapefile",
37
+ ".shz": "ESRI Shapefile",
35
38
  }
36
39
 
37
40
  # mapping of driver name to extension
@@ -124,6 +127,11 @@ def naturalearth_lowres_all_ext(tmp_path, naturalearth_lowres, request):
124
127
  return prepare_testfile(naturalearth_lowres, tmp_path, request.param)
125
128
 
126
129
 
130
+ @pytest.fixture(scope="function", params=[".geojson"])
131
+ def naturalearth_lowres_geojson(tmp_path, naturalearth_lowres, request):
132
+ return prepare_testfile(naturalearth_lowres, tmp_path, request.param)
133
+
134
+
127
135
  @pytest.fixture(scope="function")
128
136
  def naturalearth_lowres_vsi(tmp_path, naturalearth_lowres):
129
137
  """Wrap naturalearth_lowres as a zip file for VSI tests"""
@@ -643,6 +643,9 @@ def test_write_append(request, tmp_path, naturalearth_lowres, ext):
643
643
  pytest.mark.xfail(reason="Bugs with append when writing Arrow to GeoJSON")
644
644
  )
645
645
 
646
+ if ext == ".gpkg.zip":
647
+ pytest.skip("Append is not supported for .gpkg.zip")
648
+
646
649
  meta, table = read_arrow(naturalearth_lowres)
647
650
 
648
651
  # coerce output layer to generic Geometry to avoid mixed type errors
@@ -106,9 +106,9 @@ def test_detect_write_driver_unsupported(path):
106
106
  detect_write_driver(path)
107
107
 
108
108
 
109
- @pytest.mark.parametrize("path", ["test.xml", "test.txt"])
109
+ @pytest.mark.parametrize("path", ["test.xml"])
110
110
  def test_detect_write_driver_multiple_unsupported(path):
111
- with pytest.raises(ValueError, match="multiple drivers are available"):
111
+ with pytest.raises(ValueError, match="multiple drivers are available "):
112
112
  detect_write_driver(path)
113
113
 
114
114
 
@@ -286,8 +286,12 @@ def test_read_bounds_negative_skip_features(naturalearth_lowres):
286
286
 
287
287
 
288
288
  def test_read_bounds_where_invalid(naturalearth_lowres_all_ext):
289
- with pytest.raises(ValueError, match="Invalid SQL"):
290
- read_bounds(naturalearth_lowres_all_ext, where="invalid")
289
+ if naturalearth_lowres_all_ext.suffix == ".gpkg" and __gdal_version__ >= (3, 11, 0):
290
+ with pytest.raises(DataLayerError, match="no such column"):
291
+ read_bounds(naturalearth_lowres_all_ext, where="invalid")
292
+ else:
293
+ with pytest.raises(ValueError, match="Invalid SQL"):
294
+ read_bounds(naturalearth_lowres_all_ext, where="invalid")
291
295
 
292
296
 
293
297
  def test_read_bounds_where(naturalearth_lowres):