GEO-BON / bon-in-a-box-pipeline-engine

Pipeline engine that can run R, Julia, Python and shell scripts seamlessly.
GNU General Public License v3.0
3 stars 1 forks source link

Support color & metadata in geoJSON outputs #118

Open jmlord opened 2 months ago

jmlord commented 2 months ago

Is your feature request related to a problem? Please describe. There is no visual way to differentiate point in the rendered geoJSON. It's not possible to see the metadata attached to the points in the rendered geoJSON, like for the CSVs where clicking on a point shows the rest of the metadata from the CSV in a popup.

Describe the solution you'd like A spec to write the color and additional metadata directly in the geoJSON file.

Describe alternatives you've considered Generating an HTML file from R with an interactive leaflet map, but that would be separate from the BON in a Box viewer.

Additional context From discussion with @oselmoni, for the Genes From Space Ne>500 pipeline.

vicjulrin commented 1 month ago

Has this been adjusted from TIFF outputs? For example, if I have a raster with predefined colors that renders correctly in GIS software but doesn't render properly in Leaflet within BON in a Box, is it possible for Leaflet to directly render the defined color palette? Or does it need to be done from the YML file?

image

jmlord commented 1 month ago

This issue is specifically for GeoJSON, For TIFF, please refer to this issue: https://github.com/GEO-BON/bon-in-a-box-pipeline-engine/issues/89