Re: [Neo4j] Neo4j Spatial build / run problems
Daniel, glad to hear it works out! I think we need to make the loading of the index more robust, so the order is less important. Feel free to suggest improvements on that, and make some more tests for it. Also, keep us informed on how your project is going. Maybe a small blog is in order to show off? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer brew install neo4j && neo4j start heroku addons:add neo4j On Wed, Nov 30, 2011 at 3:04 PM, danielb wrote: > Now I missed another important point: > With that settings the database would still not return any results. I > changed the bounding box values to 9.9 and 48.4. I then got an error message > with insufficient heap space. With more digits it would load even more from > the R-tree. > I increased the cache sizes from the standard few megabytes to several > hundreds of megabytes and now can do the queries. (600k nodes, 1M > properties, 1M relationships) > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3548384.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 ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j Spatial build / run problems
Now I missed another important point: With that settings the database would still not return any results. I changed the bounding box values to 9.9 and 48.4. I then got an error message with insufficient heap space. With more digits it would load even more from the R-tree. I increased the cache sizes from the standard few megabytes to several hundreds of megabytes and now can do the queries. (600k nodes, 1M properties, 1M relationships) -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3548384.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
Re: [Neo4j] Neo4j Spatial build / run problems
Hi Peter, the tests are running and now I get the following results: cypher> start n=node:geom('bbox:[9.9996186, 9.9996186, 48.4027913, 48.4027913]') cypher> return n cypher> ==> +--+ ==> | n| ==> +--+ ==> | Node[205373]{vertices->1,bbox->[D@4613e058,gtype->1} | ==> +--+ ==> 1 rows, 194 ms http> POST /db/data/ext/SpatialPlugin/graphdb/findGeometriesInLayer {"layer":"geom","minx":9.9996186,"maxx":9.9996186,"miny":48.4027913,"maxy":48.4027913} ==> 200 OK ==> [ { ==> "outgoing_relationships" : "http://localhost:7474/db/data/node/205373/relationships/out";, ==> "data" : { ==> "bbox" : [ 9.9996186, 9.9996186, 48.4027913, 48.4027913 ], ==> "vertices" : 1, ==> "gtype" : 1 ==> }, ==> "traverse" : "http://localhost:7474/db/data/node/205373/traverse/{returnType}";, ==> "all_typed_relationships" : "http://localhost:7474/db/data/node/205373/relationships/all/{-list|&|types}", ==> "property" : "http://localhost:7474/db/data/node/205373/properties/{key}";, ==> "self" : "http://localhost:7474/db/data/node/205373";, ==> "properties" : "http://localhost:7474/db/data/node/205373/properties";, ==> "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/205373/relationships/out/{-list|&|types}", ==> "incoming_relationships" : "http://localhost:7474/db/data/node/205373/relationships/in";, ==> "extensions" : { ==> }, ==> "create_relationship" : "http://localhost:7474/db/data/node/205373/relationships";, ==> "paged_traverse" : "http://localhost:7474/db/data/node/205373/paged/traverse/{returnType}{?pageSize,leaseTime}";, ==> "all_relationships" : "http://localhost:7474/db/data/node/205373/relationships/all";, ==> "incoming_typed_relationships" : "http://localhost:7474/db/data/node/205373/relationships/in/{-list|&|types}" ==> } ] To get to this point I have to follow exactly the following steps: 1. Create a new database 2. Run the OSMImporter and name the layer 'geom' (Cypher don't like "\ / :") -> separate osmPath and Layername in importer 3. Start the server and call the following through HTTP: http> POST /db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer {"layer":"geom", "lat":"lat", "lon":"lon"} ==> 200 OK ==> [ { ==> "outgoing_relationships" : "http://localhost:7474/db/data/node/582567/relationships/out";, ==> "data" : { ==> "layer_class" : "org.neo4j.gis.spatial.osm.OSMLayer", ==> "layerprops" : [ "FIXME", "TMC:cid_58:tabcd_1:Class", "TMC:cid_58:tabcd_1:Direction", "TMC:cid_58:tabcd_1:LCLversion", "TMC:cid_58:tabcd_1:LocationCode", "TMC:cid_58:tabcd_1:NextLocationCode", "TMC:cid_58:tabcd_1:PrevLocationCode", "access", "addr:city", "addr:country", "addr:housenumber", "addr:postcode", "addr:state", "addr:street", "admin_level", "agricultural", "alt_name", "amenity", "area", "asb", "atm", "backrest", "barrier", "bell", "bench", "bicycle", "bicycle_parking", "boundary", "brand", "bridge", "building", "building:cladding", "building:height", "building:levels", "building:roof", "building:type", "building:use", "bus", "cables", "capacity", "capacity:disabled", "class:bicycle", "collection_times", "covered", "created_by", "crossing", "crossing_ref", "cuisine", "cutting", "cycleway", "denomination", "denotation", "description", "destination", "detail", "direction", "ele", "electrified", "email", "emergency", "fax", "fee", "fixme", "foot", "frequency", "from", "gauge", "grade", "hgv", "highway", "historic", "history", "horse", "hour_off", "hour_on", "incline", "int_ref", "is_in", "junction", "landuse", "lanes", "layer", "leisure", "light", "lit", "man_made", "material", "maxheight", "maxspeed", "maxspeed:source", "maxweight", "moped", "motor_vehicle", "motorcar", "motorcycle", "motorroad", "mtb:scale", "name", "natural", "network", "noexit", "note", "note:de", "office", "oneway", "onkz", "openGeoDB:auto_update", "openGeoDB:community_identification_number", "openGeoDB:is_in", "openGeoDB:is_in_loc_id", "openGeoDB:layer", "openGeoDB:license_plate_code", "openGeoDB:loc_id", "openGeoDB:name", "openGeoDB:sort_name", "openGeoDB:version", "opening_hours", "operator", "park_ride", "parking", "payment:coins", "payment:telephone_cards", "phone", "place", "postal_code", "power", "power:type", "priority", "psv", "public_transport", "rail", "railway", "recycling:clothes", "recycling:glass", "recycling:paper", "ref", "ref:color", "religion", "restriction", "route", "sac_scale", "segregated", "service", "shelter", "shop", "smoking", "smoothness", "source", "source:lit", "source:maxspeed", "sport", "surface", "tactile_paving", "to", "tourism", "tracks", "tracktype", "traffic_sign", "trail_visibility", "tram", "tunnel", "type", "usability:skate", "vehicle", "vending", "voltage", "waterway", "website", "wheelchair", "wheelchair:description", "width", "wikipedia", "wires
Re: [Neo4j] Neo4j Spatial build / run problems
Daniel, there is now https://github.com/neo4j/spatial/blob/master/src/test/java/org/neo4j/gis/spatial/SpatialPluginFunctionalTest.java#L53executing a cypher spatial query over REST, could you check this out and try to run it? If it works, you can simply analyze what goes over the wire - I guess there needs to be some escaping foo when you use CURL for this. Let me know how it works out! On Mon, Nov 28, 2011 at 5:09 PM, danielb wrote: > Hi Peter, > > that works, yes! But I still can't do spatial queries with the OSMLayer > over > the server page. Today I have written a small test program in Java which > also includes a bbox query for a specific point and then traverses to the > corresponding OSM node. So far I am satisfied with that (I will also > continue in Java), maybe you can still get this 'issue' to work at your > side > - or I just don't get it :) > > Regards, Daniel > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3542618.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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j Spatial build / run problems
Hi Peter, that works, yes! But I still can't do spatial queries with the OSMLayer over the server page. Today I have written a small test program in Java which also includes a bbox query for a specific point and then traverses to the corresponding OSM node. So far I am satisfied with that (I will also continue in Java), maybe you can still get this 'issue' to work at your side - or I just don't get it :) Regards, Daniel -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3542618.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
Re: [Neo4j] Neo4j Spatial build / run problems
Daniel, https://github.com/neo4j/spatial/commit/0636f88bdf05663fa8c260a1850849a96e78a568is now running through for me and does execute a Cypher Query over REST, so could you please try this out, just to be sure? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - NOSQL for the Enterprise. http://startupbootcamp.org/- Öresund - Innovation happens HERE. On Fri, Nov 25, 2011 at 1:42 PM, danielb wrote: > Thanks Peter! > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3536012.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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j Spatial build / run problems
Thanks Peter! -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3536012.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
Re: [Neo4j] Neo4j Spatial build / run problems
Daniel, will do and write some integration tests for this, sorry for the inconvenience! Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - NOSQL for the Enterprise. http://startupbootcamp.org/- Öresund - Innovation happens HERE. On Fri, Nov 25, 2011 at 10:43 AM, danielb wrote: > Hi Peter, > > unfortunately I can't get it to work. The layer named after osmpath could > not be used in query because of ':' and '/'. I don't know how to escape > them > here. However I did not like the layer to be named in this way, so I > changed > the OSMImporter to take 'layerName' and 'osmPath'. I now import the OSM > file > with the layer named 'geom' and added the indexprovider. A bbox query now > stops with "GC overhead limit exceeded" :/ > Can you please verify the OSMimport with bbox query over Cypher / HTTP? > > Regards, Daniel > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3535681.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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j Spatial build / run problems
Hi Peter, unfortunately I can't get it to work. The layer named after osmpath could not be used in query because of ':' and '/'. I don't know how to escape them here. However I did not like the layer to be named in this way, so I changed the OSMImporter to take 'layerName' and 'osmPath'. I now import the OSM file with the layer named 'geom' and added the indexprovider. A bbox query now stops with "GC overhead limit exceeded" :/ Can you please verify the OSMimport with bbox query over Cypher / HTTP? Regards, Daniel -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3535681.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
Re: [Neo4j] Neo4j Spatial build / run problems
Daniel, the OSM import is loaded into its own layer corresponding to the dataset file name as a default I think (there should be a layer node created fro it, much in the same way as for the 'geom' index. So, if you load that layer the same way as an index provider as you did with the 'geom' index, you should be able to do just that. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - NOSQL for the Enterprise. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. On Thu, Nov 24, 2011 at 1:52 PM, danielb wrote: > 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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j Spatial build / run problems
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
Re: [Neo4j] Neo4j Spatial build / run problems
Was lange währt wird endlich gut! Thanks for your feedback, will raise a few issues following this :) Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - NOSQL for the Enterprise. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. On Wed, Nov 23, 2011 at 8:54 PM, danielb wrote: > Hi Peter, > > I have posted the statements in 1 line, but no success with cURL. I think I > have messed up the database at work, it was allready filled with nodes from > OSM testing. I now started a new database at home and also included one > additional line: > > http> POST /db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer > {"layer":"geom", "lat":"lat", "lon":"lon"} > http> POST http://localhost:7474/db/data/index/node/ {"name":"geom", > "config":{"provider":"spatial"}} > http> POST http://localhost:7474/db/data/node {"lon": 15.2, "lat": 60.1} > http> POST > http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addNodeToLayer > {"layer":"geom","node":"http://localhost:7474/db/data/node/5"} > http> POST /db/data/ext/SpatialPlugin/graphdb/findGeometriesInLayer > {"layer":"geom","minx":15.0,"maxx":15.3,"miny":60.0,"maxy":60.2} > ==> 200 OK > ==> [ { > ==> "outgoing_relationships" : > "http://localhost:7474/db/data/node/5/relationships/out";, > ==> "data" : { > ==> "lon" : 15.2, > ==> "bbox" : [ 15.2, 60.1, 15.2, 60.1 ], > ==> "gtype" : 1, > ==> "lat" : 60.1 > ==> }, > ==> "traverse" : > "http://localhost:7474/db/data/node/5/traverse/{returnType}";, > ==> "all_typed_relationships" : > "http://localhost:7474/db/data/node/5/relationships/all/{-list|&|types}", > ==> "property" : "http://localhost:7474/db/data/node/5/properties/{key}";, > ==> "self" : "http://localhost:7474/db/data/node/5";, > ==> "properties" : "http://localhost:7474/db/data/node/5/properties";, > ==> "outgoing_typed_relationships" : > "http://localhost:7474/db/data/node/5/relationships/out/{-list|&|types}", > ==> "incoming_relationships" : > "http://localhost:7474/db/data/node/5/relationships/in";, > ==> "extensions" : { > ==> }, > ==> "create_relationship" : > "http://localhost:7474/db/data/node/5/relationships";, > ==> "paged_traverse" : > "http://localhost:7474/db/data/node/5/paged/traverse/{returnType}{?pageSize,leaseTime}";, > ==> "all_relationships" : > "http://localhost:7474/db/data/node/5/relationships/all";, > ==> "incoming_typed_relationships" : > "http://localhost:7474/db/data/node/5/relationships/in/{-list|&|types}" > ==> } ] > > After a restart of the server I could also do the following :) > cypher> start n=node:geom('bbox:[15.2, 15.2, 60.1, 60.1]') > cypher> return n > cypher> > ==> +-+ > ==> | n | > ==> +-+ > ==> | Node[5]{lon->15.2,lat->60.1,gtype->1,bbox->[D@7e64eff0} | > ==> +-+ > ==> 1 rows, 44 ms > > Tomorrow I am going to achieve this state on the other machine and then look > how it works with the OSM data. Well after that "schwere Geburt" I am happy > with the progress :) Thanks so far. > > Best regards, Daniel > > > > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3531942.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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j Spatial build / run problems
Hi Peter, I have posted the statements in 1 line, but no success with cURL. I think I have messed up the database at work, it was allready filled with nodes from OSM testing. I now started a new database at home and also included one additional line: http> POST /db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer {"layer":"geom", "lat":"lat", "lon":"lon"} http> POST http://localhost:7474/db/data/index/node/ {"name":"geom", "config":{"provider":"spatial"}} http> POST http://localhost:7474/db/data/node {"lon": 15.2, "lat": 60.1} http> POST http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addNodeToLayer {"layer":"geom","node":"http://localhost:7474/db/data/node/5"} http> POST /db/data/ext/SpatialPlugin/graphdb/findGeometriesInLayer {"layer":"geom","minx":15.0,"maxx":15.3,"miny":60.0,"maxy":60.2} ==> 200 OK ==> [ { ==> "outgoing_relationships" : "http://localhost:7474/db/data/node/5/relationships/out";, ==> "data" : { ==> "lon" : 15.2, ==> "bbox" : [ 15.2, 60.1, 15.2, 60.1 ], ==> "gtype" : 1, ==> "lat" : 60.1 ==> }, ==> "traverse" : "http://localhost:7474/db/data/node/5/traverse/{returnType}";, ==> "all_typed_relationships" : "http://localhost:7474/db/data/node/5/relationships/all/{-list|&|types}", ==> "property" : "http://localhost:7474/db/data/node/5/properties/{key}";, ==> "self" : "http://localhost:7474/db/data/node/5";, ==> "properties" : "http://localhost:7474/db/data/node/5/properties";, ==> "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/5/relationships/out/{-list|&|types}", ==> "incoming_relationships" : "http://localhost:7474/db/data/node/5/relationships/in";, ==> "extensions" : { ==> }, ==> "create_relationship" : "http://localhost:7474/db/data/node/5/relationships";, ==> "paged_traverse" : "http://localhost:7474/db/data/node/5/paged/traverse/{returnType}{?pageSize,leaseTime}";, ==> "all_relationships" : "http://localhost:7474/db/data/node/5/relationships/all";, ==> "incoming_typed_relationships" : "http://localhost:7474/db/data/node/5/relationships/in/{-list|&|types}" ==> } ] After a restart of the server I could also do the following :) cypher> start n=node:geom('bbox:[15.2, 15.2, 60.1, 60.1]') cypher> return n cypher> ==> +-+ ==> | n | ==> +-+ ==> | Node[5]{lon->15.2,lat->60.1,gtype->1,bbox->[D@7e64eff0} | ==> +-+ ==> 1 rows, 44 ms Tomorrow I am going to achieve this state on the other machine and then look how it works with the OSM data. Well after that "schwere Geburt" I am happy with the progress :) Thanks so far. Best regards, Daniel -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3531942.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
Re: [Neo4j] Neo4j Spatial build / run problems
Sorry, Cut and paste does not work, please remove the line breaks on my mail :-) /peter Sent from my phone, please excuse typos and autocorrection. On Nov 23, 2011 5:16 PM, "danielb" wrote: > Hi Peter, > > first cURL doesn't like me: > > C:\>curl -X POST > http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer > { > "message" : "Mandatory argument \"layer\" not supplied.", > "exception" : "java.lang.IllegalArgumentException: Mandatory argument > \"layer\" not supplied.", > "stacktrace" : [ > > "org.neo4j.server.plugins.ParameterExtractor.extract(ParameterExtractor.java:47)", > "org.neo4j.server.plugins.PluginMethod.invoke(PluginMethod.java:53)", > "org.neo4j.server.plugins.PluginManager.invoke(PluginManager.java:168)", > > "org.neo4j.server.rest.web.ExtensionService.invokeGraphDatabaseExtension(ExtensionService.java:300)", > > "org.neo4j.server.rest.web.ExtensionService.invokeGraphDatabaseExtension(ExtensionService.java:122)", > "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)", > > "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)", > > "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)", > "java.lang.reflect.Method.invoke(Method.java:597)", "com.sun.jersey. > > spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)", > > "com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)", > > "com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)", > > "com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)", > > "com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)", > > "com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)", > > "com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)", > "co > > m.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)", > > "com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)", > > "com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)", > > "com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)", > > "com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)", > > "com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)", > > "com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)", > "com.sun.jersey.spi.container.servlet.ServletContai > ner.service(ServletContainer.java:699)", > "javax.servlet.http.HttpServlet.service(HttpServlet.java:820)", > "org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)", > > "org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)", > > "org.neo4j.server.statistic.StatisticFilter.doFilter(StatisticFilter.java:62)", > > "org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)", > "org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)", > "org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)", > "org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)", > > "org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)", > > "org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)", > "org.mortbay.jetty.Server.handle(Server.java:326)", > "org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)", > > "org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)", > "org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)", > "org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)", > "org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)", > > "org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)", > > "org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)" > ] > } > C:\>-H "Content-Type:application/json" -d '{"layer":"geom", "lat":"lat", > Der Befehl "-H" ist entweder falsch geschrieben oder > konnte nicht gefunden werden. > > C:\>"lon":"lon"}' > Die Syntax für den Dateinamen, Verzeichnisnamen oder die > Datenträgerbezeichnung ist falsch. > > C:\>curl -X POST > http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer > -H "Content-Type:application/json" -d '{"layer":"geom", "lat":"lat", > "lon":"lon"}' > { > "message" : "Unexpected character (''' (code 39)): expected a valid value > (number, String, array, object, 'true', 'false' or 'null')\n at [Source: > java.io.StringReader@c6ac0be; line: 1, column: 2]", > "excepti
Re: [Neo4j] Neo4j Spatial build / run problems
Hi Peter, first cURL doesn't like me: C:\>curl -X POST http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer { "message" : "Mandatory argument \"layer\" not supplied.", "exception" : "java.lang.IllegalArgumentException: Mandatory argument \"layer\" not supplied.", "stacktrace" : [ "org.neo4j.server.plugins.ParameterExtractor.extract(ParameterExtractor.java:47)", "org.neo4j.server.plugins.PluginMethod.invoke(PluginMethod.java:53)", "org.neo4j.server.plugins.PluginManager.invoke(PluginManager.java:168)", "org.neo4j.server.rest.web.ExtensionService.invokeGraphDatabaseExtension(ExtensionService.java:300)", "org.neo4j.server.rest.web.ExtensionService.invokeGraphDatabaseExtension(ExtensionService.java:122)", "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)", "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)", "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)", "java.lang.reflect.Method.invoke(Method.java:597)", "com.sun.jersey. spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)", "com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)", "com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)", "com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)", "com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)", "com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)", "com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)", "co m.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)", "com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)", "com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)", "com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)", "com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)", "com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)", "com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)", "com.sun.jersey.spi.container.servlet.ServletContai ner.service(ServletContainer.java:699)", "javax.servlet.http.HttpServlet.service(HttpServlet.java:820)", "org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)", "org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)", "org.neo4j.server.statistic.StatisticFilter.doFilter(StatisticFilter.java:62)", "org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)", "org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)", "org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)", "org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)", "org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)", "org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)", "org.mortbay.jetty.Server.handle(Server.java:326)", "org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)", "org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)", "org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)", "org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)", "org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)", "org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)", "org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)" ] } C:\>-H "Content-Type:application/json" -d '{"layer":"geom", "lat":"lat", Der Befehl "-H" ist entweder falsch geschrieben oder konnte nicht gefunden werden. C:\>"lon":"lon"}' Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch. C:\>curl -X POST http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer -H "Content-Type:application/json" -d '{"layer":"geom", "lat":"lat", "lon":"lon"}' { "message" : "Unexpected character (''' (code 39)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: java.io.StringReader@c6ac0be; line: 1, column: 2]", "exception" : "org.neo4j.server.rest.repr.BadInputException: Unexpected character (''' (code 39)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: java.io.StringReader@c6ac0be; line: 1, column: 2]", "stacktrace" : [ "org.neo4j.server.rest.repr.formats.JsonFormat.readMap(JsonFormat.java:91)", "org.neo4j.server.rest.repr.RepresentationFormat.rea
Re: [Neo4j] Neo4j Spatial build / run problems
Daniel, try this: curl -X POST http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer -H "Content-Type:application/json" -d '{"layer":"geom", "lat":"lat", "lon":"lon"}' curl -X POST http://localhost:7474/db/data/node -H "Content-Type:application/json" -H "Accept:application/json" -d '{"lon": 15.2, "lat": 60.1}' curl -X POST -H "Content-Type:application/json" -d '{"layer":"geom","node":"http://localhost:7474/db/data/node/5"}' http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addNodeToLayer curl -X POST -H "Content-Type:application/json" -d '{"layer":"geom","minx":15.0,"maxx":15.3,"miny":60.0,"maxy":60.2}' http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/findGeometriesInLayer Does that work? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - NOSQL for the Enterprise. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. On Wed, Nov 23, 2011 at 12:30 PM, danielb wrote: > Hi Peter, > > I am more stuck today than yesterday oO I can't get the index to appear in > the indexmanager any more. First I dropped the database and started from > zero: > > C:\neo4j-community-1.5\bin>Neo4j.bat start > > SERVICE_NAME: Neo4j-Server > TYPE : 10 WIN32_OWN_PROCESS > STATE : 2 START_PENDING > (NOT_STOPPABLE, NOT_PAUSABLE, > IGNORES_SHUTDOWN) > WIN32_EXIT_CODE : 0 (0x0) > SERVICE_EXIT_CODE : 0 (0x0) > CHECKPOINT : 0x0 > WAIT_HINT : 0x7d0 > PID : 2132 > FLAGS : > > C:\neo4j-community-1.5\bin>b: > > B:\>curl http://localhost:7474/db/data/ > { > "relationship_index" : "http://localhost:7474/db/data/index/relationship";, > "node" : "http://localhost:7474/db/data/node";, > "relationship_types" : "http://localhost:7474/db/data/relationship/types";, > "neo4j_version" : "1.5", > "batch" : "http://localhost:7474/db/data/batch";, > "extensions_info" : "http://localhost:7474/db/data/ext";, > "node_index" : "http://localhost:7474/db/data/index/node";, > "reference_node" : "http://localhost:7474/db/data/node/0";, > "extensions" : { > "CypherPlugin" : { > "execute_query" : > "http://localhost:7474/db/data/ext/CypherPlugin/graphdb/execute_query"; > }, > "SpatialPlugin" : { > "addEditableLayer" : > "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addEditableLayer";, > "addCQLDynamicLayer" : > "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addCQLDynamicLayer";, > "updateGeometryFromWKT" : > "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/updateGeometryFromWKT";, > "findGeometriesInLayer" : > "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/findGeometriesInLayer";, > "addGeometryWKTToLayer" : > "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addGeometryWKTToLayer";, > "getLayer" : > "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/getLayer";, > "addSimplePointLayer" : > "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer";, > "addNodeToLayer" : > "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addNodeToLayer"; > }, > "GremlinPlugin" : { > "execute_script" : > "http://localhost:7474/db/data/ext/GremlinPlugin/graphdb/execute_script"; > } > } > } > B:\>curl -d "layer=geom&lon=lon&lat=lat" > http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer > [ { > "outgoing_relationships" : > "http://localhost:7474/db/data/node/2/relationships/out";, > "data" : { > "layer_class" : "org.neo4j.gis.spatial.EditableLayerImpl", > "layer" : "geom", > "geomencoder" : "org.neo4j.gis.spatial.encoders.SimplePointEncoder", > "geomencoder_config" : "lon:lat", > "ctime" : 1322045456422 > }, > "traverse" : "http://localhost:7474/db/data/node/2/traverse/{returnType}";, > "all_typed_relationships" : > "http://localhost:7474/db/data/node/2/relationships/all/{-list|&|types}", > "property" : "http://localhost:7474/db/data/node/2/properties/{key}";, > "self" : "http://localhost:7474/db/data/node/2";, > "properties" : "http://localhost:7474/db/data/node/2/properties";, > "outgoing_typed_relationships" : > "http://localhost:7474/db/data/node/2/relationships/out/{-list|&|types}", > "incoming_relationships" : > "http://localhost:7474/db/data/node/2/relationships/in";, > "extensions" : { > }, > "create_relationship" : > "http://localhost:7474/db/data/node/2/relationships";, > "paged_traverse" : > "http://localhost:7474/db/data/node/2/paged/traverse/{returnType}{?pageSize,leaseTime}";, > "all_relationships" : > "http://localhost:7474/db/data/node/2/relationships/all";, > "incoming_typed_relationships" : > "http://localhost:7474/db/data/node/2/relationships/in/{-list|&|types}
Re: [Neo4j] Neo4j Spatial build / run problems
Hi Peter, I am more stuck today than yesterday oO I can't get the index to appear in the indexmanager any more. First I dropped the database and started from zero: C:\neo4j-community-1.5\bin>Neo4j.bat start SERVICE_NAME: Neo4j-Server TYPE : 10 WIN32_OWN_PROCESS STATE : 2 START_PENDING (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN) WIN32_EXIT_CODE: 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x7d0 PID: 2132 FLAGS : C:\neo4j-community-1.5\bin>b: B:\>curl http://localhost:7474/db/data/ { "relationship_index" : "http://localhost:7474/db/data/index/relationship";, "node" : "http://localhost:7474/db/data/node";, "relationship_types" : "http://localhost:7474/db/data/relationship/types";, "neo4j_version" : "1.5", "batch" : "http://localhost:7474/db/data/batch";, "extensions_info" : "http://localhost:7474/db/data/ext";, "node_index" : "http://localhost:7474/db/data/index/node";, "reference_node" : "http://localhost:7474/db/data/node/0";, "extensions" : { "CypherPlugin" : { "execute_query" : "http://localhost:7474/db/data/ext/CypherPlugin/graphdb/execute_query"; }, "SpatialPlugin" : { "addEditableLayer" : "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addEditableLayer";, "addCQLDynamicLayer" : "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addCQLDynamicLayer";, "updateGeometryFromWKT" : "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/updateGeometryFromWKT";, "findGeometriesInLayer" : "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/findGeometriesInLayer";, "addGeometryWKTToLayer" : "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addGeometryWKTToLayer";, "getLayer" : "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/getLayer";, "addSimplePointLayer" : "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer";, "addNodeToLayer" : "http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addNodeToLayer"; }, "GremlinPlugin" : { "execute_script" : "http://localhost:7474/db/data/ext/GremlinPlugin/graphdb/execute_script"; } } } B:\>curl -d "layer=geom&lon=lon&lat=lat" http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer [ { "outgoing_relationships" : "http://localhost:7474/db/data/node/2/relationships/out";, "data" : { "layer_class" : "org.neo4j.gis.spatial.EditableLayerImpl", "layer" : "geom", "geomencoder" : "org.neo4j.gis.spatial.encoders.SimplePointEncoder", "geomencoder_config" : "lon:lat", "ctime" : 1322045456422 }, "traverse" : "http://localhost:7474/db/data/node/2/traverse/{returnType}";, "all_typed_relationships" : "http://localhost:7474/db/data/node/2/relationships/all/{-list|&|types}", "property" : "http://localhost:7474/db/data/node/2/properties/{key}";, "self" : "http://localhost:7474/db/data/node/2";, "properties" : "http://localhost:7474/db/data/node/2/properties";, "outgoing_typed_relationships" : "http://localhost:7474/db/data/node/2/relationships/out/{-list|&|types}", "incoming_relationships" : "http://localhost:7474/db/data/node/2/relationships/in";, "extensions" : { }, "create_relationship" : "http://localhost:7474/db/data/node/2/relationships";, "paged_traverse" : "http://localhost:7474/db/data/node/2/paged/traverse/{returnType}{?pageSize,leaseTime}";, "all_relationships" : "http://localhost:7474/db/data/node/2/relationships/all";, "incoming_typed_relationships" : "http://localhost:7474/db/data/node/2/relationships/in/{-list|&|types}" } ] B:\>curl -X POST http://localhost:7474/db/data/index/node/ -H "Content-Type: application/json" -d '{"name":"geom", "config":{"provider":"spatial"}}' { "message" : "Unexpected character (''' (code 39)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: java.io.StringReader@78d10502; line: 1, column: 2]", "exception" : "org.neo4j.server.rest.repr.BadInputException: Unexpected character (''' (code 39)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: java.io.StringReader@78d10502; line: 1, column: 2]", "stacktrace" : [ "org.neo4j.server.rest.repr.formats.JsonFormat.readMap(JsonFormat.java:91)", "org.neo4j.server.rest.web.RestfulGraphDatabase.jsonCreateNodeIndex(RestfulGraphDatabase.java:594)", "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)", "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)", "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)", "java.lang.reflect.Method.invoke(Method.java:597)", "com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)", "com.sun.jersey.server.impl.model.method.dispatch.Abstr
Re: [Neo4j] Neo4j Spatial build / run problems
Could you get me the full curl script to recreate? /peter Sent from my phone, please excuse typos and autocorrection. On Nov 22, 2011 5:35 PM, "danielb" wrote: > Hi Peter, > > I could now register the spatial index 'geom' to my database (I was missing > the zip file) - thanks so far. > > cypher> start n=node:geom('bbox:[10.0020654, 10.0020654, 48.4126496, > 48.4126496]') > cypher> return n > cypher> > ==> +---+ > ==> | n | > ==> +---+ > ==> +---+ > ==> 0 rows, 24 ms > > So zero results for this query. Maybe that node is not indexed by 'geom'? > How can I check to which nodes the spatial index has been applied? > > Regards, Daniel > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3528225.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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j Spatial build / run problems
Hi Peter, I could now register the spatial index 'geom' to my database (I was missing the zip file) - thanks so far. cypher> start n=node:geom('bbox:[10.0020654, 10.0020654, 48.4126496, 48.4126496]') cypher> return n cypher> ==> +---+ ==> | n | ==> +---+ ==> +---+ ==> 0 rows, 24 ms So zero results for this query. Maybe that node is not indexed by 'geom'? How can I check to which nodes the spatial index has been applied? Regards, Daniel -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3528225.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
Re: [Neo4j] Neo4j Spatial build / run problems
Daniel, just updated the installation instruction in https://github.com/neo4j/spatial, look under "Using the Neo4j Spatial Server plugin". Does that help? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - NOSQL for the Enterprise. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. On Tue, Nov 22, 2011 at 4:35 PM, danielb wrote: > Hi Peter, > > How do I add the Spatial plugin? I only have Cypher and Gremlin as server > extensions installed. I unzip Neo4j spatial into the plugins folder and then > send the JSON via curl to the database. But he can't find any of the needed > classes. Which files do I need from the spatial project and where are they > copied to the server exactly? > > Regards, Daniel > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3528052.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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j Spatial build / run problems
Hi Peter, How do I add the Spatial plugin? I only have Cypher and Gremlin as server extensions installed. I unzip Neo4j spatial into the plugins folder and then send the JSON via curl to the database. But he can't find any of the needed classes. Which files do I need from the spatial project and where are they copied to the server exactly? Regards, Daniel -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3528052.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
Re: [Neo4j] Neo4j Spatial build / run problems
Daniel, you need to make sure to load the spatial index first witha custom config, otherwise lucene is the default index provider and will "shadow" the lazily created and loaded index. See https://github.com/neo4j/spatial/blob/master/features/start-and-stop.feature#L16 for the example. Start with a new db, I guess the current wrong Lucene index "spatial" is saved over sessions. Does that work better? /peter On Tue, Nov 22, 2011 at 3:16 PM, danielb wrote: > Hi together, > > That would be cool. Atm I am deleting the data folder, that works too for my > testing purpose. I have played around with cypher and encounter some > problems. I have OSM nodes in the database and I 'guess' they have a spatial > index on the geometry (lat, lon). The view on the server administration page > also shows Rtree indices. The indexmanager only shows me some sort of lucene > indices (can I get a more detailed overview of the used indices by query?). > I tried the 'node' index with the following command: > > cypher> start n=node:node('bbox:[10.0061535, 10.0061535, 48.4125871, > 48.4125871]') > cypher> match (n) -[r] - (x) > cypher> return n > cypher> > ==> Error: RuntimeException - org.apache.lucene.queryParser.ParseException: > Cannot parse 'bbox:[10.0061535, 10.0061535, 48.4125871, 48.4125871]': > Encountered " "48.4125871, "" at line 1, column 30. > ==> Was expecting: > ==> "]" ... > ==> > > I was expecting to get the node with this coordinates. Can I query bbox for > point geometry at all? I may have typos in the command, so please help me, > these are my first steps with Neo4j :) After playing around with the server > console I will go deeper into the java code. > > When I am executing the IndexProviderTest I get an error: > http://dl.dropbox.com/u/18693700/IndexProviderTest.txt > > I appreciate your help again, > Daniel > > > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3527810.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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j Spatial build / run problems
Hi together, That would be cool. Atm I am deleting the data folder, that works too for my testing purpose. I have played around with cypher and encounter some problems. I have OSM nodes in the database and I 'guess' they have a spatial index on the geometry (lat, lon). The view on the server administration page also shows Rtree indices. The indexmanager only shows me some sort of lucene indices (can I get a more detailed overview of the used indices by query?). I tried the 'node' index with the following command: cypher> start n=node:node('bbox:[10.0061535, 10.0061535, 48.4125871, 48.4125871]') cypher> match (n) -[r] - (x) cypher> return n cypher> ==> Error: RuntimeException - org.apache.lucene.queryParser.ParseException: Cannot parse 'bbox:[10.0061535, 10.0061535, 48.4125871, 48.4125871]': Encountered " "48.4125871, "" at line 1, column 30. ==> Was expecting: ==> "]" ... ==> I was expecting to get the node with this coordinates. Can I query bbox for point geometry at all? I may have typos in the command, so please help me, these are my first steps with Neo4j :) After playing around with the server console I will go deeper into the java code. When I am executing the IndexProviderTest I get an error: http://dl.dropbox.com/u/18693700/IndexProviderTest.txt I appreciate your help again, Daniel -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3527810.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
Re: [Neo4j] Neo4j Spatial build / run problems
Daniel, true, we should upgrade this to 1.5. Michael, can we do it? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - NOSQL for the Enterprise. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. On Tue, Nov 22, 2011 at 12:26 AM, danielb wrote: > Tried Eclipse Java Edition and it seems that everything is working as it > should. I could at least start an OSMImport to an embedded database and > nodes were copied. I will have a detailed look tomorrow. > I still have a few problems with the Neo4j server itself. When I try to > batchinsert I get the message that the database was not shutdown in a clean > way. I start / stop the server as a service, can I somehow correct this > state? How can I delete all the nodes of the database in an easy way? I > tried https://github.com/jexp/neo4j-clean-remote-db-addon, but the jar is > for version 1.4 and when I execute the rest call no nodes are deleted from > the database. > > Thanks in advance, Daniel > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3526379.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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j Spatial build / run problems
Tried Eclipse Java Edition and it seems that everything is working as it should. I could at least start an OSMImport to an embedded database and nodes were copied. I will have a detailed look tomorrow. I still have a few problems with the Neo4j server itself. When I try to batchinsert I get the message that the database was not shutdown in a clean way. I start / stop the server as a service, can I somehow correct this state? How can I delete all the nodes of the database in an easy way? I tried https://github.com/jexp/neo4j-clean-remote-db-addon, but the jar is for version 1.4 and when I execute the rest call no nodes are deleted from the database. Thanks in advance, Daniel -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3526379.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
Re: [Neo4j] Neo4j Spatial build / run problems
Hi Peter, JDK 1.6 does the job! But only for building the project. Netbeans still shows an error for the missing KernelExtension meta-inf, however it does not prevent from running the OSMImporter. Lucene is still not working, maybe it has something to do with that error which is at the SpatialIndexProvider? Should I try it with Eclipse instead (even though I dislike Eclipse^^ / can I provide arguments for individual projects within the IDE?) - which IDE do you use with Neo4j? See you tomorrow :) Daniel -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3526111.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
Re: [Neo4j] Neo4j Spatial build / run problems
Could you please try with jdk1. 6? We have an incompatibility there, so it would help if you can try it out. /peter Sent from my phone, please excuse typos and autocorrection. On Nov 21, 2011 6:01 PM, "danielb" wrote: > Hi Peter, > > I have JDK 1.7.0_01 on a Windows 7 64bit machine. After I added the > "missing" meta-inf entry org.neo4j.kernel.KernelExtension I could build the > project. Now I have a few more problems. I can run the tests for the > DynamicLayers and OSMImport without failure but then I am stuck at the > OSMImporter itself now. > To just get any sort of a result I played around with this class a bit. I > set the arguments in the main class by hand (not nice, but I haven't > figured > out how to pass them in Netbeans project settings when the project is based > on Maven). Embedded database and batchinserter works until it wants to use > the lucene index. The error message is corresponding to this one: > http://neo4j.org/forums/#nabble-td3185975 > I guess I have to checkout more than only neo4j spatial and add / fix some > of the dependencies. > Unfortunately I don't have a Skype setup here :/ > > Regards, Daniel > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3525302.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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j Spatial build / run problems
Hi Peter, I have JDK 1.7.0_01 on a Windows 7 64bit machine. After I added the "missing" meta-inf entry org.neo4j.kernel.KernelExtension I could build the project. Now I have a few more problems. I can run the tests for the DynamicLayers and OSMImport without failure but then I am stuck at the OSMImporter itself now. To just get any sort of a result I played around with this class a bit. I set the arguments in the main class by hand (not nice, but I haven't figured out how to pass them in Netbeans project settings when the project is based on Maven). Embedded database and batchinserter works until it wants to use the lucene index. The error message is corresponding to this one: http://neo4j.org/forums/#nabble-td3185975 I guess I have to checkout more than only neo4j spatial and add / fix some of the dependencies. Unfortunately I don't have a Skype setup here :/ Regards, Daniel -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3525302.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
Re: [Neo4j] Neo4j Spatial build / run problems
Daniel, that setup works for me, would we connect via Skype to sort it out? What JDK are you using? [~/code/neo/spatial] $mvn clean compile [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.neo4j:neo4j-spatial:jar:0.7-SNAPSHOT [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 526, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] [INFO] Building Neo4j - Spatial Components 0.7-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ neo4j-spatial --- [INFO] Deleting /Users/peterneubauer/code/neo/spatial/target [INFO] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ neo4j-spatial --- [INFO] [INFO] --- maven-license-plugin:1.9.0:check (check-licenses) @ neo4j-spatial --- [INFO] Checking licenses... [INFO] [INFO] --- maven-dependency-plugin:2.1:unpack-dependencies (get-test-data) @ neo4j-spatial --- [INFO] Unpacking /Users/peterneubauer/.m2/repository/org/neo4j/spatial/osm-test-data/20100819/osm-test-data-20100819.jar to /Users/peterneubauer/code/neo/spatial/target with includes null and excludes:null [INFO] Unpacking /Users/peterneubauer/.m2/repository/org/neo4j/spatial/shp-test-data/20100819/shp-test-data-20100819.jar to /Users/peterneubauer/code/neo/spatial/target with includes null and excludes:null [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ neo4j-spatial --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 18 resources [INFO] Copying 4 resources to META-INF [INFO] Copying 4 resources to META-INF [INFO] [INFO] --- maven-dependency-plugin:2.1:copy-dependencies (copy-dependencies) @ neo4j-spatial --- [INFO] Copying json-simple-1.1.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/json-simple-1.1.jar [INFO] Copying jts-1.12.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/jts-1.12.jar [INFO] Copying commons-pool-1.5.4.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/commons-pool-1.5.4.jar [INFO] Copying imageio-ext-tiff-1.1.0.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/imageio-ext-tiff-1.1.0.jar [INFO] Copying imageio-ext-utilities-1.1.0.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/imageio-ext-utilities-1.1.0.jar [INFO] Copying vecmath-1.3.2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/vecmath-1.3.2.jar [INFO] Copying jai_codec-1.1.3.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/jai_codec-1.1.3.jar [INFO] Copying jai_core-1.1.3.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/jai_core-1.1.3.jar [INFO] Copying jai_imageio-1.1.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/jai_imageio-1.1.jar [INFO] Copying jdom-1.0.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/jdom-1.0.jar [INFO] Copying junit-4.9.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/junit-4.9.jar [INFO] Copying jsr-275-1.0-beta-2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/jsr-275-1.0-beta-2.jar [INFO] Copying geronimo-jta_1.1_spec-1.1.1.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/geronimo-jta_1.1_spec-1.1.1.jar [INFO] Copying gt-api-8.0-M2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/gt-api-8.0-M2.jar [INFO] Copying gt-coverage-8.0-M2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/gt-coverage-8.0-M2.jar [INFO] Copying gt-cql-8.0-M2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/gt-cql-8.0-M2.jar [INFO] Copying gt-data-8.0-M2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/gt-data-8.0-M2.jar [INFO] Copying gt-main-8.0-M2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/gt-main-8.0-M2.jar [INFO] Copying gt-metadata-8.0-M2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/gt-metadata-8.0-M2.jar [INFO] Copying gt-opengis-8.0-M2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/gt-opengis-8.0-M2.jar [INFO] Copying gt-process-8.0-M2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/gt-process-8.0-M2.jar [INFO] Copying gt-referencing-8.0-M2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/gt-referencing-8.0-M2.jar [INFO] Copying gt-render-8.0-M2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/gt-render-8.0-M2.jar [INFO] Copying gt-shapefile-8.0-M2.jar to /Users/peterneubauer/code/neo/spatial/target/dependency/gt-shapefile-8.0-M2.jar [INFO] Copying hamcrest-core-1.1.jar
Re: [Neo4j] Neo4j Spatial build / run problems
Hi Peter, I guess the meta-inf entry for the org.neo4j.kernel.KernelExtension is still missing. The repo URL https://github.com/neo4j/spatial.git is correct? It states last commit was 4 days ago... The build ends with error: http://dl.dropbox.com/u/18693700/git21.txt Daniel -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3524586.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
Re: [Neo4j] Neo4j Spatial build / run problems
Daniel, I updated the project to Neo4j 1.5 GA. Could you try building again, and contact me with the build log? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - NOSQL for the Enterprise. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. On Thu, Nov 17, 2011 at 2:38 PM, danielb wrote: > Sure, here are the files, first after the checkout directly and then after I > add the missing entry (maybe you can correct this on the repository?). > > http://dl.dropbox.com/u/18693700/git.txt > http://dl.dropbox.com/u/18693700/meta-inf_fixed.txt > > > > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3515786.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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user
Re: [Neo4j] Neo4j Spatial build / run problems
Sure, here are the files, first after the checkout directly and then after I add the missing entry (maybe you can correct this on the repository?). http://dl.dropbox.com/u/18693700/git.txt http://dl.dropbox.com/u/18693700/meta-inf_fixed.txt -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3515786.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
Re: [Neo4j] Neo4j Spatial build / run problems
Daniel, Could you send over the full console output of a mvn clean install -DskipTests ? On Nov 17, 2011 12:55 PM, "danielb" wrote: > Hi I have some problems with the new build of Neo4j Spatial. First if I > checkout and try to build the following error occurs "[ERROR] > > spatial\src\main\java\org\neo4j\gis\spatial\indexprovider\SpatialIndexProvider.java:[38,0] > error: Internal error: java.io.FileNotFoundException: > META-INF/services/org.neo4j.kernel.KernelExtension". This is the current > state after checkout. > > In the next step I have done the checkout in Netbeans and added the missing > META-INF entry. Also there is currently only a "TestKernelExtension" class > and not "KernelExtension". After that I could build the project and tried > to > run the OSMImporter.main inside Netbeans. I can't pass Parameters from > project->properties->run->arguments, I guess it has something to do with > the > Maven project (I am a .NET / VS developer, I do it by trial and error atm). > > Finally I tried to load the project by console with parameter passing: "mvn > exec:java -Dexec.mainClass="org.neo4j.gis.spatial.osm.OSMImporter.main" > -Dexec.classpathScope=runtime -Dexec.args=""C:/Program > Files/neo4j-community-1.5/data/graph.db" > "C:/Users/UserName/Dropbox/WBIS/osm/berlin.osm"". I had to copy the > pom.xml > (in netbeans project folder) to C:/users/username first to prevent an error > from loading this file. After this I am stuck here: > > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.neo4j:neo4j-spatial:jar:0.7-SNAPSHOT > [WARNING] 'reporting.plugins.plugin.version' for > org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 532, > column 15 > [WARNING] > [WARNING] It is highly recommended to fix these problems because they > threaten the stability of your build. > [WARNING] > [WARNING] For this reason, future Maven versions might no longer support > building such malformed projects. > [WARNING] > [WARNING] The POM for cuke4duke:cuke4duke-maven-plugin:jar:0.4.4 is > missing, > no dependency information available > [WARNING] Failed to retrieve plugin descriptor for > cuke4duke:cuke4duke-maven-plugin:0.4.4: Plugin > cuke4duke:cuke4duke-maven-plugin:0.4.4 or one of its > dependencies could not be resolved: Failed to read artifact descriptor for > cuke4duke:cuke4duke-maven-plugin:jar:0.4.4 > [WARNING] The POM for cuke4duke:cuke4duke-maven-plugin:jar:0.4.4 is > missing, > no dependency information available > [WARNING] Failed to retrieve plugin descriptor for > cuke4duke:cuke4duke-maven-plugin:0.4.4: Plugin > cuke4duke:cuke4duke-maven-plugin:0.4.4 or one of its > dependencies could not be resolved: Failed to read artifact descriptor for > cuke4duke:cuke4duke-maven-plugin:jar:0.4.4 > [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is > missing, no dependency information available > [WARNING] Failed to retrieve plugin descriptor for > org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin > org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of i > ts dependencies could not be resolved: Failed to read artifact descriptor > for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 > Downloading: > http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml > Downloaded: > http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml (19 KB > at > 18.5 KB/sec) > Downloaded: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml > (11 KB at 8.0 KB/sec) > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 2.417s > [INFO] Finished at: Thu Nov 17 12:44:42 CET 2011 > [INFO] Final Memory: 13M/309M > [INFO] > > [ERROR] No plugin found for prefix 'Files/neo4j-community-1.5/data/graph.db > C' in the current project and in the plugin groups > [org.apache.maven.plugins, org.codehaus.mojo] available from the > repositories [local (C:\Users\UserName\.m2\repository), central > (http://repo1.maven.org/maven2)] -> [ > Help 1] > > I would appreciate every help. Can I get it to work in Netbeans with > parameter passing? > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3515519.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 > ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user