我想在我的应用程序中添加路由应用程序覆盖文件,我创建了一个geojson文件:
{"type":
"MultiPolygon","coordinates":[
[-1.897287,39.035986],
[-1.862268,39.022384],
[-1.841154,39.000643],
[-1.831369,38.980829],
[-1.862869,38.967084],
[-1.887503,38.976226],
[-1.899261,39.007379]
]
}
但我收到了一个错误:
JSON file you uploaded was invalid. Errors : Each set of coordinates provided must be valid : [Ljava.lang.Object;@7de9b790
我的错误是什么?
谢谢!
答案 0 :(得分:6)
在此处更正了一个:
{ "type": "MultiPolygon",
"coordinates": [
[[ [-1.897287,39.035986],
[-1.862268,39.022384],
[-1.841154,39.000643],
[-1.831369,38.980829],
[-1.862869,38.967084],
[-1.887503,38.976226],
[-1.899261,39.007379]
] ]]
}
上测试