Re: [Neo4j] Re: Searching for spatial nodes into geometry box from shapefile

2014-09-09 Thread Craig Taverner
Converting Shapefiles to JTS Geometries can be done easily with the GeoTools library gt-shapefile. We include this library in Neo4j Spatial, and use it in, for example in the ShapefileImporter. See the code at https://github.com/neo4j-contrib/spatial/blob/master/src/main/java/org/neo4j/gis/spatial/

Re: [Neo4j] Re: Searching for spatial nodes into geometry box from shapefile

2014-08-29 Thread Craig Taverner
Hi Arnaud, If you are using the Java API, then there are several ways to find objects in the index. It sounds like you want something like 'find all Geometries that are contained within this area'? Or perhaps intersecting an area? Can you explain in more detail what your actual query is, then I ca

Re: [Neo4j] Re: Searching for spatial nodes into geometry box from shapefile

2014-08-20 Thread Arnaud DRAZEK
Hello Jim, Thanks a lot for answering. My shapefile (that I import with the ShapeFileImporter) contains the boundaries of a french district. I import it in a new layer. I want know search for the geo nodes based on the spatial plugin which are contained in this area : I guess with the geopipeline

[Neo4j] Re: Searching for spatial nodes into geometry box from shapefile

2014-08-20 Thread Jim Biard
Arnaud, If you are using the Neo4j Spatial plugin, geometries will be computed from the shapes if you use the shape file importer. They will be in the Well-Known Binary (WKB) format, but they will be present. Are you looking for something more or different than this? Grace and peace, Jim On