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
Post a Comment