Releases: georust/gdal
v0.16.0
What's Changed
- Fix build error on GDAL 3.1 by @lnicola in #416
- Update bindgen requirement from 0.65 to 0.66 by @dependabot in #418
- impl DerefMut trait for GeoemetryRef by @scially in #411
- Use latest minor releases and fix Arrow GPG errors by @lnicola in #422
- Expose Gcp and GcpRef by @lnicola in #421
- Fix linting on clippy > 1.71 by @julienr in #426
- Fix use-after-free in
Dataset::close
by @lnicola in #420 - prepare 0.16.0 changelog + version by @jdroenner in #429
- Update-deps-for-0.16.0 by @jdroenner in #430
New Contributors
Full Changelog: v0.15.0...v0.16.0
v0.15.0
Summary
-
Breaking:
RasterBand::actual_block_size
now takes twousize
offsets instead of(isize, isize)
-
Added
GDT_Int8
support -
Added
Dataset::close
, changedDataset::flush_cache
to be fallible -
Added
SpatialRef::semi_major
,semi_minor
,set_proj_param
,get_proj_param
,get_proj_param_or_default
,set_attr_value
,get_attr_value
andgeog_cs
. -
Added
Dataset::gcp_projection
,Dataset::gcps
,Dataset::set_gcps
APIs -
Added pre-built bindings for GDAL 3.7
-
Added
SpatialRef::to_projjson
-
Added
Geometry::length
-
Added
Geometry::union
-
Added
Geometry::from_gml
-
Added
CoordTransform::new_with_options
andCoordTransformOptions
-
Set the link flag of gdal-sys to "libgdal". Emit the libgdal version via cargo:version_number. Remove wrong build-dependency on gdal-sys and remove docs_rs workaround.
-
Added
Geometry::from_geojson
-
Added
CslStringList::add_string
-
Possibly breaking: Set MSRV to 1.58.
-
Added a
TryFrom
array implementation forCslStringList
-
Added
Rasterband::c_rasterband
to obtain the raw C pointer toGDALRasterBandH
-
Breaking:
Feature::geometry
returns anOption<&Geometry>
instead of&Geometry
. Calls toFeature::geometry
will no longer panic. -
Breaking:
RasterBand::band_type
returns theGdalDataType
enum instead ofGDALDataType::Type
ordinal. Fixes #333 -
The default features of the
chrono
dependency are now disabled -
Added prebuilt bindings for GDAL 3.6 (released 6 November 2022).
-
Breaking:
Layer::spatial_ref
returnsOption
instead ofResult
, thereby better reflecting the semantics documented in the C++ API -
Exposed various functions on
Geometry
:make_valid
,geometry_name
, andpoint_count
. -
Exposed
read_arrow_stream
onLayer
to access OGR's columnar reading API. -
Exposed spatial predicates over
Geometry
:intersects
,contains
,disjoint
,touches
,crosses
,within
, andoverlaps
. -
Added
Geometry::envelope
andGeometry::envelope_3d
. -
Added support for getting the
SpatialRef
of embedded ground control points (GCPs) viaDataset::gcp_spatial_ref
.
Full PR List
- adapt try build expected error to new output by @jdroenner in #237
- Prebuilt 34 by @geohardtke in #231
- upgrade ci by @geohardtke in #234
- update deps by @jdroenner in #244
- Bump edition to 2021 & update changelog to release 0.12 by @jdroenner in #245
- Add wrappers for GDALBuildVRT, GDALApplyGeoTransform, GDALInvGeoTransform by @amartin96 in #239
- Add geometry_type_to_name function by @ttencate in #250
- Derive Clone for FieldValue by @ttencate in #254
- Owned layers from a dataset that are
Send
by @ChristianBeilschmidt in #238 - Fix clippy and fmt errors by @geohardtke in #263
- Mark
SpatialRef::from_c_obj
as unsafe by @lnicola in #267 - Add wrapper for
GDALGetRasterUnitType
by @ChristianBeilschmidt in #271 - Implement read_dir function and test by @Barugon in #257
- Implement ColorTable struct by @Barugon in #246
- MDArray by @ChristianBeilschmidt in #273
- Add functions to enumerate Drivers by @ttencate in #251
- ENH: Add CoordTransform::transform_bounds() by @brendan-ward in #272
- Ability to get owned reference to inner geometry. by @metasim in #274
- Prebuilt bindings for GDAL 3.5 by @MrMuetze in #277
- Added wrapper for OGR_L_SetFeature by @geohardtke in #264
- Implement missing Feature::set_field_*_list funcs by @ttencate in #278
- Deprecate Transaction::dataset{,_mut} in favour of Deref{,Mut} by @ttencate in #265
- remove
PartialEq
fromGdalError
by @ChristianBeilschmidt in #286 - Update bindgen requirement from 0.59 to 0.60 by @dependabot in #279
- Fix crate build on docs.rs by @rmanoka in #281
- Add gdal::vector::field_type_to_name by @ttencate in #258
- prevent SIGSEGV for non-strings on read string method by @ChristianBeilschmidt in #284
- add raster mask methods by @jdroenner in #285
- Add
set_scale
andset_offset
toRasterband
by @msalib in #294 - enforce that
GdalError
isSend
by @ChristianBeilschmidt in #293 - wrapper for gdalmdimtranslate by @ChristianBeilschmidt in #289
- allow reading dimensions from md groups by @ChristianBeilschmidt in #291
- get_statistics for rasterbands and md rasters by @ChristianBeilschmidt in #292
- Move error handling test to an integration test by @lnicola in #297
- Require matching data types in MDArray::read_into_slice by @lnicola in #300
- use tempfiles to not access file multiple times by @ChristianBeilschmidt in #302
- Increased documentation content of README and root rustdoc page. by @metasim in #296
- Fix dimensions getter when no dimensions are available by @lnicola in #303
- Enabled non-consuming fallible conversion from GDAL to geo-types Geometry by @metasim in #295
- Enabled docs.rs feature gate flag rendering. by @metasim in #304
- Miscellaneous documentation refinements and additions. by @metasim in #307
- Added
Rasterband::set_no_data
acceptingOption<f64>
. by @metasim in #308 - Made mapping between
ResampleAlg
andGDALRIOResampleAlg
more direct. by @metasim in #309 - Expanded documentation for
GeoTransform
by @metasim in #310 - Added a more ergonomic means of accessing GDAL version properties. by @metasim in #305
- Quality-of-life additions to
CplStringList
. by @metasim in #311 - Added ability to create and edit color tables. by @metasim in #314
- Rasterband documentation refinements. by @metasim in #319
- Convert
byte_no_cf
andcf_nasa_4326
to Zarr by @lnicola in #321 - Bump
actions/checkout
by @lnicola in #322 - Update bindgen requirement from 0.60 to 0.61 by @dependabot in #317
- Fix some clippy warnings by @lnicola in #326
- Call cargo directly instead of using actions-rs/cargo by @lnicola in #325
- Use
rustup
instead ofactions-rs/toolchain
by @lnicola in #327 - add a driver manager wrapper by @ChristianBeilschmidt in #324
- Wait for
osgeo/gdal
tests to complete by @lnicola in #328 - Drop
trybuild
test by @lnicola in #329 - Disallow warnings in doctests by @metasim in #330
- Filling out
GDALDataType
metadata and utility support. by @metasim in #318 - Fix typo by @mwm126 in #332
- Fix deprecations from chrono 0.4.23. by @metasim in #33...
v0.14.0
What's Changed
- Increased documentation content of README and root rustdoc page. by @metasim in #296
- Fix dimensions getter when no dimensions are available by @lnicola in #303
- Enabled non-consuming fallible conversion from GDAL to geo-types Geometry by @metasim in #295
- Enabled docs.rs feature gate flag rendering. by @metasim in #304
- Miscellaneous documentation refinements and additions. by @metasim in #307
- Added
Rasterband::set_no_data
acceptingOption<f64>
. by @metasim in #308 - Made mapping between
ResampleAlg
andGDALRIOResampleAlg
more direct. by @metasim in #309 - Expanded documentation for
GeoTransform
by @metasim in #310 - Added a more ergonomic means of accessing GDAL version properties. by @metasim in #305
- Quality-of-life additions to
CplStringList
. by @metasim in #311 - Added ability to create and edit color tables. by @metasim in #314
- Rasterband documentation refinements. by @metasim in #319
- Convert
byte_no_cf
andcf_nasa_4326
to Zarr by @lnicola in #321 - Bump
actions/checkout
by @lnicola in #322 - Update bindgen requirement from 0.60 to 0.61 by @dependabot in #317
- Fix some clippy warnings by @lnicola in #326
- Call cargo directly instead of using actions-rs/cargo by @lnicola in #325
- Use
rustup
instead ofactions-rs/toolchain
by @lnicola in #327 - add a driver manager wrapper by @ChristianBeilschmidt in #324
- Wait for
osgeo/gdal
tests to complete by @lnicola in #328 - Drop
trybuild
test by @lnicola in #329 - Disallow warnings in doctests by @metasim in #330
- Filling out
GDALDataType
metadata and utility support. by @metasim in #318
Full Changelog: v0.13.0...v0.14.0
v0.13.0
What's Changed
- adapt try build expected error to new output by @jdroenner in #237
- Prebuilt 34 by @geohardtke in #231
- upgrade ci by @geohardtke in #234
- update deps by @jdroenner in #244
- Bump edition to 2021 & update changelog to release 0.12 by @jdroenner in #245
- Add wrappers for GDALBuildVRT, GDALApplyGeoTransform, GDALInvGeoTransform by @amartin96 in #239
- Add geometry_type_to_name function by @ttencate in #250
- Derive Clone for FieldValue by @ttencate in #254
- Owned layers from a dataset that are
Send
by @ChristianBeilschmidt in #238 - Fix clippy and fmt errors by @geohardtke in #263
- Mark
SpatialRef::from_c_obj
as unsafe by @lnicola in #267 - Add wrapper for
GDALGetRasterUnitType
by @ChristianBeilschmidt in #271 - Implement read_dir function and test by @Barugon in #257
- Implement ColorTable struct by @Barugon in #246
- MDArray by @ChristianBeilschmidt in #273
- Add functions to enumerate Drivers by @ttencate in #251
- ENH: Add CoordTransform::transform_bounds() by @brendan-ward in #272
- Ability to get owned reference to inner geometry. by @metasim in #274
- Prebuilt bindings for GDAL 3.5 by @MrMuetze in #277
- Added wrapper for OGR_L_SetFeature by @geohardtke in #264
- Implement missing Feature::set_field_*_list funcs by @ttencate in #278
- Deprecate Transaction::dataset{,_mut} in favour of Deref{,Mut} by @ttencate in #265
- remove
PartialEq
fromGdalError
by @ChristianBeilschmidt in #286 - Update bindgen requirement from 0.59 to 0.60 by @dependabot in #279
- Fix crate build on docs.rs by @rmanoka in #281
- Add gdal::vector::field_type_to_name by @ttencate in #258
- prevent SIGSEGV for non-strings on read string method by @ChristianBeilschmidt in #284
- add raster mask methods by @jdroenner in #285
- Add
set_scale
andset_offset
toRasterband
by @msalib in #294 - enforce that
GdalError
isSend
by @ChristianBeilschmidt in #293 - wrapper for gdalmdimtranslate by @ChristianBeilschmidt in #289
- allow reading dimensions from md groups by @ChristianBeilschmidt in #291
- get_statistics for rasterbands and md rasters by @ChristianBeilschmidt in #292
- Move error handling test to an integration test by @lnicola in #297
- Require matching data types in MDArray::read_into_slice by @lnicola in #300
- use tempfiles to not access file multiple times by @ChristianBeilschmidt in #302
New Contributors
- @amartin96 made their first contribution in #239
- @Barugon made their first contribution in #257
- @brendan-ward made their first contribution in #272
- @metasim made their first contribution in #274
- @MrMuetze made their first contribution in #277
Full Changelog: v0.12.0...v0.13.0