Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ geo = "0.31.0"
geo-traits = "0.3.0"
geo-types = "0.7.19"
geoarrow = "0.8.0"
geoarrow-cast = "0.8.0"
get_dir = "0.5.0"
glob = "0.3.2"
goldenfile = "1"
Expand Down
1 change: 1 addition & 0 deletions vortex-geo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ geo = { workspace = true }
geo-traits = { workspace = true }
geo-types = { workspace = true }
geoarrow = { workspace = true }
geoarrow-cast = { workspace = true }
prost = { workspace = true }
vortex-array = { workspace = true }
vortex-error = { workspace = true }
Expand Down
4 changes: 4 additions & 0 deletions vortex-geo/src/extension/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-FileCopyrightText: Copyright the Vortex contributors

pub(crate) mod coordinate;
mod multipolygon;
mod point;
mod polygon;
mod wkb;
Expand All @@ -12,6 +13,7 @@ use std::sync::Arc;
use geo_types::Geometry;
use geoarrow::datatypes::Crs;
use geoarrow::datatypes::Metadata;
pub use multipolygon::*;
pub use point::*;
pub use polygon::*;
use vortex_array::ArrayRef;
Expand Down Expand Up @@ -46,6 +48,8 @@ pub(crate) fn geometries(
point_geometries(&storage, ctx)
} else if ext.is::<Polygon>() {
polygon_geometries(&storage, ctx)
} else if ext.is::<MultiPolygon>() {
multipolygon_geometries(&storage, ctx)
} else {
vortex_bail!("geo: unsupported geometry extension {}", array.dtype())
}
Expand Down
Loading
Loading