拥有一个具有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"}
}
]
}
根据下面的答案,将其放置在其中并不是无效的,但是程序/脚本不会知道它在此处。
因此,让我重新表述一下这个问题:(在哪里)是否可以将有关该财产的一些描述性信息作为一个整体?