grafana-toolbox / panodata-map-panel

Map Panel for Grafana with improved convenience, robustness and features. Friendly fork of the original Grafana Worldmap Panel. Currently not maintained, but verified to work up to Grafana 9.
https://community.panodata.org/t/grafana-map-panel/121
GNU Affero General Public License v3.0
88 stars 31 forks source link

[Question] Display postal code shapes with this model? #92

Open ChrizZz90 opened 3 years ago

ChrizZz90 commented 3 years ago

Sorry I don't know where I should ask this question, probably this isn't the right place...

I am searching a grafana modul to show data based on postal codes and display the shapes of them. F.e. in Germany there are geojson files with postal code shapes: https://www.suche-postleitzahl.org/plz-karte-erstellen

Is it possible to use this model to display the shapes? Do I just need the geojson coordinates as a reference?

Thanks & Sorry for crashing the issues log

amotl commented 3 years ago

Hi @ChrizZz90,

thanks for writing in.

While I haven't looked into this in more detail, the Grafana Map Plugin by @orchestracities [1] might already offer respective functionality to display GeoJSON features on top of a map. Whether this would also include shapes defined by polygon lines is currently beyond what I was able to grasp from quickly skimming the code. Maybe @chicco785 can elaborate a bit on this detail?

We are currently humbly getting in touch about eventually working together, see https://github.com/orchestracities/grafana-map-plugin/issues/34 and https://github.com/panodata/grafana-map-panel/issues/87.

With kind regards, Andreas.

[1] https://github.com/orchestracities/grafana-map-plugin

ChrizZz90 commented 3 years ago

Thanks for the hint with the Grafana Map Plugin, Andreas! In my mind it would be a very good idea to have one powerful map plugins in Grafana instead of multiple ones with specials.

In the meantime I set up my Postgres database with PostGIS and transformed the GeoJSON to geometry data of PostGIS. Based on that I am able to create JSON or just query results in most of the known formats. But seems like the bigger barrier is to display poligons (multi poligons) instead of points.

I will follow up this topic with the orchestracities team (@chicco785), because I failed to get it running :/

I don't know if I should close this issue or not, @amotl it's your decision of you want to have it as a possible improvement.