Skip to content

Commit 39c84f2

Browse files
committed
Adds ExtensionType for Parquet geospatial WKB arrays
- Implements the ExtensionType for Parquet geospatial logical types - Adds GeoArrow compatible Metadata type to hold geospatial metadata - Adds basic tests around geospatial metadata serialization/deserialization - Integrates geospatial logical type parsing into schema extensions
1 parent b93fa52 commit 39c84f2

File tree

6 files changed

+481
-2
lines changed

6 files changed

+481
-2
lines changed

parquet-geospatial/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ edition = { workspace = true }
2929
rust-version = { workspace = true }
3030

3131
[dependencies]
32+
arrow = { workspace = true }
3233
arrow-schema = { workspace = true }
3334
geo-traits = { version = "0.3" }
35+
serde = { version = "1.0", default-features = false, features = ["derive"]}
36+
serde_json = { version = "1.0", default-features = false, features = ["std"]}
3437
wkb = { version = "0.9.1" }
3538

3639
[dev-dependencies]

parquet-geospatial/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,9 @@
3030
pub mod bounding;
3131
pub mod interval;
3232
pub mod testing;
33+
34+
mod types;
35+
36+
pub use types::Hint as WkbTypeHint;
37+
pub use types::Metadata as WkbMetadata;
38+
pub use types::WkbType;

0 commit comments

Comments
 (0)