Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-03-2019 04:00 AM
Hello all,
Neo4j Version - 3.5.8
I have imported a section of Openstreetmap into Neo4j. I need to write a query, where if i given a boundary box, I need to get all the nodes with lat and long within the boundary.
Appreciate your help
10-03-2019 04:37 AM
Either a bounding box, expressed as something such as the following (not Openstreetmap specific)
MATCH (p:Point) WHERE p.location < point({x:5,y:6}) AND p.location > point({x:4,y:3}) RETURN p
Or use Neo4j Spatial for more sophisticated intersections.
All the sessions of the conference are now available online