Geotrellis v3.0.0 Release Notes

Release Date: 2019-10-18 // over 4 years ago
  • โž• Added

    • RasterSources API #3053
    • ๐Ÿ“ฆ geotrellis.layer package to group functionality related to tiled layers.
      • SpatialKey, SpaceTimeKey, TemporalKey, Bounds, Boundable, EmptyBounds, KeyBounds, TemporalProjectedExtent, EmptyBoundsError, SpatialComponent, TemporalComponent, LayoutDefinition, LayoutScheme, LayoutLevel, LocalLayoutScheme, FloatingLayoutScheme, ZoomedLayoutScheme, MapKeyTransform, etc.
    • ๐Ÿ“ฆ geotrellis.store package to group interfaces related to saving and reading tiled layers. Implementations save moved to:
      • geotrellis.store.accumulo
      • geotrellis.store.cassandra
      • geotrellis.store.hbase
      • geotrellis.store.hadoop
      • geotrellis.store.s3
    • geotrellis.vectortile.MVTFeature which properly conforms to the MVT 2.0 spec. Specifically, MVTFeature adds id: Option[Long] property.
    • RangeReader SPI produced an instance of the reader from URI #2998
    • geotrellis.raster.mapalgebra.focal.ZFactor to improve slope calculations #3014
    • ๐Ÿ“œ A sparseStitch method on geotrellis.layer.stitch.SpatialTileLayoutCollectionStitchMethods. Note that SpatialTileLayoutCollectionStitchMethods now has the additional constraint geotrellis.raster.prototype.TilePrototypeMethods on type V. This should be transparent for users of the geotrellis.raster.Tile and geotrellis.raster.MultibandTile types #3017
    • ๐Ÿ“ฆ geotrellis.util.np package which contains linspace and percentilemethods that match NumPy functionality. An implicit class was also added to geotrellis.raster which provides the percentile method for geotrellis.raster.Tile #3067
    • Conversion from raster to features of cells #3117
    • io.circe JSON encoders and decoders for GeoTiffInfo and related classes #3128

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ geotrellis.raster.summary.polygonal.[Multi]TilePolygonalSummaryHandler replaced with geotrellis.raster.summary.polygonal.PolygonalSummary. Users should expect to implement concrete subclasses of geotrellis.raster.summary.GridVisitor and pass those to the new polygonalSummary methods. There are a number of default implementations provided for simple operations in geotrellis.raster.summary.visitors
    • ๐Ÿ“‡ Polygonal summaries on raster RDDs of RDD[(SpatialKey, T <: Grid[Int])] with Metadata[TileLayerMetadata[SpatialKey]] can now be performed with far less boilerplate using the same visitor pattern as the new raster polygonal summary API. See RDDPolygonalSummary.scala for additional details.
    • geotrellis.raster.Grid.dimensions is now Dimensions[N] instead of (N, N) #3124
    • ๐Ÿ“ฆ GeoTiffInfo moved out of GeoTiffReader into containing package #3128
    • Replaced use of internal Mergable trait with cats' Semigroup
    • The slope focal method now requires a ZFactor instance.
    • ๐Ÿ‘‰ Use the AWS S3 SDK v2 instead of v1 #2911.
    • ๐Ÿ“ฆ The implicit/package structure of the geotrellis.raster package has changed such that it's now possible to import almost all features/extensions with import geotrellis.raster._ #2891
    • ๐Ÿ›  geotrellis.pro4j.WKT object conversion methods to and from EPSG codes have changed. All now return Options rather than silently unwrap. Methods that convert from EPSG code to WKT string are now prefixed consistently with fromEpsg and methods that convert from WKT string to EPSG code are now prefixed consistently with toEpsg.
    • geotrellis.util.CRS.fromWKT now returns Option[CRS] instead of CRS after silently unwrapping an optional internally
    • The geotrellis.vectortile.{Layer, VectorTile} interfaces now uses MVTFeature instead of geotrellis.vector.Feature.
    • ๐Ÿ”„ Change from scala-logging to log4s #3116
    • โšก๏ธ Update dependencies #2904.
    • โšก๏ธ Update dependencies #3053.
    • โฌ†๏ธ Bump ScalaPB version up with some API enhancements #2898.
    • Artifacts in Viewshed have been addressed, the pixels/meter calculation has also been improved #2917.
    • ๐Ÿ›  Fix map{X|Y}ToGrid function behavior that could give a bit incorrect results #2953.
    • ๐Ÿ›  Fix COG layer update bug related to COGLayerMetadata zoom ranges ordering #2922.
    • โšก๏ธ Use original ZoomRanges on COG layer update #2956.
    • ArrayTile equality will now check the cols, rows, and cellType of the two tiles #2991.
    • ๐Ÿ›  Fix incorrect Deflate compressor usage in GeoTiff reading #2997.
    • ๐Ÿ”จ Refactor IO thread pool usage #3007.
    • S3RangeReader will now optionally read the HEADER of an object #3025.
    • FileRangeReaderProvider can now handle more types of URIs #3034.
    • ๐ŸŽ Bump proj4 version to fix multiple performance issues #3039.
    • ๐Ÿ›  Fix HttpRangeReader swallows 404 error #3073
    • โž• Add a ToSpatial function for the collections API #3082.
    • ๐Ÿ›  Fix TIFFTagsReader to skip unsupported tags #3088.
    • reprojectExtentAsPolygon should be more deterministic #3083.
    • AmazonS3URI.getKey now returns an empty string instead of null if no key was provided #3096.
    • ๐Ÿ‘Œ Improved handling of null prefix for S3AttributeStore. Prefer use of S3AttributeStore.apply to take advantage of this improved handling #3096.
    • ๐Ÿ›  Fix Tiled TIFF BitCellType Segments conversion #3102
    • โšก๏ธ Updated computeResolution in IterativeCostDistance to match Iterative Viewshed #3106

    โœ‚ Removed

    • Scala wrappers of JTS Geometry in geotrellis.vector #2932
    • ๐Ÿ“ฆ geotrellis.etl package has been removed. The code has been archived at https://github.com/geotrellis/spark-etl #2969.
    • ๐Ÿšš The S3Client wrapper that was used to support AWS SDK v1 has been removed in favor of directly using AWS SDK S3Client #2911.
    • ๐Ÿšš geotrellis.s3-testkit has been removed; testing now depends on an external min.io server which mocks the S3 API. #2911.
    • ๐Ÿšš geotrellis.slick has been removed. Slick support will now reside in geotrellis-contrib #2902.