How to add list of nodes to a SpatialLayer

前端 未结 1 1500
挽巷
挽巷 2021-01-27 04:05

I\'m new to Neo4j and cypher.
I have many nodes, that i want to add to a spatial layer.
This is what i tried with cypher :

Creating Nodes from a csv fi

1条回答
  •  时光说笑
    2021-01-27 04:31

    I Solved my problem by just changing:

    1) lat property to latitude
    2) lon property to longitude
    3) cast with toFloat() the two properties(they were Strings in the csv):

    toFloat(line.Pickup_latitude) and toFloat(line.Pickup_longitude)

    0 讨论(0)
提交回复
热议问题