Skip to content
6 changes: 5 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ 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 \
gdal-bin \
pkg-config

- name: Build
if: matrix.name == 'build'
Expand Down
138 changes: 129 additions & 9 deletions Cargo.lock

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

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ members = [
"rust/sedona-datasource",
"rust/sedona-expr",
"rust/sedona-functions",
"rust/sedona-gdal",
"rust/sedona-geo-generic-alg",
"rust/sedona-geo-traits-ext",
"rust/sedona-geo",
Expand Down Expand Up @@ -87,7 +88,7 @@ datafusion-physical-expr = { version = "50.2.0" }
datafusion-physical-plan = { version = "50.2.0" }
dirs = "6.0.0"
env_logger = "0.11"
fastrand = "2.0"
fastrand = "2.3"
futures = { version = "0.3" }
object_store = { version = "0.12.0", default-features = false }
float_next_after = "1"
Expand All @@ -96,6 +97,9 @@ mimalloc = { version = "0.1", default-features = false }
libmimalloc-sys = { version = "0.1", default-features = false }
once_cell = "1.20"

gdal = { version = "0.17", features = ["bindgen"] }
gdal-sys = { version = "0.10", features = ["bindgen"] }

geos = { version = "10.0.0", features = ["geo", "v3_10_0"] }

geo-types = "0.7.17"
Expand Down
47 changes: 47 additions & 0 deletions rust/sedona-gdal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# 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
homepage.workspace = true
repository.workspace = true
description.workspace = true
readme.workspace = true
edition.workspace = true
rust-version.workspace = true

[lints.clippy]
result_large_err = "allow"

[dev-dependencies]
approx = { workspace = true }
rstest = { workspace = true }
sedona-testing = { path = "../../rust/sedona-testing", features = ["criterion"] }
criterion = { workspace = true}
tempfile = { workspace = true }

[dependencies]
arrow = { workspace = true }
arrow-array = { workspace = true }
arrow-schema = { workspace = true }
datafusion-common = { workspace = true }
datafusion-expr = { workspace = true }
gdal = {workspace = true}
gdal-sys = {workspace = true}
sedona-raster = { path = "../sedona-raster" }
sedona-schema = { path = "../sedona-schema" }
Loading