neodash
neodash copied to clipboard
❔ Question about Geopoint and iso country codes 🗺️
❔ About
We have started using map reports for some of our reports. We have iso3
in our entities and then are able to display metrics with the Choropleth widget:
... but we would have loved to be able to get relationships between entities too... which seem to be possible on the Map. Here is what we want to have:
Still to use the map component, it looks like we need to use Geopoint, as indicated:
"Map visualizations work best with Neo4j Spatial Data. Make sure that the nodes in your database have their locations stored as a spatial property."
🎯 The question
☝️ For now, on our country Entity does not have such spatial properties. yet, We have clean iso3
field.
👉 What would the best method to get the job done around the entity to get these spacial properties ? Should we store them... or could we use any extension (APOC
,..) or third party dataset to get the job done (ideally from cypher).
Thank you in advance for your help.
Hi @adriens ,
Do you mean relationships between countries? This can't be visually done on any of the reports we have at the moment. Do you know any library that admits this kind of interaction? You can always add the GeoCoordinates of the capital on each country entity and used that on the map as a workaround.
Hey @BennuFire , thanks a lot for feedback.
Do you mean relationships between countries?
Yes, what I exactly would like to show is the weight of relationships between countries based on the number of nodes attached to a given country.
This can't be visually done on any of the reports we have at the moment.
😮 I did not see that. In fact, there are much more example on the map documentation than on the other one. : maybe adding some more screenshots could help a lot too 💭
Do you know any library that admits this kind of interaction?
Nope, I may say that Apache ECharts or D3.js could do the job 💭
You can always add the GeoCoordinates of the capital on each country entity and used that on the map as a workaround.
Yup, that was the idea and was wondering how to achieve this from pure Cypher (I mean without adding/store data on the entities)