featureCollection-element를 부모로 가진 properties 요소를 갖는 것이 유효합니까?
geojson.org에 따르면 유효합니다.
{ "type": "FeatureCollection",
"features": [
{ "type": "Feature",
"geometry": {"type": "Point", "coordinates": [102.0, 0.5]},
"properties": {"prop0": "value0"}
}
]
}
그러나 나는 이것이 유효하거나 유효하지 않은지 알 수 없습니다.
{ "type": "FeatureCollection",
"properties" : { "description" : "This is the geometry for..." }
"features": [
{ "type": "Feature",
"geometry": {"type": "Point", "coordinates": [102.0, 0.5]},
"properties": {"prop0": "value0"}
}
]
}
아래의 답변에 따르면 거기에 넣는 것이 올바르지는 않지만 프로그램 / 스크립트는 그것을 알 수 없습니다.
그래서, 질문을 바꾸어 보겠습니다.