Slippy map writing support.#572
Merged
metasim merged 3 commits intolocationtech:developfrom Nov 29, 2021
Merged
Conversation
Member
Author
|
I suspect the build is failing on the "in the wild" use case because of AWS permissions. Runs fine locally. |
Member
Cause: java.lang.NullPointerException:
[info] at org.locationtech.rasterframes.expressions.aggregates.ProjectedLayerMetadataAggregate.evaluate(ProjectedLayerMetadataAggregate.scala:76)
[info] at org.apache.spark.sql.execution.aggregate.ScalaUDAF.eval(udaf.scala:446)
[info] at org.apache.spark.sql.execution.aggregate.AggregationIterator.$anonfun$generateResultProjection$5(AggregationIterator.scala:256)
[info] at org.apache.spark.sql.execution.aggregate.SortBasedAggregationIterator.next(SortBasedAggregationIterator.scala:151)
[info] at org.apache.spark.sql.execution.aggregate.SortBasedAggregationIterator.next(SortBasedAggregationIterator.scala:30)
[info] at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage2.processNext(Unknown Source)
[info] at org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:4🤔 |
echeipesh
reviewed
Oct 26, 2021
| rf.select($"green") | ||
| .write.slippy | ||
| .withUniformColor | ||
| .withHTML |
Contributor
There was a problem hiding this comment.
I guess this thing comes with batteries!
echeipesh
reviewed
Oct 26, 2021
dbdcaa2 to
d0766dd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requires #571
Adds ability to write out a RasterFrame as a slippy map for visualization. Provides color compositing and rendering options for tweaking results.