← 输入框|github.com|刷新
Skip to content

Slippy map writing support. - #572

Merged
metasim merged 3 commits into
locationtech:developfrom
s22s:feature/slippy
Nov 29, 2021
Merged

metasim merged 3 commits into
locationtech:developfrom
s22s:feature/slippy

Conversation

@metasim

@metasim metasim commented Oct 19, 2021

Copy link
Copy Markdown
Member

Requires #571

Adds ability to write out a RasterFrame as a slippy map for visualization. Provides color compositing and rendering options for tweaking results.

@metasim

metasim commented Oct 20, 2021

Copy link
Copy Markdown
Member Author

I suspect the build is failing on the "in the wild" use case because of AWS permissions. Runs fine locally.

@pomadchin

Copy link
Copy Markdown
Member

@metasim

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

🤔

rf.select($"green")
.write.slippy
.withUniformColor
.withHTML

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this thing comes with batteries!

Comment thread build.sbt Resolved
@metasim
metasim merged commit 44f4072 into locationtech:develop Nov 29, 2021
@metasim
metasim deleted the feature/slippy branch November 29, 2021 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants