You have to add the nodes to an spatial index which you have to create upfront.
see this doc: http://neo4j-contrib.github.io/spatial/#rest-api-add-a-node-to-the-spatial-index <http://neo4j-contrib.github.io/spatial/#rest-api-add-a-node-to-the-spatial-index> http://neo4j-contrib.github.io/spatial/#rest-api-find-geometries-within--distance-using-cypher <http://neo4j-contrib.github.io/spatial/#rest-api-find-geometries-within--distance-using-cypher> > Am 16.12.2015 um 20:47 schrieb luca scipioni <[email protected]>: > > Hi Michael, i'm using my own server plugin and spatialplugin. But now it's > all ok. A question, when i use this cypher query "START > n=node:arrival('withinDistance:[42.80929159999999, 13.937269799999967, > 50.0]') RETURN n", i have an error "Need to provide (geometry_type=point and > lat/lon), wkt or wkb property config"? I tried the > findGeometriesWithinDistance REST API and works fine. > > Cheers. > Luca. > > Il giorno mercoledì 16 dicembre 2015 20:20:39 UTC+1, Michael Hunger ha > scritto: > What plugin/extension do you have? > > Michael > >> Am 15.12.2015 um 17:43 schrieb luca scipioni <[email protected] >> <javascript:>>: >> >> Hi Michael, i don't know how but now works fine. Forgive me for making you >> waste time, the strange thing is that before only worked with 2.2.5 version! >> Cheers. >> Luca. >> Thanks >> >> Il giorno martedì 15 dicembre 2015 17:03:55 UTC+1, Michael Hunger ha scritto: >> do you have plugins or server extensions? >> >> for the latter you also have to configure neo4j-server.properties >> >> Michael >> >>> Am 15.12.2015 um 13:58 schrieb luca scipioni <[email protected] <>>: >>> >>> with dmg, desktop installer (community edition). >>> >>> Il giorno martedì 15 dicembre 2015 13:07:50 UTC+1, Michael Hunger ha >>> scritto: >>> With the ZIP install or homebrew or the desktop installer? >>> >>> Michael >>> >>>> Am 15.12.2015 um 12:59 schrieb luca scipioni <[email protected] <>>: >>>> >>>> Hi there, maybe i'm the only one who has all the stupids problems. Now >>>> Neo4j 2.3.1 on Mac doesn't read the plugins. I put all .jar files into >>>> plugins folder but doesn't work, while with the 2.2.5 version it's all ok. >>>> Why does it happen? >>>> >>>> Cheers. >>>> Luca. >>>> >>>> -- >>>> 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 >>>> <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 >>> <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] <javascript:>. >> 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] > <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.
