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 <danielbercht...@gmail.com> 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

Reply via email to