panodata-map-panel icon indicating copy to clipboard operation
panodata-map-panel copied to clipboard

[Question] Display postal code shapes with this model?

Open ChrizZz90 opened this issue 4 years ago • 2 comments

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

ChrizZz90 avatar Feb 12 '21 12:02 ChrizZz90

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

amotl avatar Feb 12 '21 23:02 amotl

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.

ChrizZz90 avatar Feb 17 '21 14:02 ChrizZz90