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_ipython
is imported. - Added users' manual section on IPython display enhancements.
- Added
method_name
parameter to therf_resample
method.- BREAKING: In SQL, the function
rf_resample
now takes 3 arguments. You can userf_resample_nearest
with 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-gdal
configuration 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
Int
type parameter toGrid
- Add
Int
type parameter toCellGrid
- Add
Int
type parameter toGridBounds
... orTileBounds
- Use
GridBounds.toGridType
to coerce fromInt
toLong
type parameter - Update imports for layers, particularly
geotrellis.spark.tiling
togeotrellis.layer
- Update imports for
geotrellis.spark.io
togeotrellis.spark.store...
- Removed
FixedRasterExtent
- Removed
FixedDelegatingTile
- Removed
org.locationtech.rasterframes.util.Shims
- Change
Extent.jtsGeom
toExtent.toPolygon
- Change
TileLayerMetadata.gridBounds
toTileLayerMetadata.tileBounds
- Add
geotrellis-gdal
dependency - Remove any conversions between JTS geometry and old
geotrellis.vector
geometry - Changed
org.locationtech.rasterframes.encoders.StandardEncoders.crsEncoder
tocrsSparkEncoder
- Change
(cols, rows)
dimension destructuring toDimensions(cols, rows)
- Revisit use of
Tile
equality since it's more strict - Update
reference.conf
to usegeotrellis.raster.gdal
namespace. - Replace all uses of
TileDimensions
withgeotrellis.raster.Dimensions[Int]
.
- Add
- Upgraded to
gdal-warp-bindings
1.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_clip
functions. - Add cell value scaling functions
rf_rescale
andrf_standardize
. - Add
rf_where
function, similar in spirit to numpy'swhere
, or a cell-wise version of Spark SQL'swhen
andotherwise
.
- Add
- Add
rf_sqrt
function 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
Int
type parameter toGrid
- Add
Int
type parameter toCellGrid
- Add
Int
type parameter toGridBounds
... orTileBounds
- Use
GridBounds.toGridType
to coerce fromInt
toLong
type parameter - Update imports for layers, particularly
geotrellis.spark.tiling
togeotrellis.layer
- Update imports for
geotrellis.spark.io
togeotrellis.spark.store...
- Removed
FixedRasterExtent
- Removed
org.locationtech.rasterframes.util.Shims
- Change
Extent.jtsGeom
toExtent.toPolygon
- Change
TileLayerMetadata.gridBounds
toTileLayerMetadata.tileBounds
- Add
geotrellis-gdal
dependency - Remove any conversions between JTS geometry and old
geotrellis.vector
geometry - Changed
org.locationtech.rasterframes.encoders.StandardEncoders.crsEncoder
tocrsSparkEncoder
- Change
(cols, rows)
dimension destructuring toDimensions(cols, rows)
- Revisit use of
Tile
equality since it's more strict - Update
reference.conf
to usegeotrellis.raster.gdal
namespace. - Replace all uses of
TileDimensions
withgeotrellis.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_index
for constructing a Z2 index on types with bounds. - Breaking:
rf_spatial_index
renamedrf_xz2_index
to differentiate between XZ2 and Z2 variants. - Added
withSpatialIndex
to RasterSourceDataSource to pre-partition tiles based on tile extents mapped to a Z2 space-filling curve - Add
rf_mask_by_bit
,rf_mask_by_bits
andrf_local_extract_bits
to deal with bit packed quality masks. Updated the masking documentation to demonstrate the use of these functions. - Added
toDF
extension method toMultibandGeoTiff
- Added
rf_agg_extent
andrf_agg_reprojected_extent
to compute the aggregate extent of a column - Added
rf_proj_raster
for constructing aproj_raster
structure from individual CRS, Extent, and Tile columns. - Added
rf_render_color_ramp_png
to 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
IllegalArgumentException
when attempting to apply a mask to aTile
whoseCellType
has no NoData defined. (#409) - Add
rf_agg_approx_quantiles
function 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
Int
type parameter toGrid
- Add
Int
type parameter toCellGrid
- Add
Int
type parameter toGridBounds
... orTileBounds
- Use
GridBounds.toGridType
to coerce fromInt
toLong
type parameter - Update imports for layers, particularly
geotrellis.spark.tiling
togeotrellis.layer
- Update imports for
geotrellis.spark.io
togeotrellis.spark.store...
- Removed
FixedRasterExtent
- Removed
org.locationtech.rasterframes.util.Shims
- Change
Extent.jtsGeom
toExtent.toPolygon
- Change
TileLayerMetadata.gridBounds
toTileLayerMetadata.tileBounds
- Add
geotrellis-gdal
dependency - Remove any conversions between JTS geometry and old
geotrellis.vector
geometry - Changed
org.locationtech.rasterframes.encoders.StandardEncoders.crsEncoder
tocrsSparkEncoder
- Change
(cols, rows)
dimension destructuring toDimensions(cols, rows)
- Revisit use of
Tile
equality since it's more strict - Update
reference.conf
to usegeotrellis.raster.gdal
namespace. - Replace all uses of
TileDimensions
withgeotrellis.raster.Dimensions[Int]
.
- Add
0.8.4
- Upgraded to Spark 2.4.4
- Add
rf_mask_by_values
andrf_local_is_in
raster functions; added optionalinverse
argument torf_mask
functions. (#403, #384) - Added forced truncation of WKT types in Markdown/HTML rendering. (#408)
- Add
rf_local_is_in
raster function. (#400) - Added partitioning to catalogs before processing in
RasterSourceDataSource
(#397) - Fixed bug where
rf_tile_dimensions
would cause unnecessary reading of tiles. (#394) - Breaking (potentially): removed
GeoTiffCollectionRelation
due to usage limitation and overlap withRasterSourceDataSource
functionality.
RC1 for DB Runtime 5.5 LTS
Release candidate for running on Spark 2.4.3 and Python 3 in Databricks Runtime 5.5.