Mohanna,
we are working on putting spatial capabilities into Cypher, however for now
I would use the REST API or the Java spatial API to index your points.

/peter


G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer <http://twitter.com/peterneubauer>

Open Data    - @mapillary <http://mapillary.com/>
Open Source - @neo4j <http://neo4j.org/>
Open Future  - @coderdojo <http://malmo.coderdojo.se/>


On Tue, Aug 12, 2014 at 3:43 PM, Mohana Krishna <[email protected]> wrote:

> Hi,
>
> I am new to ne04j spatial. I want to store some crime data in neo4j
> (spatial data with lat-long values) from csv file. I have neo4j spatial
> plugin enabled.
>
> Can I load lat,long values as 'float'  type from csv and perform spatial
> functions such as 'within_distance' on them?
>
> If I can't do that on floating point types, how can I explicitly store the
> lat-long values as point(geometry) data type?
>
> How to do this from Cypher (Is there any function equivalent of toInt(),
> to Float() ?) ?
>
> I am using "Load CSV". How can I directly convert lat long (int 2
> different columns) to point data type right in this command?
>
> Please enlighten
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to