文档未提供使用图形加载器导入地理空间数据(例如点)的示例。这可能吗?例如,我想加载一些顶点,每个顶点都有coordinates
类型的属性Geo.point
。
答案 0 :(得分:1)
我想到的是你可以使用WKT,例如对于点属性,在JSON中:
// MyVertex.json
{"name": "foobar", "coordinates": "POINT (45, 45)"}
使用这样的映射文件:
load(myVertexInput).asVertices {
label "MyVertex"
key "name"
}
我认为在这个例子中,需要在模式中定义coordinates
属性。