Skip to content

Added forced truncation of WKT types in Markdown/HTML rendering.#408

Merged
metasim merged 1 commit intolocationtech:developfrom
s22s:fix/407
Nov 8, 2019
Merged

Added forced truncation of WKT types in Markdown/HTML rendering.#408
metasim merged 1 commit intolocationtech:developfrom
s22s:fix/407

Conversation

@metasim
Copy link
Member

@metasim metasim commented Nov 5, 2019

Closes #407

@metasim metasim requested a review from vpipkt November 5, 2019 21:57
@@ -47,8 +49,9 @@ trait DataFrameRenderers {
lit("\"></img>")
Copy link
Member Author

Choose a reason for hiding this comment

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

Wondering if the line above this one

 base64(rf_render_png(rf_resample(resolved, 0.5), ColorRamps.Viridis))

should be changed to use ColorRamps.greyscale(256), and then apply a color ramp in the python API for notebooks.

Copy link
Member

Choose a reason for hiding this comment

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

I guess I am not sure about what we can do on the notebook / python side if the image is already b64 encoded in HTML... Some css stuff? idk

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. Damn. Didn't think of that.

@@ -47,8 +49,9 @@ trait DataFrameRenderers {
lit("\"></img>")
Copy link
Member

Choose a reason for hiding this comment

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

I guess I am not sure about what we can do on the notebook / python side if the image is already b64 encoded in HTML... Some css stuff? idk

@vpipkt
Copy link
Member

vpipkt commented Nov 6, 2019

🚢 it

@metasim metasim merged commit b6c1ce0 into locationtech:develop Nov 8, 2019
@metasim metasim deleted the fix/407 branch November 8, 2019 15:12
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.

rf_ipython custom format for geometry objects in spark DataFrame

2 participants