SuccessChanges

Summary

  1. Add RasterizeRDD forGeometry (details)
  2. RasterizeRDD.fromGeometry is generic on Geometry (details)
  3. RasterizeRDD.fromGeometry lines test (details)
  4. RasterizeRDD.fromGeometry polygon test (details)
  5. rasterizeWithValue method extension for RDD[G<: Geometry] (details)
  6. Optimize RasterizeRDD API and implemintation (+1 squashed commit) (details)
  7. Optimize RasterizeRDD.fromGeometry small intersections (details)
  8. add geotrellis.spark.rasterize.RasterizeFeaturesRDD.fromFeature based on RasterizeRDD PR https://github.com/locationtech/geotrellis/issues/2266 (details)
  9. WIP: change features RDD[(G,D)] to RDD[Features[G,D]] (details)
  10. WIP: change features RDD[Feature[G,D]] to RDD[Feature[G,Double]] (details)
  11. add FeatureRDDRasterizeMethods extends MethodExtensions[RDD[Feature[G,Double]]] (details)
  12. add Implicits for FeatureRDDRasterizeMethods[G] (details)
  13. Revert "add Implicits for FeatureRDDRasterizeMethods[G]" (details)
  14. Unify Feature and Geometry Rasterizers (details)
  15. Convert Lines and MultiLines to Polygons (details)
  16. Carry Priority Informaton (details)
  17. Add Z-Buffer Capability (details)
  18. Add Z-Buffer Unit Tests (details)
  19. Rename FeatureInfo to CellValue and move it to raster package (details)
  20. Use iterator when rasterizing lines (details)
  21. Factor out keyGeomToLayout (details)
  22. Refactor: remove usePriority argument (details)
  23. Update RasterizeRDD Methods (details)
  24. Update RasterizeRDD docs (details)
  25. cell treat priority as an integeger (details)
  26. Update RasterizeRDD tests (details)
Commit 273e6b46fc4f15d805e5aa8442c5816262b1e839 by Eugene Cheipesh
Add RasterizeRDD forGeometry
The file was addedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDD.scala
Commit d9631c88157753268589199cd359637b753e1aff by Eugene Cheipesh
RasterizeRDD.fromGeometry is generic on Geometry

This compensates for RDD being invariant on its type parameter
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDD.scala (diff)
Commit 096d52ea46657b46704222f4d27ff065fc350c5e by Eugene Cheipesh
RasterizeRDD.fromGeometry lines test
The file was addedspark/src/test/scala/geotrellis/spark/rasterize/RasterizeRDDSpec.scala
Commit 812b5c50050eef0aa1561728f519cab67a33849e by Eugene Cheipesh
RasterizeRDD.fromGeometry polygon test
The file was modifiedspark/src/test/scala/geotrellis/spark/rasterize/RasterizeRDDSpec.scala (diff)
Commit fda3f9998e1a33f72c30e910c0908067999e6c78 by Eugene Cheipesh
rasterizeWithValue method extension for RDD[G<: Geometry]
The file was addedspark/src/main/scala/geotrellis/spark/rasterize/GeometryRDDRasterizeMethods.scala
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDD.scala (diff)
The file was modifiedspark/src/main/scala/geotrellis/spark/package.scala (diff)
The file was addedspark/src/main/scala/geotrellis/spark/rasterize/Implicits.scala
The file was modifiedspark/src/test/scala/geotrellis/spark/rasterize/RasterizeRDDSpec.scala (diff)
Commit 3aed6de95c4d8c78068681cd7e3f248859ba662e by Eugene Cheipesh
Optimize RasterizeRDD API and implemintation (+1 squashed commit)
Squashed commits:
[f449338] Add scaladocs for rdd.rasterizeWithValue (+1 squashed commit)
Squashed commits:
[a42724a] fix: Pass through Rasterizer.Options correctly
The file was modifiedspark/src/test/scala/geotrellis/spark/rasterize/RasterizeRDDSpec.scala (diff)
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDD.scala (diff)
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/GeometryRDDRasterizeMethods.scala (diff)
Commit 697d09000021378afc089da7f9df2d529c5296b9 by Eugene Cheipesh
Optimize RasterizeRDD.fromGeometry small intersections

Expect that for large layers a geometry will intersect small fraction of the tiles.
In such a case keeping a set of keys is more efficient than a bitmap.
For small layer it doesn't matter what choice we made.
If this ever fails the next step is a BloomFilter instead of a Set.
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDD.scala (diff)
Commit 5e30290ba745368512c37984f6e3d4b67d6d6e72 by Eugene Cheipesh
add geotrellis.spark.rasterize.RasterizeFeaturesRDD.fromFeature based on RasterizeRDD PR https://github.com/locationtech/geotrellis/issues/2266

Signed-off-by: Adrian Klink <Adrian.Klink@eftas.com>
The file was addedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala
Commit 908b116601faaa180300ac6b4050e0f9f30b71d4 by Eugene Cheipesh
WIP: change features RDD[(G,D)] to RDD[Features[G,D]]

Signed-off-by: Adrian Klink <Adrian.Klink@eftas.com>
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala (diff)
Commit 4a27ed7c38cd70e3bb77466799b21611ec74c421 by Eugene Cheipesh
WIP: change features RDD[Feature[G,D]] to RDD[Feature[G,Double]]

Signed-off-by: Adrian Klink <Adrian.Klink@eftas.com>
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala (diff)
Commit 67645b89fde21986f62e3b4ea9eefcdb7d6987a0 by Eugene Cheipesh
add FeatureRDDRasterizeMethods extends MethodExtensions[RDD[Feature[G,Double]]]

Signed-off-by: Adrian Klink <Adrian.Klink@eftas.com>
The file was addedspark/src/main/scala/geotrellis/spark/rasterize/FeatureRDDRasterizeMethods.scala
Commit 065996ae0fdb25d5e0aad6589702bdefbb023e2d by Eugene Cheipesh
add Implicits for FeatureRDDRasterizeMethods[G]

Signed-off-by: Adrian Klink <Adrian.Klink@eftas.com>
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/Implicits.scala (diff)
Commit 9e381577bed8084122acc71a081d88c830031557 by Eugene Cheipesh
Revert "add Implicits for FeatureRDDRasterizeMethods[G]"

This reverts commit ea5f593cd5e6c708fe7a0002d9d36379af931931.
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/Implicits.scala (diff)
Commit c845101ac2bcb06e700573d06cc2eb8d765846c3 by Eugene Cheipesh
Unify Feature and Geometry Rasterizers
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala (diff)
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDD.scala (diff)
Commit 72d9208dc5aa27b6c5dbe7fb9a1bc707378d1560 by Eugene Cheipesh
Convert Lines and MultiLines to Polygons

The line rasterizer converts edge endpoints to integers, whereas the
polygon rasterizer preserves the precision of vertices.  The loss of
precision caused by conversion to integers makes the line rasterizer
inappropriate for this application.
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala (diff)
Commit fa06544bfdf6f4d37c15e7061bf4b2fc5885b3b7 by Eugene Cheipesh
Carry Priority Informaton
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala (diff)
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDD.scala (diff)
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala (diff)
The file was addedspark/src/test/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala
Commit 243a50ed35040940fcb19f9888992f95b6b7ae48 by Eugene Cheipesh
Rename FeatureInfo to CellValue and move it to raster package

This will allow it to be re-used in the per-tile rasterizer
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala (diff)
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDD.scala (diff)
The file was addedraster/src/main/scala/geotrellis/raster/rasterize/CellValue.scala
The file was modifiedspark/src/test/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala (diff)
Commit 6875a33bb6b19a9d6caf63ca318f7145c608df99 by Eugene Cheipesh
Use iterator when rasterizing lines
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala (diff)
Commit bf6e22d149af797609df517fe48445b94dfa52af by Eugene Cheipesh
Factor out keyGeomToLayout

This can be re-used and tested when outside of line function
The file was modifiedspark/src/main/scala/geotrellis/spark/tiling/LayoutDefinition.scala (diff)
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala (diff)
Commit 769a73dfb59974059dee7146df6ad987d8466fa7 by Eugene Cheipesh
Refactor: remove usePriority argument
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala (diff)
Commit 3698a39e41bc605d88c98679915f6e1544f93126 by Eugene Cheipesh
Update RasterizeRDD Methods
The file was removedspark/src/main/scala/geotrellis/spark/rasterize/GeometryRDDRasterizeMethods.scala
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/Implicits.scala (diff)
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDD.scala (diff)
The file was removedspark/src/main/scala/geotrellis/spark/rasterize/FeatureRDDRasterizeMethods.scala
The file was removedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala
The file was addedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDDMethods.scala
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDDMethods.scala (diff)
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDD.scala (diff)
Commit 9e04bd515fd89b6ca7e275c7f5b4a9a7dd5a1f7a by Eugene Cheipesh
cell treat priority as an integeger
The file was modifiedspark/src/main/scala/geotrellis/spark/rasterize/RasterizeRDD.scala (diff)
Commit 4d70f625c2291b6970dc1605fa3c64b283f0ba32 by Eugene Cheipesh
Update RasterizeRDD tests

Signed-off-by: Eugene Cheipesh <echeipesh@gmail.com>
The file was modifiedspark/src/test/scala/geotrellis/spark/rasterize/RasterizeRDDSpec.scala (diff)
The file was removedspark/src/test/scala/geotrellis/spark/rasterize/RasterizeFeaturesRDD.scala