pyogrio 0.7.2__cp310-cp310-manylinux_2_28_aarch64.whl → 0.9.0__cp310-cp310-manylinux_2_28_aarch64.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 (48) hide show
  1. pyogrio/__init__.py +4 -0
  2. pyogrio/_compat.py +6 -1
  3. pyogrio/_err.cpython-310-aarch64-linux-gnu.so +0 -0
  4. pyogrio/_err.pyx +7 -3
  5. pyogrio/_geometry.cpython-310-aarch64-linux-gnu.so +0 -0
  6. pyogrio/_io.cpython-310-aarch64-linux-gnu.so +0 -0
  7. pyogrio/_io.pyx +904 -242
  8. pyogrio/_ogr.cpython-310-aarch64-linux-gnu.so +0 -0
  9. pyogrio/_ogr.pxd +69 -13
  10. pyogrio/_ogr.pyx +8 -24
  11. pyogrio/_version.py +3 -3
  12. pyogrio/_vsi.cpython-310-aarch64-linux-gnu.so +0 -0
  13. pyogrio/_vsi.pxd +4 -0
  14. pyogrio/_vsi.pyx +140 -0
  15. pyogrio/core.py +43 -44
  16. pyogrio/gdal_data/GDAL-targets-release.cmake +3 -3
  17. pyogrio/gdal_data/GDAL-targets.cmake +10 -6
  18. pyogrio/gdal_data/GDALConfigVersion.cmake +3 -3
  19. pyogrio/gdal_data/gdalinfo_output.schema.json +2 -0
  20. pyogrio/gdal_data/gdalvrt.xsd +163 -0
  21. pyogrio/gdal_data/ogrinfo_output.schema.json +12 -1
  22. pyogrio/gdal_data/vcpkg.spdx.json +26 -26
  23. pyogrio/gdal_data/vcpkg_abi_info.txt +27 -26
  24. pyogrio/geopandas.py +140 -34
  25. pyogrio/proj_data/ITRF2008 +2 -2
  26. pyogrio/proj_data/proj-config-version.cmake +2 -2
  27. pyogrio/proj_data/proj-config.cmake +2 -1
  28. pyogrio/proj_data/proj-targets.cmake +13 -13
  29. pyogrio/proj_data/proj.db +0 -0
  30. pyogrio/proj_data/proj4-targets.cmake +13 -13
  31. pyogrio/proj_data/vcpkg.spdx.json +20 -42
  32. pyogrio/proj_data/vcpkg_abi_info.txt +14 -15
  33. pyogrio/raw.py +438 -116
  34. pyogrio/tests/conftest.py +75 -6
  35. pyogrio/tests/fixtures/poly_not_enough_points.shp.zip +0 -0
  36. pyogrio/tests/test_arrow.py +841 -7
  37. pyogrio/tests/test_core.py +99 -7
  38. pyogrio/tests/test_geopandas_io.py +827 -121
  39. pyogrio/tests/test_path.py +23 -3
  40. pyogrio/tests/test_raw_io.py +276 -50
  41. pyogrio/util.py +39 -19
  42. {pyogrio-0.7.2.dist-info → pyogrio-0.9.0.dist-info}/METADATA +2 -2
  43. {pyogrio-0.7.2.dist-info → pyogrio-0.9.0.dist-info}/RECORD +210 -207
  44. {pyogrio-0.7.2.dist-info → pyogrio-0.9.0.dist-info}/WHEEL +1 -1
  45. pyogrio.libs/{libgdal-cb554135.so.33.3.7.2 → libgdal-6ff0914e.so.34.3.8.5} +0 -0
  46. pyogrio/tests/win32.py +0 -86
  47. {pyogrio-0.7.2.dist-info → pyogrio-0.9.0.dist-info}/LICENSE +0 -0
  48. {pyogrio-0.7.2.dist-info → pyogrio-0.9.0.dist-info}/top_level.txt +0 -0
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)