Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ChrizZz90 opened this issue Feb 12, 2021 · 2 comments
Open

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

ChrizZz90 opened this issue Feb 12, 2021 · 2 comments

Comments

@ChrizZz90
Copy link

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
Copy link

amotl commented Feb 12, 2021

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 orchestracities/map-panel#34 and #87.

With kind regards,
Andreas.

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

@ChrizZz90
Copy link
Author

ChrizZz90 commented Feb 17, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants