0
我有以下GeoJSON的多边形:GeoJSON的未验证
{"type": "Feature","geometry":{"type":"MultiPolygon", "coordinates":[[[[103.76772700000001,1.47063],[103.76772700000001,1.4795775862068967],[103.758794,1.4795775862068967],[103.758794,1.47063],[103.76772700000001,1.47063]]]]},"properties": {"number":"01"}},
{"type": "Feature","geometry":{"type":"MultiPolygon", "coordinates":[[[[104.00891800000001,1.47063],[104.00891800000001,1.4795775862068967],[103.99998500000001,1.4795775862068967],[103.99998500000001,1.47063],[104.00891800000001,1.47063]]]]},"properties": {"number":"03"}}
但是,当我确认这geojson validator它抛出一个EOF错误。但是,当我单独尝试每个验证作为合格的geoJSON。所以我也试过这个。
"type":"FeatureCollection","features":[
{"type": "Feature","geometry":{"type":"MultiPolygon", "coordinates":[[[[103.76772700000001,1.47063],[103.76772700000001,1.4795775862068967],[103.758794,1.4795775862068967],[103.758794,1.47063],[103.76772700000001,1.47063]]]]},"properties": {"number":"01"}},
{"type": "Feature","geometry":{"type":"MultiPolygon", "coordinates":[[[[104.00891800000001,1.47063],[104.00891800000001,1.4795775862068967],[103.99998500000001,1.4795775862068967],[103.99998500000001,1.47063],[104.00891800000001,1.47063]]]]},"properties": {"number":"03"}}
]
但仍抛出一个EOF错误。任何帮助表示赞赏。
其在[http://jsonviewer.stack.hu/] –
这是没有验证作为GeoJSON的,但有资格作为JSON.I看不惯 – RKR
尽量使JSON作为工作[HTTP:/ /geojsonlint.com/#sample-geojson-content] –