Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
67ebbe9
feat(sedona-gdal): add crate with dynamically loaded GDAL bindings
Kontinuation Mar 3, 2026
2b29a19
fix: suppress unused import clippy warning on call_gdal_api re-export
Kontinuation Mar 3, 2026
6057d31
Resolved some of the review comments
Kontinuation Mar 4, 2026
7f2778d
Address PR review: add GdalApiBuilder, platform fallback, and tests
Kontinuation Mar 4, 2026
56c5239
Fix mangled name of MEMDataset::Create on Windows
Kontinuation Mar 6, 2026
002b566
Fix review comments
Kontinuation Mar 6, 2026
87db756
Half-baked version checking for both compile-time-linked and runtime …
Kontinuation Mar 6, 2026
4990169
feat(sedonadb): expose gdal_version() and update GDAL version test code
Kontinuation Mar 5, 2026
b58ab7b
Update docs to include installation of gdal as a dev requirement
Kontinuation Mar 6, 2026
d2eaaaa
Renamed register.rs to global.rs
Kontinuation Mar 6, 2026
200ba63
Don't import CStr to avoid unused import in some feature setting
Kontinuation Mar 6, 2026
db52a7c
Make the closure accepted by with_global_gdal_api return R
Kontinuation Mar 6, 2026
dc2ccfd
feat(sedonadb): add Python GDAL configuration API
Kontinuation Mar 5, 2026
36979fb
fix(sedonadb): clarify GDAL vs PROJ comment in __init__.py
Kontinuation Mar 5, 2026
932b830
fix(sedonadb): make PROJ lib discovery platform-aware in _configure_p…
Kontinuation Mar 5, 2026
78f4c4a
feat(sedonadb): expose gdal_version() and add pytest for GDAL loading…
Kontinuation Mar 5, 2026
e523c1d
fix(sedonadb): skip gdal_version doctest that requires runtime GDAL
Kontinuation Mar 5, 2026
bdf54dd
ci: temporarily enable python-wheels CI for GDAL testing on all platf…
Kontinuation Mar 5, 2026
73f6b85
fix(sedonadb): update imports for register.rs -> global.rs rename
Kontinuation Mar 6, 2026
a479323
Remove temporary workflow trigger
Kontinuation Mar 6, 2026
e2824af
The GDAL shipped with rasterio has more comprehensive features enable…
Kontinuation Mar 9, 2026
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
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Install dependencies
shell: bash
run: |
sudo apt-get update && sudo apt-get install -y libgeos-dev
sudo apt-get update && sudo apt-get install -y libgeos-dev libgdal-dev

- name: Check
if: matrix.name == 'check'
Expand Down
22 changes: 22 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ members = [
"c/sedona-geoarrow-c",
"c/sedona-geos",
"c/sedona-libgpuspatial",
"c/sedona-gdal",
"c/sedona-proj",
"c/sedona-s2geography",
"c/sedona-tg",
Expand Down Expand Up @@ -150,6 +151,7 @@ sedona-testing = { version = "0.3.0", path = "rust/sedona-testing" }
# C wrapper crates
sedona-geoarrow-c = { version = "0.3.0", path = "c/sedona-geoarrow-c" }
sedona-geos = { version = "0.3.0", path = "c/sedona-geos" }
sedona-gdal = { version = "0.3.0", path = "c/sedona-gdal", default-features = false }
sedona-proj = { version = "0.3.0", path = "c/sedona-proj", default-features = false }
sedona-s2geography = { version = "0.3.0", path = "c/sedona-s2geography" }
sedona-tg = { version = "0.3.0", path = "c/sedona-tg" }
42 changes: 42 additions & 0 deletions c/sedona-gdal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

[package]
name = "sedona-gdal"
version.workspace = true
license.workspace = true
keywords.workspace = true
categories.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
description.workspace = true
readme.workspace = true
edition.workspace = true
rust-version.workspace = true

[dependencies]
gdal-sys = { version = "0.12.0", optional = true }
libloading = { workspace = true }
thiserror = { workspace = true }

[features]
default = ["gdal-sys"]
gdal-sys = ["dep:gdal-sys"]

[dev-dependencies]
sedona-testing = { workspace = true }
Loading