Hi Peter,

I now have a graph with the 'geom' index + testnode from the above code and
imported some OSM data afterwards. I now want to find 2 nodes by bbox query
- 550349 and 205372 (see http://dl.dropbox.com/u/18693700/graph.png). How
can I achieve this? If I query for the bbox I should at least find the
corresponding GEOM nodes and then traverse over the incoming edge?

I can for example do the following:
cypher> start n=node:node(way_osm_id = '119810554')
cypher> return n
cypher> 
==>
+--------------------------------------------------------------------------------------------------------------------------------------+
==> | n                                                                         
                                                          
|
==>
+--------------------------------------------------------------------------------------------------------------------------------------+
==> |
Node[550349]{way_osm_id->119810554,oneway->"BOTH",timestamp->1309673329000,highway->"residential",name->"Frauenstraße",version->"2"}
|
==>
+--------------------------------------------------------------------------------------------------------------------------------------+
==> 1 rows, 168 ms

In the posts before I could query the geometry with index 'geom'. The index
manager only has the following entries:

node lucene {"_blueprints:type":"MANUAL", "type":"exact"}
relation lucene {"_blueprints:type":"MANUAL", "type":"exact"}
geom spatial {"_blueprints:type":"MANUAL"}
way lucene {"_blueprints:type":"MANUAL", "type":"exact"}
changeset lucene {"_blueprints:type":"MANUAL", "type":"exact"}
user lucene {"_blueprints:type":"MANUAL", "type":"exact"}

I also have uploaded the complete folder of Neo4j spatial + graph.db:
http://dl.dropbox.com/u/18693700/neo4j_spatial_osm_graphdb.rar

Regards, Daniel

  

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3533548.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to