Unable to output a static map with marked locations in PDF documents

As a complete NOOB to KNIME (V5.8.1 on MacOS-M4) I try to make a PDF document that includes locations marked on a map with some details regarding the listed locations. The location data and additional information is stored in a spreadsheet.
I use a “Group Loop Start” and a “Report Loop End”


First I tried using “Geospatial View”, which generated a map focused on the locations which I could see on screen.

When I open the layout editor it seems I can use this view in the composite view layout for my PDF reports.

When I look at the saved PDF file I can add all the required information with the exception of the map. The PDF file states that the view is not supported.

Searching the internet and using AI I understand that “Geospatial View” is dynamic view and that I need to convert it to a static view by adding a blue export connector to the Node which I was unable to do.

Q1: How can export the map from the “Geospatial View node” into a PDF file?
The next attempt was to use “Geospatial View Static” as a node which allows adding the locations in the PDF but does not allow a reference background map to be added. This makes the node less useful for our particular purpose.

Looking for another approach I tried using OpenStreet Map, “OSM Map View” which oddly enough provides BING satellite images. Unlike “Geospatial View” the outcome map is not centered on the selected geolocations in the spreadsheet.


Once “Fit display to marker” is clicked " the map focuses on the POI.

As I did not find out how to export this in a report either I explored “OSM Map to Image”. Here I can adjust the basic area of interest so the focus in no longer on Europe as above.

Here I can add a view node which shows up in the open layout editor.

However the output map is only some pixels in size unlike the map in the interactive “OSM Map View” so I’m clearly doing something wrong.

Q2: What am I doing wrong to get such a small image as output?

I followed some of the KNIME map tutorials which focuses on interactive maps and asked Gemini, Chat GPT and KNIME’s AI for solutions but keep turning in rounds without a working solution.
What I would like is just automate the plotting locations on a base map (satellite or simplified like OSM) and export them to a PDF file. My struggle is the final step to get the static map with the marked locations in the PDF file. Please advise me on what I’m doing wrong or what I am overlooking in using Knime!

Thank you for your help in advance,
Kris

I haven’t tried it, but you might try Choropleth Maps. It can out a svg image.

1 Like

Hi rfeigel,

Thank you for that suggestion. Which extension does this require?
I found examples using “Choropleth Maps” but cannot find under which extension the node itself can be found. It seems it is a specific made stand-alone node.
Choropleth World Map – KNIME Community Hub


It seems that this node provides outlines of geographic areas with the lowest level provincial or state, while I need more real-world details at the village level allowing staff to identify the exact location of assets marked on the map.

Thanks as I learned something new today about Knime.
Kindly
Kris

Hi @KB_PFN

that’s a great question, and I guess you’ve tried everything that there is to make it work. Unfortunately, currently it is not possible to make your workflow work. Geospatial View node does not support Image outputs. Without this option, it’s not possible or not in a usable way (you’ve tried Geospatial Static View node ;)) to use geospatial maps in a Report.

There are many questions in the forum about that, e.g. here: https://forum.knime.com/t/why-no-image-saving-option-with-geospatial-view/89308

and there’s a Github request for it as well: Include views of the Geospatial View node in KNIME reports · Issue #335 · spatial-data-lab/knime-geospatial-extension · GitHub

Hope that helps? Cheers

Hi @Awiener,

Thank you so much for this clarification as it was driving me nuts. I had seen the message on the forum layer-based Geospatial View: image output and other great things - #3 which mentioned that @ScottF had added it to the KNIME tracking system 2+ years ago. I’m not sure how new features are prioritized at KNIME and how users can influence that order. Do you know? It seems from the link at GitHub that you shared, that @tobias.koetter has done some work on this. Is there the possibility to budget what it would cost for a developer to ensure this is possible? I understand KNIME is an open source project so we just need a competent software developer. If there is a user demand we could check if people are willing to financially contribute to this functionality. On our end we are a First Nation with very limited resources but would consider cost sharing if proves affordable to us.
What do you think?
Kindly
Kris