So check, something like
IF a.longitude <> b.longitude AND a.lattitude <> b.lattitude
CREATE (a)-[travel_route]-(b) ?
If you want to calculate the distance by road you could probably use google or openmaps API
So check, something like
IF a.longitude <> b.longitude AND a.lattitude <> b.lattitude
CREATE (a)-[travel_route]-(b) ?
If you want to calculate the distance by road you could probably use google or openmaps API
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Cypher: Calculate distances | 7 | 225 | September 21, 2022 | |
| Distance calculation between OSMNode nodes in a large graph does not return | 4 | 810 | December 28, 2020 | |
| Try to structure and automate a query | 2 | 662 | December 6, 2019 | |
| Advice For Storing Locations Then Finding Locations Along A Route | 2 | 130 | February 21, 2024 | |
| Routing with osm data in Neo4j | 0 | 1206 | July 3, 2020 |