pyogrio 0.7.2__cp311-cp311-macosx_11_0_arm64.whl → 0.8.0__cp311-cp311-macosx_11_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.
- pyogrio/.dylibs/{libgdal.33.3.7.2.dylib → libgdal.34.3.8.5.dylib} +0 -0
- pyogrio/__init__.py +4 -0
- pyogrio/_compat.py +6 -1
- pyogrio/_err.cpython-311-darwin.so +0 -0
- pyogrio/_err.pyx +7 -3
- pyogrio/_geometry.cpython-311-darwin.so +0 -0
- pyogrio/_io.cpython-311-darwin.so +0 -0
- pyogrio/_io.pyx +900 -242
- pyogrio/_ogr.cpython-311-darwin.so +0 -0
- pyogrio/_ogr.pxd +65 -12
- pyogrio/_ogr.pyx +8 -24
- pyogrio/_version.py +3 -3
- pyogrio/_vsi.cpython-311-darwin.so +0 -0
- pyogrio/_vsi.pxd +4 -0
- pyogrio/_vsi.pyx +140 -0
- pyogrio/core.py +43 -44
- pyogrio/gdal_data/GDAL-targets-release.cmake +3 -3
- pyogrio/gdal_data/GDAL-targets.cmake +10 -6
- pyogrio/gdal_data/GDALConfigVersion.cmake +3 -3
- pyogrio/gdal_data/gdalinfo_output.schema.json +2 -0
- pyogrio/gdal_data/gdalvrt.xsd +163 -0
- pyogrio/gdal_data/ogrinfo_output.schema.json +12 -1
- pyogrio/gdal_data/vcpkg.spdx.json +22 -22
- pyogrio/gdal_data/vcpkg_abi_info.txt +27 -26
- pyogrio/geopandas.py +126 -29
- pyogrio/proj_data/ITRF2008 +2 -2
- pyogrio/proj_data/proj-config-version.cmake +2 -2
- pyogrio/proj_data/proj-config.cmake +2 -1
- pyogrio/proj_data/proj-targets.cmake +13 -13
- pyogrio/proj_data/proj.db +0 -0
- pyogrio/proj_data/proj4-targets.cmake +13 -13
- pyogrio/proj_data/vcpkg.spdx.json +19 -41
- pyogrio/proj_data/vcpkg_abi_info.txt +14 -15
- pyogrio/raw.py +438 -116
- pyogrio/tests/conftest.py +75 -6
- pyogrio/tests/test_arrow.py +841 -7
- pyogrio/tests/test_core.py +99 -7
- pyogrio/tests/test_geopandas_io.py +721 -120
- pyogrio/tests/test_path.py +22 -3
- pyogrio/tests/test_raw_io.py +276 -50
- pyogrio/util.py +38 -18
- {pyogrio-0.7.2.dist-info → pyogrio-0.8.0.dist-info}/METADATA +2 -2
- {pyogrio-0.7.2.dist-info → pyogrio-0.8.0.dist-info}/RECORD +46 -44
- {pyogrio-0.7.2.dist-info → pyogrio-0.8.0.dist-info}/WHEEL +1 -1
- pyogrio/tests/win32.py +0 -86
- {pyogrio-0.7.2.dist-info → pyogrio-0.8.0.dist-info}/LICENSE +0 -0
- {pyogrio-0.7.2.dist-info → pyogrio-0.8.0.dist-info}/top_level.txt +0 -0
pyogrio/util.py
CHANGED
|
@@ -1,34 +1,49 @@
|
|
|
1
|
+
from pathlib import Path
|
|
1
2
|
import re
|
|
2
3
|
import sys
|
|
3
4
|
from urllib.parse import urlparse
|
|
4
5
|
|
|
5
6
|
from packaging.version import Version
|
|
6
7
|
|
|
7
|
-
from pyogrio._env import GDALEnv
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
def get_vsi_path_or_buffer(path_or_buffer):
|
|
10
|
+
"""Get vsi-prefixed path or bytes buffer depending on type of path_or_buffer
|
|
11
11
|
|
|
12
|
+
If path_or_buffer is a bytes object, it will be returned directly and will
|
|
13
|
+
be read into an in-memory dataset when passed to one of the Cython functions.
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
If path_or_buffer is a file-like object with a read method, bytes will be
|
|
16
|
+
read from the file-like object and returned.
|
|
14
17
|
|
|
15
|
-
|
|
16
|
-
|
|
18
|
+
Otherwise, it will be converted to a string, and parsed to prefix with
|
|
19
|
+
appropriate GDAL /vsi*/ prefixes.
|
|
20
|
+
|
|
21
|
+
Parameters
|
|
22
|
+
----------
|
|
23
|
+
path_or_buffer : str, pathlib.Path, bytes, or file-like
|
|
24
|
+
|
|
25
|
+
Returns
|
|
26
|
+
-------
|
|
27
|
+
str or bytes
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
# force path objects to string to specifically ignore their read method
|
|
31
|
+
if isinstance(path_or_buffer, Path):
|
|
32
|
+
return vsi_path(str(path_or_buffer))
|
|
17
33
|
|
|
18
|
-
buffer = None
|
|
19
34
|
if isinstance(path_or_buffer, bytes):
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if
|
|
27
|
-
|
|
28
|
-
else:
|
|
29
|
-
path = vsi_path(str(path_or_buffer))
|
|
35
|
+
return path_or_buffer
|
|
36
|
+
|
|
37
|
+
if hasattr(path_or_buffer, "read"):
|
|
38
|
+
bytes_buffer = path_or_buffer.read()
|
|
39
|
+
|
|
40
|
+
# rewind buffer if possible so that subsequent operations do not need to rewind
|
|
41
|
+
if hasattr(path_or_buffer, "seek"):
|
|
42
|
+
path_or_buffer.seek(0)
|
|
30
43
|
|
|
31
|
-
|
|
44
|
+
return bytes_buffer
|
|
45
|
+
|
|
46
|
+
return vsi_path(str(path_or_buffer))
|
|
32
47
|
|
|
33
48
|
|
|
34
49
|
def vsi_path(path: str) -> str:
|
|
@@ -37,6 +52,11 @@ def vsi_path(path: str) -> str:
|
|
|
37
52
|
|
|
38
53
|
"""
|
|
39
54
|
|
|
55
|
+
if "/vsimem/" in path:
|
|
56
|
+
raise ValueError(
|
|
57
|
+
"path cannot contain /vsimem/ directly; to use an in-memory dataset a bytes object must be passed instead"
|
|
58
|
+
)
|
|
59
|
+
|
|
40
60
|
# path is already in GDAL format
|
|
41
61
|
if path.startswith("/vsi"):
|
|
42
62
|
return path
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyogrio
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: Vectorized spatial vector file format I/O using GDAL/OGR
|
|
5
5
|
Home-page: https://github.com/geopandas/pyogrio
|
|
6
6
|
Author: Brendan C. Ward
|
|
@@ -56,7 +56,7 @@ substantial change. Please see [CHANGES](CHANGES.md).
|
|
|
56
56
|
|
|
57
57
|
## Requirements
|
|
58
58
|
|
|
59
|
-
Supports Python 3.8 - 3.11 and GDAL 3.4.x - 3.
|
|
59
|
+
Supports Python 3.8 - 3.11 and GDAL 3.4.x - 3.8.x.
|
|
60
60
|
|
|
61
61
|
Reading to GeoDataFrames requires `geopandas>=0.12` with `shapely>=2`.
|
|
62
62
|
|
|
@@ -1,63 +1,60 @@
|
|
|
1
|
-
pyogrio-
|
|
2
|
-
pyogrio
|
|
3
|
-
pyogrio
|
|
4
|
-
pyogrio
|
|
5
|
-
pyogrio
|
|
6
|
-
pyogrio/
|
|
7
|
-
pyogrio/
|
|
8
|
-
pyogrio/
|
|
9
|
-
pyogrio/_version.py,sha256=B-MKvOdxOlxitQZYhOYjmSv7Xo6dIy1o3TCMiBRuSac,497
|
|
10
|
-
pyogrio/raw.py,sha256=xE-Zku_KG1t28-Oo8q2XVS32wChWURq9rmj3uMLnI-s,18559
|
|
11
|
-
pyogrio/_ogr.pxd,sha256=nVi4I9gP7gQGkskP4TMK2utSr2DAKCIKT6ep0Tqta54,15296
|
|
12
|
-
pyogrio/util.py,sha256=WanURqX9cYpvUF6RPnZtzzz-SwHTsWtmBHUXAU0Wn0w,4933
|
|
1
|
+
pyogrio/_geometry.cpython-311-darwin.so,sha256=yvcF_T0nOz-WNNlSbLC7gPNbqmZaeVOJp0kADf_wSL4,117392
|
|
2
|
+
pyogrio/_err.pyx,sha256=aaBjjrqMtVHde51WwCZ7PBO348LTMPIshTOr4m1JVb4,6127
|
|
3
|
+
pyogrio/_vsi.pyx,sha256=7mlZ_bEZo51PIIhCyTN0euga1SZRnWVVo3yzwzFLvp0,4435
|
|
4
|
+
pyogrio/_err.cpython-311-darwin.so,sha256=Y8zrGkOIhqPKpPWeraNjzX3TlmGQAWHJU6cel3ODQ4U,141072
|
|
5
|
+
pyogrio/_version.py,sha256=JLC7tS3KQ_YW2wynkNxWJM8ggqmm9Wu2klla-uWJZS8,497
|
|
6
|
+
pyogrio/raw.py,sha256=XJfbWXCbc584WuXbr4Vj8S40crS3NeoEgknpbimmtDM,33455
|
|
7
|
+
pyogrio/_ogr.pxd,sha256=TOaqmSqjjBo2isNZ-k4lxwgRFa1rISG5yuIMlP-o4Eg,17144
|
|
8
|
+
pyogrio/util.py,sha256=KmgwHb5GVRuW9bzy7YSI5L7ZKQoEgk4eOqKuwwVoN3w,5723
|
|
13
9
|
pyogrio/_io.pxd,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
10
|
pyogrio/_geometry.pxd,sha256=glEFGgam8GVAnJr8q9NQ4zLdFYjIRd9Hn7LoNP8MOt8,147
|
|
15
|
-
pyogrio/__init__.py,sha256=
|
|
16
|
-
pyogrio/core.py,sha256=
|
|
17
|
-
pyogrio/_ogr.cpython-311-darwin.so,sha256=
|
|
18
|
-
pyogrio/_io.cpython-311-darwin.so,sha256=
|
|
19
|
-
pyogrio/geopandas.py,sha256=
|
|
11
|
+
pyogrio/__init__.py,sha256=j9Q9e6E7RTqZthTXCCty-P-ObGMtVdTJXOUuU8kPg_I,1141
|
|
12
|
+
pyogrio/core.py,sha256=5lNFCWJWXLCV-FeXnbgLK7fN3zc3QfeputubUSaNnQU,11104
|
|
13
|
+
pyogrio/_ogr.cpython-311-darwin.so,sha256=2vIKXzNJyQV6b3G6f_7DZMWpBH6kY2nTtwDZ3VvDeyY,179504
|
|
14
|
+
pyogrio/_io.cpython-311-darwin.so,sha256=2wv3WCc6ePJF0FDQn_iy6A1gxMu8QCZsKUptCVqI_to,623184
|
|
15
|
+
pyogrio/geopandas.py,sha256=ldlw9LIQ_igJK0iK9-CnujKQKZIufyBpwBKcLSY_8MY,28427
|
|
20
16
|
pyogrio/arrow_bridge.h,sha256=cmDLGfuENF3dE1MwByyfkZ9Yey5RsHo2Xg_vYujlWew,3573
|
|
17
|
+
pyogrio/_vsi.cpython-311-darwin.so,sha256=w9Twn-mw_6Mh6iXpCnBEJv9HqEA530_CTM0nLUWI3Zs,97408
|
|
21
18
|
pyogrio/_geometry.pyx,sha256=z4RJdJyMZvFShX3B2dBErMglQFDWUkUqqlOFTaEOBRg,4071
|
|
22
|
-
pyogrio/_io.pyx,sha256=
|
|
23
|
-
pyogrio/_ogr.pyx,sha256
|
|
19
|
+
pyogrio/_io.pyx,sha256=RAABGlL52Tii8QhQLLhFEhuhztnv25El4WVdAUjyX_U,91159
|
|
20
|
+
pyogrio/_ogr.pyx,sha256=z6PknXL3G3wclt80PVT4fGOzJgc-iInhxibPC15PnRQ,9667
|
|
24
21
|
pyogrio/errors.py,sha256=otUCS22V7jd-4b5o49YLTqmHzzHlr3XrEIyoF2qDSOA,666
|
|
25
|
-
pyogrio/_compat.py,sha256=
|
|
22
|
+
pyogrio/_compat.py,sha256=cXIol91_OZtHerTwQVXN0y3dVoAruIyO8AoBjanHgik,1008
|
|
23
|
+
pyogrio/_vsi.pxd,sha256=vLHYsuPH-mdOLj0mqVwbjSU7U8750SFtuMPxl8FbLJ4,206
|
|
26
24
|
pyogrio/_env.py,sha256=jf-nUbLqQka-XGKijLh4Oh0Lur_uj7XyvQVSQ0jXZ_0,1531
|
|
27
25
|
pyogrio/_err.pxd,sha256=DKe5pdq8CqnaW3U_w9X56iBqdylIvOaRk-sExSXA3WU,166
|
|
28
|
-
pyogrio/proj_data/vcpkg.spdx.json,sha256=
|
|
29
|
-
pyogrio/proj_data/proj.db,sha256=
|
|
26
|
+
pyogrio/proj_data/vcpkg.spdx.json,sha256=NcJdG8XAGyg7IIZH2S0OrNRwOtYAY3yrhiXpdXWZpBo,6621
|
|
27
|
+
pyogrio/proj_data/proj.db,sha256=7l14rro5yVAdWqT2RfsLNAq_Kki3olYNb2NGFTJRbi0,9105408
|
|
30
28
|
pyogrio/proj_data/nad83,sha256=mmJgyGgKvlIWyo_phZmPq6vBIbADKHmoIddcrjQR3JY,16593
|
|
31
29
|
pyogrio/proj_data/CH,sha256=bFPqQKLGAyW6bGuaK5wUO9FlZxw4gg7NjyPKq0omSrU,1097
|
|
32
30
|
pyogrio/proj_data/world,sha256=8nHNPlbHdZ0vz7u9OYcCZOuBBkFVcTwE_JLq3TCt60g,7079
|
|
33
31
|
pyogrio/proj_data/usage,sha256=JhaTY8J-caRMup1wOyK70TwZGrXi0GErPdNcc1yXH-Y,120
|
|
34
|
-
pyogrio/proj_data/vcpkg_abi_info.txt,sha256=
|
|
32
|
+
pyogrio/proj_data/vcpkg_abi_info.txt,sha256=rjFeA-wgevKLBDxBTL6u729GdOSV66vO2xBQ1B7VAEc,2048
|
|
35
33
|
pyogrio/proj_data/proj.ini,sha256=SvO-E5l27NOlzFZWPKMhu1ASFjwLid8IB773in3StB4,2107
|
|
36
34
|
pyogrio/proj_data/nad.lst,sha256=Gijthy_RVQ9b97Wl5b_F51ALX5TJdFuEodFWsyA5kow,6385
|
|
37
35
|
pyogrio/proj_data/ITRF2000,sha256=UiXDszZ6NwIeY5z9W9FSHSvV0Ay8R0zWs7OCdhWk_nI,2099
|
|
38
|
-
pyogrio/proj_data/ITRF2008,sha256=
|
|
39
|
-
pyogrio/proj_data/proj-config-version.cmake,sha256=
|
|
36
|
+
pyogrio/proj_data/ITRF2008,sha256=3GmF1XIeLh0Y-smW3uXeyQJE7z4gw49yIF4y2IQq8uI,5682
|
|
37
|
+
pyogrio/proj_data/proj-config-version.cmake,sha256=WeGnIEWKfFrDyESFOZg_bweQMR0RIxt7WrulZAp9eYw,1789
|
|
40
38
|
pyogrio/proj_data/triangulation.schema.json,sha256=sVKCZmZ9Tz6HByx043CycTUQFRWpASolKH_PMSzqF5o,8403
|
|
41
|
-
pyogrio/proj_data/proj-targets.cmake,sha256=
|
|
39
|
+
pyogrio/proj_data/proj-targets.cmake,sha256=o3_tj2DnH_K_22M-ZIkQtuKsu2OKs517PqEWpTaht60,4502
|
|
42
40
|
pyogrio/proj_data/deformation_model.schema.json,sha256=ugxZERFyB6k2_HOMHjHaABtFtRGTdzzgxnQhQ_NyuZ0,17671
|
|
43
|
-
pyogrio/proj_data/proj-config.cmake,sha256=
|
|
41
|
+
pyogrio/proj_data/proj-config.cmake,sha256=txJ2KowhyHvMWSyyOFNM98DMhim3KarXXUO4rQm5veY,2497
|
|
44
42
|
pyogrio/proj_data/nad27,sha256=C8IxkiRhrHWJIsanJR6W1-U-ZWYIsbTwa3hI-o_CVSA,19535
|
|
45
43
|
pyogrio/proj_data/copyright,sha256=ao8weT6HfTLj-IuXLwlwoFGjtaJs0FfTmTy1HiHEMxk,1784
|
|
46
44
|
pyogrio/proj_data/projjson.schema.json,sha256=HqlM_U1GCI-za_NtPEkqqSABIS62mngA5TOmEQP21W4,38312
|
|
47
|
-
pyogrio/proj_data/proj4-targets.cmake,sha256=
|
|
45
|
+
pyogrio/proj_data/proj4-targets.cmake,sha256=BSlH0ma-qJtGv0csRI6HY-CfcwY-Jz9BM8kWujgVqP0,4507
|
|
48
46
|
pyogrio/proj_data/GL27,sha256=hTdeYxXW9kTkV32t88XxV1KK0VtxXJmyh73asj1EGT0,728
|
|
49
47
|
pyogrio/proj_data/proj4-targets-release.cmake,sha256=5AMWErMkyX8NvT_r6MD_mrisCRtS-uOAk_odUdeIqRw,826
|
|
50
48
|
pyogrio/proj_data/ITRF2014,sha256=KYUwTjflfDYqYTl7YyZ9psYMN2HT5GOhH0xr0BPC19U,3489
|
|
51
49
|
pyogrio/proj_data/other.extra,sha256=we90wKmz4fQqV2wVvENmbBNbfpNh21cno1MgTaJ5zLs,3915
|
|
52
50
|
pyogrio/proj_data/proj-targets-release.cmake,sha256=EUGwmwyqLMarJjwhp5G63iw2U2s2nEln64t-eEYH3Q8,821
|
|
53
|
-
pyogrio/tests/conftest.py,sha256=
|
|
54
|
-
pyogrio/tests/test_raw_io.py,sha256=
|
|
55
|
-
pyogrio/tests/test_core.py,sha256=
|
|
51
|
+
pyogrio/tests/conftest.py,sha256=xiQZI74WF4mFaM4E6ypOd6pqnUwpaSv5r4MQ4_NlpFs,5815
|
|
52
|
+
pyogrio/tests/test_raw_io.py,sha256=nuxxyB2uBHumBn9gi62bUx3q6ZXMh11wP0qBa2gog4o,47101
|
|
53
|
+
pyogrio/tests/test_core.py,sha256=bGDt5LMcLrl1av1GlUtyOKxEz6usVmDRI6wTQxfZp8Q,19218
|
|
56
54
|
pyogrio/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
|
-
pyogrio/tests/
|
|
58
|
-
pyogrio/tests/
|
|
59
|
-
pyogrio/tests/
|
|
60
|
-
pyogrio/tests/test_arrow.py,sha256=lFEvDeAH7EoTYMzzQ6t7vwHL8C1fcs3nF4g9GhvOve4,6947
|
|
55
|
+
pyogrio/tests/test_geopandas_io.py,sha256=QGa9I0Oc1CbXRD7F9oqmfMOmpSln9D-MaELtLV4QbRk,71888
|
|
56
|
+
pyogrio/tests/test_path.py,sha256=2e-xE40Z8D3v5Qe2FEbrRDiO-7JTSplSWKd-DBDP7eQ,11324
|
|
57
|
+
pyogrio/tests/test_arrow.py,sha256=cudcAr2LVg_ZJQhxTNI0eerpBpkIyQA336-sD6eIdug,32561
|
|
61
58
|
pyogrio/tests/fixtures/test_multisurface.gpkg,sha256=sc6yaD6RxjqCGIT0ijBXgxEWYNMZNPLOetKvD5njGYY,98304
|
|
62
59
|
pyogrio/tests/fixtures/test_ogr_types_list.geojson,sha256=Siiwb-zoajKMJoNun2n-cg9784DLZqm_wCMgFpxsytA,845
|
|
63
60
|
pyogrio/tests/fixtures/test_fgdb.gdb.zip,sha256=c7sFaFVfxEfn_R1NxpijRgOIxa2u1pFBSL9h_4PNpHI,101524
|
|
@@ -72,7 +69,7 @@ pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.cpg,sha256=CfwxMH
|
|
|
72
69
|
pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp,sha256=CONBYG6DkeRYw_CN6zEt5mS1a_rjdgZMWqCu5mgaX1U,180924
|
|
73
70
|
pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.dbf,sha256=0q4cma3PjkWGpbEsY5ZyA1-i8_Rp5yVZR94AQBw-1-E,48869
|
|
74
71
|
pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.prj,sha256=mKrz0cDsrfGkJKRTbeJhw9r043NpfLhsQMQ7mJ2vUus,143
|
|
75
|
-
pyogrio/.dylibs/libgdal.
|
|
72
|
+
pyogrio/.dylibs/libgdal.34.3.8.5.dylib,sha256=gmxZBZyK1T645xWK_em9hPGUYh2XMjNyU0IPFV4qS7I,28589440
|
|
76
73
|
pyogrio/gdal_data/gml_registry.xml,sha256=2rVxsqdOS23ieg_eYtNIhxQcpFbRHKrN11oWay3lp0M,6643
|
|
77
74
|
pyogrio/gdal_data/grib2_table_4_2_2_5.csv,sha256=DMm7VDNZcLAKXwFA4SIgfExBb1d8iGFNMKpOoYmwY5U,9513
|
|
78
75
|
pyogrio/gdal_data/grib2_table_4_2_10_191.csv,sha256=D1EVM9Eyzl1STFGdSwy-OjkzyVNqUJc4JvToQgIcscg,9634
|
|
@@ -104,7 +101,7 @@ pyogrio/gdal_data/bag_template.xml,sha256=2veBb2hsNbUexmyQ_GrtvxLb75fyj5-ulzE5L5
|
|
|
104
101
|
pyogrio/gdal_data/inspire_cp_CadastralZoning.gfs,sha256=e1GC-8pLjZ6gc-OY0IUDd5LL2URNHcazWW-i7QMLTPo,4812
|
|
105
102
|
pyogrio/gdal_data/jpfgdgml_WA.gfs,sha256=GBCluVns9HsNGQMnEb4VXaYYi-cNgIo9LDYMCINVlnM,1497
|
|
106
103
|
pyogrio/gdal_data/grib2_table_4_2_2_3.csv,sha256=NhDBdFAucOn0CBT4N8txwupv58jwnpCY6ChnhGNjkfo,10634
|
|
107
|
-
pyogrio/gdal_data/vcpkg.spdx.json,sha256=
|
|
104
|
+
pyogrio/gdal_data/vcpkg.spdx.json,sha256=BF8Dh2vFa5WgFDv-Rq7Qo7wFhyUEKb-r8m30ifDoaFw,8852
|
|
108
105
|
pyogrio/gdal_data/grib2_table_4_2_0_1.csv,sha256=Islx1uwOrtFhUgZcq0urhO9eG1bFDWjFieujFdQJq3M,16505
|
|
109
106
|
pyogrio/gdal_data/grib2_table_4_2_20_1.csv,sha256=PssQWXb7slKE9Lj3j6-7bzaT_MbaNYvW1Ye9svtdHRQ,9851
|
|
110
107
|
pyogrio/gdal_data/grib2_table_4_2_4_5.csv,sha256=UH1R3eJHZQ9Xejfrgr9km-ko28squEkiEdtdfqN9boE,9495
|
|
@@ -114,7 +111,7 @@ pyogrio/gdal_data/grib2_table_4_2_0_0.csv,sha256=7lcXiYZHBVvyTtJuzN7_N7bcCTaT98t
|
|
|
114
111
|
pyogrio/gdal_data/seed_2d.dgn,sha256=3YRl8YVp2SiYCengliEV02XQpW3gITk5UqXnoKILUnw,9216
|
|
115
112
|
pyogrio/gdal_data/jpfgdgml_RailCL.gfs,sha256=WfcPfaAxyRwH0hGYR8cWo9KzkYaeVjdMpWdCj88L2Lc,1507
|
|
116
113
|
pyogrio/gdal_data/jpfgdgml_WStrA.gfs,sha256=ul-hFP9A9jVcIW4xKShR6C0yjXAq8HEPUkk8oLyH27A,1503
|
|
117
|
-
pyogrio/gdal_data/GDAL-targets.cmake,sha256
|
|
114
|
+
pyogrio/gdal_data/GDAL-targets.cmake,sha256=TImuOOi-8MdxP7NIk14csJgf371mO_C40JflC10OjSQ,4035
|
|
118
115
|
pyogrio/gdal_data/grib2_table_4_2_2_0.csv,sha256=VmMPvFRcEifRi8w6eXg9Z3i_JcxhnqAcdxM4ymWV1E0,12666
|
|
119
116
|
pyogrio/gdal_data/grib2_table_4_2_0_2.csv,sha256=Hcr_tN5FR17RXjlBWHh1N-fHS7opzUxThapntte7Bd4,10892
|
|
120
117
|
pyogrio/gdal_data/jpfgdgml_SBAPt.gfs,sha256=6SXkKWcv4sOfsZUtRPBx3kSg2H8JgSLhK_fxaHhOxuE,1375
|
|
@@ -158,7 +155,7 @@ pyogrio/gdal_data/nitf_spec.xml,sha256=KFFbjkzMZ_q8QbK4VmHQpbFZqryOrADtB6_IdXZsY
|
|
|
158
155
|
pyogrio/gdal_data/tms_MapML_CBMTILE.json,sha256=tZaccbdXtciaiOyOkESWhCT1lGtiXtTwfSvgmNwm14A,7792
|
|
159
156
|
pyogrio/gdal_data/header.dxf,sha256=9GpEP0k-Q3B7x5hbnyhEViwk_qV21xVw_yr-kTF0Sd4,6572
|
|
160
157
|
pyogrio/gdal_data/grib2_table_4_2_1_1.csv,sha256=3FyIbZA43DVDSURtfTyKmbqw2bCyvB9K5ObuED1fIiU,9655
|
|
161
|
-
pyogrio/gdal_data/GDAL-targets-release.cmake,sha256=
|
|
158
|
+
pyogrio/gdal_data/GDAL-targets-release.cmake,sha256=AUhj3BxcrjkMGwdC4imDtcY5cD7Hp84yZyBwryQEXLY,847
|
|
162
159
|
pyogrio/gdal_data/grib2_table_4_2_3_3.csv,sha256=I4cT-Ad19soux0yIC8cQw-UPDHA8slwLynqEtOb-_PQ,784
|
|
163
160
|
pyogrio/gdal_data/grib2_table_4_2_3_2.csv,sha256=FWUq3hX244-kBMJor_98vRY7ujIaf_ZF6SzLHOv5X8M,3833
|
|
164
161
|
pyogrio/gdal_data/grib2_table_4_2_local_Canada.csv,sha256=m8GRxbypdPQvvdSIA38HTuHKu6gO_i2lC4_SVMDcv_U,333
|
|
@@ -168,7 +165,7 @@ pyogrio/gdal_data/grib2_table_4_2_local_NCEP.csv,sha256=3u547LbwYlq1zC48OFIOqpIZ
|
|
|
168
165
|
pyogrio/gdal_data/grib2_table_4_2_0_13.csv,sha256=FiAWXbiJem9ePbrtXLu7chBm2H-PhZ39DNI_c7CXE3I,9596
|
|
169
166
|
pyogrio/gdal_data/ruian_vf_v1.gfs,sha256=Tl4_j6ZZgk6Do3HDCmPLrMyvDcI0KZZ7cpIvTMh6FBU,67252
|
|
170
167
|
pyogrio/gdal_data/jpfgdgml_ElevPt.gfs,sha256=9MRSGeU4EV1qAZ6Q2JEBsINXQXjxtlLg7JFgnFH3bIM,1500
|
|
171
|
-
pyogrio/gdal_data/vcpkg_abi_info.txt,sha256=
|
|
168
|
+
pyogrio/gdal_data/vcpkg_abi_info.txt,sha256=kTuX51cRm8mBx7HkAtLNPE1apwgBsxlWyPRhWHqknyM,3186
|
|
172
169
|
pyogrio/gdal_data/grib2_table_4_2_0_190.csv,sha256=xF_PY2JAidyUTzFRSakOV3SITD5OD2LgF-2WT_vG0bc,9507
|
|
173
170
|
pyogrio/gdal_data/grib2_table_4_2_10_0.csv,sha256=9P_7VCO55ZdL-Acj5lwY6ECnruzcgMAb7bmeQYIG7-c,11822
|
|
174
171
|
pyogrio/gdal_data/grib2_table_4_2_10_1.csv,sha256=lWT-VZLPKNdqWmFE4TBRVncsUsqRkxCzcIIk7TNuOGk,9625
|
|
@@ -179,10 +176,10 @@ pyogrio/gdal_data/jpfgdgml_RdCompt.gfs,sha256=e19AWCj_6GE7AR8sUE8WlRUZuOkDsfPgVr
|
|
|
179
176
|
pyogrio/gdal_data/gmlasconf.xml,sha256=IAk50u-H3k34Dm6_MJCMYOllTgv8a3nHrk6oqUR9t24,7432
|
|
180
177
|
pyogrio/gdal_data/s57expectedinput.csv,sha256=1bCaXEJI8-sJBqTjrGjXOAyG-BnXDerjZi5zbwWXvGw,20885
|
|
181
178
|
pyogrio/gdal_data/grib2_table_4_2_0_21.csv,sha256=30k7pyX-dRE2KdZzZ4lE4tNliimuRzYJevqXoRU9UvM,10262
|
|
182
|
-
pyogrio/gdal_data/gdalinfo_output.schema.json,sha256=
|
|
179
|
+
pyogrio/gdal_data/gdalinfo_output.schema.json,sha256=RcdGS9NTuLwqr2KqfEWlW5aIVWyKfPq24zicQJwQP8I,8233
|
|
183
180
|
pyogrio/gdal_data/grib2_table_4_2_local_MRMS.csv,sha256=H_u9WF10JNULZrrg7fE4D0q-tFG0BT28Z8w3umpVDlM,15587
|
|
184
181
|
pyogrio/gdal_data/grib2_table_4_2_10_3.csv,sha256=LxrwVe-pgQTuqDSTGSarqfDaTqBED-L9uohVEyTeKIY,9989
|
|
185
|
-
pyogrio/gdal_data/ogrinfo_output.schema.json,sha256=
|
|
182
|
+
pyogrio/gdal_data/ogrinfo_output.schema.json,sha256=qygAli3uNVaoDR_1ohJVQvYqiXpwWAAiDpWzKzE5x8U,11127
|
|
186
183
|
pyogrio/gdal_data/grib2_table_4_2_10_2.csv,sha256=OitdURbBcwCaOEMxzAy0kugXFRiYn2TdB9oBIvSmTq4,10112
|
|
187
184
|
pyogrio/gdal_data/grib2_table_versions.csv,sha256=kmlTzSvGEG0hhPJwT9se8LVIVz61oufFbH-90NhFh_U,38
|
|
188
185
|
pyogrio/gdal_data/jpfgdgml_RdSgmtA.gfs,sha256=DrQoc9ubkSfkE8QL1Uvoq-EWklYvSIGeTw8cuJtZuZU,1644
|
|
@@ -193,7 +190,7 @@ pyogrio/gdal_data/stateplane.csv,sha256=MMYhCHKwpMENQHOajLa-2mMKfvPrTLB6cSjibo6D
|
|
|
193
190
|
pyogrio/gdal_data/grib2_table_4_2_0_20.csv,sha256=IUriHiSfaj_jzgaTT_lWVCZt-Uo_KSTinbaYDsQK8eY,12291
|
|
194
191
|
pyogrio/gdal_data/template_tiles.mapml,sha256=sb1swUtdRcWuDxRt2-8j07jZWr6oJQ_dU7Ep7fuPMt0,1947
|
|
195
192
|
pyogrio/gdal_data/grib2_table_4_2_0_18.csv,sha256=UGnoCo2YiZQj9wJJE4oajSegwv7jMxebvWU69-TeVfY,10224
|
|
196
|
-
pyogrio/gdal_data/gdalvrt.xsd,sha256=
|
|
193
|
+
pyogrio/gdal_data/gdalvrt.xsd,sha256=S0NVXifFzG4kJUW-XdyFzYLnwi-7YUQev8DI6Xx7av4,34063
|
|
197
194
|
pyogrio/gdal_data/jpfgdgml_RdMgtBdry.gfs,sha256=icSd5TDjjersUSthlHjPande-IFpCVAEJWWReCSo0vY,1386
|
|
198
195
|
pyogrio/gdal_data/grib2_process.csv,sha256=5t64qqEuz435_VQfKj6jZrPpi9GUJPL-XS32V9VECg8,4926
|
|
199
196
|
pyogrio/gdal_data/grib2_center.csv,sha256=9qwbZ4W8m8-6dZG6LFskca3rCgl42bMLfzg0yQI_QjM,4171
|
|
@@ -214,7 +211,7 @@ pyogrio/gdal_data/nitf_spec.xsd,sha256=60ccsb6YEuoJkrGcBxQxafXAGTSG5vqGdzMAATaJ2
|
|
|
214
211
|
pyogrio/gdal_data/grib2_subcenter.csv,sha256=H1NnC7PusHTUbS3cFTfnwFyHskqvdgJNApd1FDUClFs,2328
|
|
215
212
|
pyogrio/gdal_data/copyright,sha256=Ha40aOgdANpW4pNvdNM7izrQnXJkN_Gc4gml2r6kH3c,21841
|
|
216
213
|
pyogrio/gdal_data/s57agencies.csv,sha256=IS73IR7YPEOCulni7kQ3pzMXE7KYM77nZFwHMcq8QnA,13304
|
|
217
|
-
pyogrio/gdal_data/GDALConfigVersion.cmake,sha256=
|
|
214
|
+
pyogrio/gdal_data/GDALConfigVersion.cmake,sha256=PEsPPVJv9vVz2EGSodBAgfGgt-Tzk6o6Zs-TNGQqoX0,3675
|
|
218
215
|
pyogrio/gdal_data/ozi_ellips.csv,sha256=DINjv97cF4fVNGPXBeLhzo-9_NSdHjx3j11CgpgNdcY,1349
|
|
219
216
|
pyogrio/gdal_data/jpfgdgml_WStrL.gfs,sha256=6_4tnRheyIf-c3JQwKYxSHA4i-I7ORkf3InxygGqyJA,1505
|
|
220
217
|
pyogrio/gdal_data/GDALLogoBW.svg,sha256=qsnasz1HnguDK4vXyeVRDcvvNKfGzJrqlrviqrUWHFM,13022
|
|
@@ -234,3 +231,8 @@ pyogrio/gdal_data/jpfgdgml_SBBdry.gfs,sha256=JDySSKChX3q0KetcBBC62Bvsr59qj8aq7_L
|
|
|
234
231
|
pyogrio/gdal_data/netcdf_config.xsd,sha256=O1eIEmlSx3y7N1hIMtfb5GzD_F7hunQdlKI1pXpi3v4,7491
|
|
235
232
|
pyogrio/gdal_data/vdv452.xml,sha256=q1KF0BR-dDEIomwkRLhTksR4f_maMumayx4hQ2wju8k,25816
|
|
236
233
|
pyogrio/gdal_data/ecw_cs.wkt,sha256=1DGJPrRGsmXSBu6ohj3NzOO2XHwqcH2qtY6J5YOvAz4,364032
|
|
234
|
+
pyogrio-0.8.0.dist-info/RECORD,,
|
|
235
|
+
pyogrio-0.8.0.dist-info/LICENSE,sha256=e3KtZsP5KtU41F_46jNd4Gfba2PwF2bfVumh9KT6o7Y,1102
|
|
236
|
+
pyogrio-0.8.0.dist-info/WHEEL,sha256=sieEctgmsyAnWfDYOiunmkigyyjGmYuUaApm_YItwoI,110
|
|
237
|
+
pyogrio-0.8.0.dist-info/top_level.txt,sha256=DUBAVaLxa9r0nHHskG8tHdP1P3zt6TYYPRiDBlEUc7Y,8
|
|
238
|
+
pyogrio-0.8.0.dist-info/METADATA,sha256=RKzB-3PbWmDULJd8laZlFVhTJ2NLih0QSrRo1N0uwuQ,3807
|
pyogrio/tests/win32.py
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"""Run pytest tests manually on Windows due to import errors
|
|
2
|
-
"""
|
|
3
|
-
from pathlib import Path
|
|
4
|
-
import platform
|
|
5
|
-
from tempfile import TemporaryDirectory
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
data_dir = Path(__file__).parent.resolve() / "fixtures"
|
|
9
|
-
|
|
10
|
-
if platform.system() == "Windows":
|
|
11
|
-
|
|
12
|
-
naturalearth_lowres = data_dir / Path("naturalearth_lowres/naturalearth_lowres.shp")
|
|
13
|
-
test_fgdb_vsi = f"/vsizip/{data_dir}/test_fgdb.gdb.zip"
|
|
14
|
-
|
|
15
|
-
from pyogrio.tests.test_core import test_read_info
|
|
16
|
-
|
|
17
|
-
try:
|
|
18
|
-
test_read_info(naturalearth_lowres)
|
|
19
|
-
except Exception as ex:
|
|
20
|
-
print(ex)
|
|
21
|
-
|
|
22
|
-
from pyogrio.tests.test_raw_io import (
|
|
23
|
-
test_read,
|
|
24
|
-
test_read_no_geometry,
|
|
25
|
-
test_read_columns,
|
|
26
|
-
test_read_skip_features,
|
|
27
|
-
test_read_max_features,
|
|
28
|
-
test_read_where,
|
|
29
|
-
test_read_where_invalid,
|
|
30
|
-
test_write,
|
|
31
|
-
test_write_gpkg,
|
|
32
|
-
test_write_geojson,
|
|
33
|
-
)
|
|
34
|
-
|
|
35
|
-
try:
|
|
36
|
-
test_read(naturalearth_lowres)
|
|
37
|
-
except Exception as ex:
|
|
38
|
-
print(ex)
|
|
39
|
-
|
|
40
|
-
try:
|
|
41
|
-
test_read_no_geometry(naturalearth_lowres)
|
|
42
|
-
except Exception as ex:
|
|
43
|
-
print(ex)
|
|
44
|
-
|
|
45
|
-
try:
|
|
46
|
-
test_read_columns(naturalearth_lowres)
|
|
47
|
-
except Exception as ex:
|
|
48
|
-
print(ex)
|
|
49
|
-
|
|
50
|
-
try:
|
|
51
|
-
test_read_skip_features(naturalearth_lowres)
|
|
52
|
-
except Exception as ex:
|
|
53
|
-
print(ex)
|
|
54
|
-
|
|
55
|
-
try:
|
|
56
|
-
test_read_max_features(naturalearth_lowres)
|
|
57
|
-
except Exception as ex:
|
|
58
|
-
print(ex)
|
|
59
|
-
|
|
60
|
-
try:
|
|
61
|
-
test_read_where(naturalearth_lowres)
|
|
62
|
-
except Exception as ex:
|
|
63
|
-
print(ex)
|
|
64
|
-
|
|
65
|
-
try:
|
|
66
|
-
test_read_where_invalid(naturalearth_lowres)
|
|
67
|
-
except Exception as ex:
|
|
68
|
-
print(ex)
|
|
69
|
-
|
|
70
|
-
with TemporaryDirectory() as tmpdir:
|
|
71
|
-
try:
|
|
72
|
-
test_write(tmpdir, naturalearth_lowres)
|
|
73
|
-
except Exception as ex:
|
|
74
|
-
print(ex)
|
|
75
|
-
|
|
76
|
-
with TemporaryDirectory() as tmpdir:
|
|
77
|
-
try:
|
|
78
|
-
test_write_gpkg(tmpdir, naturalearth_lowres)
|
|
79
|
-
except Exception as ex:
|
|
80
|
-
print(ex)
|
|
81
|
-
|
|
82
|
-
with TemporaryDirectory() as tmpdir:
|
|
83
|
-
try:
|
|
84
|
-
test_write_geojson(tmpdir, naturalearth_lowres)
|
|
85
|
-
except Exception as ex:
|
|
86
|
-
print(ex)
|
|
File without changes
|
|
File without changes
|