querying a layer's index

8 views
Skip to first unread message

Javad Karabi

unread,
May 12, 2014, 12:00:36 PM5/12/14
to ne...@googlegroups.com
(fyi im using jruby)
undefined method `query' for #<Java::OrgNeo4jGisSpatial::LayerRTreeIndex:0x5df356ea>

the layer's index doesnt seem to have a 'query' method available. i dont understand what the point of accessing the index is then?

Javad Karabi

unread,
May 12, 2014, 12:21:37 PM5/12/14
to ne...@googlegroups.com
im also confused because it seems that adding a node can be done via the layer,
however, querying is done via accessing the index from the graph database service

Craig Taverner

unread,
May 13, 2014, 11:58:38 AM5/13/14
to ne...@googlegroups.com
Could you send sample code?

What version of Neo4j are you using? Are you using the neo4j-spatial.rb rubygem? That gem is very old, and probably incompatible with the version of Neo4j you used. If I can see the code you used, I could reproduce the problem and perhaps it is easy to fix.


--
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 neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Javad Karabi

unread,
May 13, 2014, 1:10:27 PM5/13/14
to ne...@googlegroups.com
hey craig, im actually working on my own version of a jruby neo4j wrapper.
the code is at https://github.com/karabijavad/cadet/tree/spatial/lib/cadet/spatial

honestly, im just trying to get a basic Layer and spatial Session
class up and running, but for the life of me i cant figure out how to
even start. any input would be appreciated. id simply like to be able
to add nodes to a layer, then query for them based on ther distance,
or just perform any sort of spatial query
> You received this message because you are subscribed to a topic in the
> Google Groups "Neo4j" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/neo4j/xhwgBsccIHw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
Reply all
Reply to author
Forward
0 new messages