Releases: locationtech/rasterframes
Releases · locationtech/rasterframes
0.11.1
What's Changed
- Update to frameless 0.11 by @pomadchin in #574
- Update to Spark 3.3 by @echeipesh in #587 #598
- Improve Python build process and streamline CI by @thomas-maschler in #600
- Match Scala dependencies with GeoTrellis 3.6.3 by @echeipesh in #602
- Match Python dependencies with Databricks Runtime 12.2 by @echeipesh in #603
New Contributors
- @thomas-maschler made their first contribution in #600
Full Changelog: 0.10.1...0.11.1
0.10.1
What's Changed
- Fix UDTs registration ordering by @pomadchin in #573
- Ability to write RasterFrame tile columns directly as raster files. by @metasim in #571
- Bump frameless version up by @pomadchin in #574
- Slippy map writing support. by @metasim in #572
Full Changelog: 0.10.0...0.10.1
0.10.0
Major Updates
- Upgraded to Scala 2.12 , Spark 3.1.2, and GeoTrellis 3.6.0 (a subtantial accomplishment!)
- Added buffered tile support
- Added focal operations:
rf_focal_mean,rf_focal_median,rf_focal_mode,rf_focal_max,rf_focal_min,rf_focal_stddev,rf_focal_moransi,rf_convolve,rf_slope,rf_aspect,rf_hillshade - Added STAC API DataFrames implementation
Please consider this a release candidate.
What's Changed
- Fix st_reproject throws on encountering null value in column by @netanel246 in #548
- Scala 2.12 and Spark 3 support by @echeipesh in #554
- Cleanup Manual TypedEncoders by @pomadchin in #559
- Python binding updates for PySpark 3.1 by @metasim in #562
- Focal Operations and Buffer Tile support by @pomadchin in #563
- Add Focal Operations TargetCell support by @pomadchin in #567
- Bump STAC4S Version up by @pomadchin in #570
New Contributors
- @netanel246 made their first contribution in #548
- @echeipesh made their first contribution in #554
- @pomadchin made their first contribution in #559
Full Changelog: 0.9.1...0.10.0-RC1
0.9.1
- Upgraded to Spark 2.4.7
- Added
pyspark.sql.DataFrame.display(num_rows:int, truncate:bool)extension method whenrf_ipythonis imported. - Added users' manual section on IPython display enhancements.
- Added
method_nameparameter to therf_resamplemethod.- BREAKING: In SQL, the function
rf_resamplenow takes 3 arguments. You can userf_resample_nearestwith two arguments or refactor torf_resample(t, v, "nearest").
- BREAKING: In SQL, the function
- Added resample method parameter to SQL and Python APIs.
- Upgraded many of the pyrasterframes dependencies, including:
descartes,fiona,folium,geopandas,matplotlib,numpy,pandas,rasterio,shapely - Changed
rasterframes.prefer-gdalconfiguration parameter to default toFalse, as JVM GeoTIFF performs just as well for COGs as the GDAL one. - Fixed #545.
0.9.0
- Upgraded to GeoTrellis 3.3.0. This includes a number of breaking changes enumerated as a part of the PR's change log. These include:
- Add
Inttype parameter toGrid - Add
Inttype parameter toCellGrid - Add
Inttype parameter toGridBounds... orTileBounds - Use
GridBounds.toGridTypeto coerce fromInttoLongtype parameter - Update imports for layers, particularly
geotrellis.spark.tilingtogeotrellis.layer - Update imports for
geotrellis.spark.iotogeotrellis.spark.store... - Removed
FixedRasterExtent - Removed
FixedDelegatingTile - Removed
org.locationtech.rasterframes.util.Shims - Change
Extent.jtsGeomtoExtent.toPolygon - Change
TileLayerMetadata.gridBoundstoTileLayerMetadata.tileBounds - Add
geotrellis-gdaldependency - Remove any conversions between JTS geometry and old
geotrellis.vectorgeometry - Changed
org.locationtech.rasterframes.encoders.StandardEncoders.crsEncodertocrsSparkEncoder - Change
(cols, rows)dimension destructuring toDimensions(cols, rows) - Revisit use of
Tileequality since it's more strict - Update
reference.confto usegeotrellis.raster.gdalnamespace. - Replace all uses of
TileDimensionswithgeotrellis.raster.Dimensions[Int].
- Add
- Upgraded to
gdal-warp-bindings1.0.0. - Upgraded to Spark 2.4.5
- Formally abandoned support for Python 2. Python 2 is dead. Long live Python 2.
- Introduction of type hints in Python API.
- Add functions for changing cell values based on either conditions or to achieve a distribution of values. (#449)
- Add
rf_local_min,rf_local_max, andrf_local_clipfunctions. - Add cell value scaling functions
rf_rescaleandrf_standardize. - Add
rf_wherefunction, similar in spirit to numpy'swhere, or a cell-wise version of Spark SQL'swhenandotherwise.
- Add
- Add
rf_sqrtfunction to compute cell-wise square root.
0.9.0-RC2
- Upgraded to GeoTrellis 3.2.0. This includes a number of breaking changes enumerated as a part of the PR's change log. These include:
- Add
Inttype parameter toGrid - Add
Inttype parameter toCellGrid - Add
Inttype parameter toGridBounds... orTileBounds - Use
GridBounds.toGridTypeto coerce fromInttoLongtype parameter - Update imports for layers, particularly
geotrellis.spark.tilingtogeotrellis.layer - Update imports for
geotrellis.spark.iotogeotrellis.spark.store... - Removed
FixedRasterExtent - Removed
org.locationtech.rasterframes.util.Shims - Change
Extent.jtsGeomtoExtent.toPolygon - Change
TileLayerMetadata.gridBoundstoTileLayerMetadata.tileBounds - Add
geotrellis-gdaldependency - Remove any conversions between JTS geometry and old
geotrellis.vectorgeometry - Changed
org.locationtech.rasterframes.encoders.StandardEncoders.crsEncodertocrsSparkEncoder - Change
(cols, rows)dimension destructuring toDimensions(cols, rows) - Revisit use of
Tileequality since it's more strict - Update
reference.confto usegeotrellis.raster.gdalnamespace. - Replace all uses of
TileDimensionswithgeotrellis.raster.Dimensions[Int].
- Add
- Formally abandoned support for Python 2. Python 2 is dead. Long live Python 2.
- Introduction of type hints in Python API.
0.8.5
- Added
rf_z2_indexfor constructing a Z2 index on types with bounds. - Breaking:
rf_spatial_indexrenamedrf_xz2_indexto differentiate between XZ2 and Z2 variants. - Added
withSpatialIndexto RasterSourceDataSource to pre-partition tiles based on tile extents mapped to a Z2 space-filling curve - Add
rf_mask_by_bit,rf_mask_by_bitsandrf_local_extract_bitsto deal with bit packed quality masks. Updated the masking documentation to demonstrate the use of these functions. - Added
toDFextension method toMultibandGeoTiff - Added
rf_agg_extentandrf_agg_reprojected_extentto compute the aggregate extent of a column - Added
rf_proj_rasterfor constructing aproj_rasterstructure from individual CRS, Extent, and Tile columns. - Added
rf_render_color_ramp_pngto compute PNG byte array for a single tile column, with specified color ramp. - In
rf_ipython, improved rendering of dataframe binary contents with PNG preamble. - Throw an
IllegalArgumentExceptionwhen attempting to apply a mask to aTilewhoseCellTypehas no NoData defined. (#409) - Add
rf_agg_approx_quantilesfunction to compute cell quantiles across an entire column.
0.9.0-RC1
- Upgraded to GeoTrellis 3.1.0. This includes a number of breaking changes enumerated as a part of the PR's change log. These include:
- Add
Inttype parameter toGrid - Add
Inttype parameter toCellGrid - Add
Inttype parameter toGridBounds... orTileBounds - Use
GridBounds.toGridTypeto coerce fromInttoLongtype parameter - Update imports for layers, particularly
geotrellis.spark.tilingtogeotrellis.layer - Update imports for
geotrellis.spark.iotogeotrellis.spark.store... - Removed
FixedRasterExtent - Removed
org.locationtech.rasterframes.util.Shims - Change
Extent.jtsGeomtoExtent.toPolygon - Change
TileLayerMetadata.gridBoundstoTileLayerMetadata.tileBounds - Add
geotrellis-gdaldependency - Remove any conversions between JTS geometry and old
geotrellis.vectorgeometry - Changed
org.locationtech.rasterframes.encoders.StandardEncoders.crsEncodertocrsSparkEncoder - Change
(cols, rows)dimension destructuring toDimensions(cols, rows) - Revisit use of
Tileequality since it's more strict - Update
reference.confto usegeotrellis.raster.gdalnamespace. - Replace all uses of
TileDimensionswithgeotrellis.raster.Dimensions[Int].
- Add
0.8.4
- Upgraded to Spark 2.4.4
- Add
rf_mask_by_valuesandrf_local_is_inraster functions; added optionalinverseargument torf_maskfunctions. (#403, #384) - Added forced truncation of WKT types in Markdown/HTML rendering. (#408)
- Add
rf_local_is_inraster function. (#400) - Added partitioning to catalogs before processing in
RasterSourceDataSource(#397) - Fixed bug where
rf_tile_dimensionswould cause unnecessary reading of tiles. (#394) - Breaking (potentially): removed
GeoTiffCollectionRelationdue to usage limitation and overlap withRasterSourceDataSourcefunctionality.
RC1 for DB Runtime 5.5 LTS
Release candidate for running on Spark 2.4.3 and Python 3 in Databricks Runtime 5.5.