From c55d8db5e2fc3227896e1c31bdd190647e545c78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Wed, 8 Jan 2025 18:35:02 +0200 Subject: [PATCH] Make GeometryRef public --- CHANGES.md | 1 + src/vector/mod.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 6b7aa016..423ba550 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -28,6 +28,7 @@ - Add `Defn::field_index` and `Feature::field_index` ([#581](https://github.com/georust/gdal/pull/581)) - Add `Defn::geometry_field_index` and `Feature::geometry_field_index` ([#594](https://github.com/georust/gdal/pull/594)) - Add `Dataset::has_capability` for dataset capability check ([#581](https://github.com/georust/gdal/pull/585)) + - Make `GeometryRef` public ([#601](https://github.com/georust/gdal/pull/601)) ### Fixed diff --git a/src/vector/mod.rs b/src/vector/mod.rs index 8431e97e..b603a3fa 100644 --- a/src/vector/mod.rs +++ b/src/vector/mod.rs @@ -79,7 +79,7 @@ pub use feature::{ OwnedFeatureIterator, }; pub use gdal_sys::{OGRFieldType, OGRwkbGeometryType}; -pub use geometry::{geometry_type_to_name, Geometry}; +pub use geometry::{geometry_type_to_name, Geometry, GeometryRef}; pub use layer::{FieldDefn, Layer, LayerAccess, LayerCaps, LayerIterator, OwnedLayer}; pub use options::LayerOptions; pub use transaction::Transaction;