you can use withindistance, bbox and within geometry queries from cypher, see the neo4j-spatial docs:
http://neo4j-contrib.github.io/spatial/#rest-api-find-geometries-in-a-bounding-box-using-cypher <http://neo4j-contrib.github.io/spatial/#rest-api-find-geometries-in-a-bounding-box-using-cypher> HTH Michael > Am 11.02.2015 um 23:06 schrieb fede martinez <[email protected]>: > > Hello, > I'm working on a school project which consists of comparing Neo4j spatial > capabilities vs ArangoDB. > > My idea is to load in Neo4j a list of airports with latitude and long and > then a list of countries which would be polygons. The airports have edges if > there is a route between them. I'd like to able to extract data such as: > > * From what airports in Argentina is it possible to arrive to England > * A list of route options that leave a US city, have one stop somewhere else > and then arrive in Germany > > What I would like to know is if I should create a layer for the airports and > another for the countries or if I should use only one, because I don't know > if can do "cross layers" queries. Also I'd like to know, because so far I > haven't been able to find the information, if I can use all the operations > from the jts using Cypher, and if not, which ones are the operations I can do > using Cypher? > > Thanks in advance > > Federico Martinez > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
