Re: [Neo4j] Neo4j Spatial: problem indexing coordinates

2014-09-30 Thread Rita
Hi Craig, any news for version Neo4j Spatial for multi coordinates compatible for 1.9? Thanks in advance. Rita Il giorno lunedì 22 settembre 2014 16:59:48 UTC+2, Craig Taverner ha scritto: > > Hi Rita, > > The reason we need multiple layers is that the layer object contains the > knowledge of

Re: [Neo4j] Neo4j Spatial: problem indexing coordinates

2014-09-23 Thread Rita
Hi Craig, many thanks for your explanation. Sorry but I am using Neo4j1.9.5, and I need to use this old version, I can't upgrade it. So I need to mantain Neo4j Spatial which depends on neo4j-1.9.5. Is it possible to take this code updated with multiple location from github please? Thank you Reg

Re: [Neo4j] Neo4j Spatial: problem indexing coordinates

2014-09-22 Thread Craig Taverner
Hi Rita, The reason we need multiple layers is that the layer object contains the knowledge of what properties are used to store the location/type/bbox. To store multiple locations on the same node requires different properties, and therefor different layers. The pom you referenced is very old an

Re: [Neo4j] Neo4j Spatial: problem indexing coordinates

2014-09-22 Thread Rita
Hi Craig, many thanks for you time and the implementation! I see that the multiple points are supported in different layer, right? So if I have 3 points on same node, I have to query on 3 different layers. I have to verified the impact on performance for loading 3 layers. Could you tell me how I

Re: [Neo4j] Neo4j Spatial: problem indexing coordinates

2014-09-19 Thread Craig Taverner
Hi Rita, As a test I decided to add support for multiple points on the same node. I've got test code at https://github.com/neo4j-contrib/spatial/blob/master/src/test/java/org/neo4j/gis/spatial/TestSimplePointLayer.java#L168. This is only supported in the latest code from github, and is not release

Re: [Neo4j] Neo4j Spatial: problem indexing coordinates

2014-09-19 Thread Rita
Hi Craig, thanks for you explanation. I had not tried yet to create more than one layer, but now I know what is the situation. I'm sorry that the only solution is to store other coordinates in new nodes. Regards Rita Il giorno giovedì 18 settembre 2014 16:28:34 UTC+2, Craig Taverner ha scritt

Re: [Neo4j] Neo4j Spatial: problem indexing coordinates

2014-09-18 Thread Craig Taverner
Hi, The problem is that even though you can control the property names of the x and y coordinates, you cannot (currently) control the bbox property used by the index. It is possible to store multiple locations in the same node using different x and y properties on different layers (different index

[Neo4j] Neo4j Spatial: problem indexing coordinates

2014-09-18 Thread Rita
Hi everybody, I ask you if it is possibile for Neo4j-Spatial to create index on nodes with more than one couple of coordinate (indexing all of these spatial properties). I mean, now I have something like this config = new HashMap(); config.put(LayerNodeIndex.LAT_PROPERTY_KEY, "la"); config.put(