datastax - DSE Graph Loader geospatial data -


the docs don't provide examples of importing geospatial data (e.g. points) using graph loader. possible? example, want load vertices, each of has property coordinates of type geo.point.

what figured out can use wkt, e.g. point property, in json:

// myvertex.json {"name": "foobar", "coordinates": "point (45, 45)"} 

with mapping file this:

load(myvertexinput).asvertices {     label "myvertex"     key "name" } 

i think example coordinates property needs defined in schema.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -