spatial-data-lab / knime-geospatial-extension

This repository is built for KNIME-CGA Geospatial Project, and the goal is to build Python-based nodes for geospatial analysis in KNIME Analytic Platform.
MIT License
20 stars 8 forks source link

Support visualization layers in geo view nodes #313

Closed koettert closed 5 months ago

koettert commented 6 months ago

As a user I want to use visualization layers e.g. .lyrx or .qml file in the geo view node(s). I would like to store the current settings in such a file and import it e.g. in another node.

Forum request: https://forum.knime.com/t/node-to-store-layer-visualization/75610

Maybe we can utilize https://github.com/geostyler/geostyler for it

koettert commented 6 months ago

@wybert can you please have a look at this to see if this is feasible.

wybert commented 6 months ago

@koettert , we could export a JSON config file for the Geoview node through the node output port and also could accept a JSON file to replicate the style.

wybert commented 6 months ago

Maybe we can utilize https://github.com/geostyler/geostyler for it

The Geoview node is based on Leafet rather than OpenLayers. I didn't see Geostyler support this. A good way is to export a JSON file.

koettert commented 6 months ago

Another possible solution would be also to use the KNIME color manager information. However this would need to be supported by the Python framework first (AP-13762).

koettert commented 5 months ago

Will be solved by https://github.com/spatial-data-lab/knime-geospatial-extension/issues/113