Skip to content

v0.15.0

Compare
Choose a tag to compare
@metasim metasim released this 02 Jun 16:37
· 147 commits to master since this release
fdbb4f5

Summary

  • Breaking: RasterBand::actual_block_size now takes two usize offsets instead of (isize, isize)

  • Added GDT_Int8 support

  • Added Dataset::close, changed Dataset::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 and geog_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 and CoordTransformOptions

  • 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 for CslStringList

  • Added Rasterband::c_rasterband to obtain the raw C pointer to GDALRasterBandH

  • Breaking: Feature::geometry returns an Option<&Geometry> instead of &Geometry. Calls to Feature::geometry will no longer panic.

  • Breaking: RasterBand::band_type returns the GdalDataType enum instead of GDALDataType::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 returns Option instead of Result, thereby better reflecting the semantics documented in the C++ API

  • Exposed various functions on Geometry: make_valid, geometry_name, and point_count.

  • Exposed read_arrow_stream on Layer to access OGR's columnar reading API.

  • Exposed spatial predicates over Geometry: intersects, contains, disjoint, touches, crosses, within, and overlaps.

  • Added Geometry::envelope and Geometry::envelope_3d.

  • Added support for getting the SpatialRef of embedded ground control points (GCPs) via Dataset::gcp_spatial_ref.

Full PR List

New Contributors

Full Changelog: v0.11.0...v0.15.0