Skip to content

Commit 2982052

Browse files
authored
feat(python): Improve Python GeoParquet docs, add tests, fix some bugs (#1210)
For #1175 Closes #981
1 parent 948d7d5 commit 2982052

File tree

26 files changed

+612
-442
lines changed

26 files changed

+612
-442
lines changed

python/docs/api/core/functions.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,19 @@ Interoperability with other Python geospatial libraries (Shapely, GeoPandas) and
77
filters:
88
- "!^_"
99
members:
10-
- read_pyogrio
11-
- from_geopandas
12-
- from_shapely
1310
- from_wkb
1411
- from_wkt
15-
- to_geopandas
16-
- to_shapely
1712
- to_wkb
1813
- to_wkt
1914

20-
## Table functions
15+
<!-- ## Table functions
2116
2217
::: geoarrow.rust.core
2318
options:
2419
filters:
2520
- "!^_"
2621
members:
27-
- geometry_col
22+
- geometry_col -->
2823

2924
## CRS Access
3025

python/docs/api/core/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# `geoarrow.rust.core`
22

3-
Root for `geoarrow.rust.core` API docs.
4-
53
All functionality described within this directory are part of the `geoarrow.rust.core` submodule. To use, install the `geoarrow-rust-core` PyPI package:
64

75
```
File renamed without changes.

python/docs/api/io/gdal.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,4 @@
22

33
GDAL natively supports reading data from any vector driver as GeoArrow data, and natively supports writing data to any vector driver from GeoArrow data.
44

5-
For reading and writing you have two options:
6-
7-
- You can use [`pyogrio`'s Arrow integration](https://pyogrio.readthedocs.io/en/latest/api.html#arrow-integration) directly
8-
- You can use the [`geoarrow.rust.core.read_pyogrio`][] wrapper.
9-
10-
This calls `pyogrio` under the hood (and requires that `pyogrio` is installed). The wrapper lives in `geoarrow.rust.core` because it has no dependency on any Rust IO code.
5+
For reading and writing, use [`pyogrio`'s Arrow integration](https://pyogrio.readthedocs.io/en/latest/api.html#arrow-integration) directly, which supports WKB-encoded GeoArrow data.
File renamed without changes.

python/docs/api/io/geoparquet.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
Read and write [GeoParquet](https://geoparquet.org/) files.
44

5-
::: geoarrow.rust.io.read_parquet
6-
::: geoarrow.rust.io.read_parquet_async
7-
::: geoarrow.rust.io.write_parquet
85
::: geoarrow.rust.io.GeoParquetDataset
96
::: geoarrow.rust.io.GeoParquetFile
107
::: geoarrow.rust.io.GeoParquetWriter
118
::: geoarrow.rust.io.enums.GeoParquetEncoding
129
::: geoarrow.rust.io.types.GeoParquetEncodingT
10+
::: geoarrow.rust.io.PathInput

python/docs/api/io/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# `geoarrow.rust.io`
2+
3+
All functionality described within this directory are part of the `geoarrow.rust.io` submodule. To use, install the `geoarrow-rust-io` PyPI package:
4+
5+
```
6+
pip install geoarrow-rust-io
7+
```
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)