geojson-spec
geojson-spec copied to clipboard
Support for circles
Hi,
i just wondered why GeoJSON does not support circles? It would be nice to have this feature. I want to use circles with Leaflet and Leaflet.draw but obviously they are not supported by GeoJSON.
The definition of a circle could look something like this:
{ "type": "Feature",
"properties": {
"color":"orange"
},
"geometry": {
"type":"Circle",
"coordinates":[8.385,47.601],
"radius":200.0
}
}
Proposal: https://github.com/geojson/geojson-spec/wiki/Proposal---Circles-and-Ellipses-Geoms
Mailing list discussion: http://lists.geojson.org/pipermail/geojson-geojson.org/2011-November/thread.html#4430
Wiki TL;DR: https://github.com/geojson/geojson-spec/wiki/Proposal---Circles-and-Ellipses-Geoms#discussion-notes
Frankly, Circles would be very useful for my organization as well, but it seems difficult to get any consensus.
Was there any progress (or at least some further discussions) regarding solving this issue in the geojson spec during the last 3 years or what is the plan for handling such issues in general?
People are tired of using LineString
, Points
or calculate regular polygons :shipit:
Please, upgrade specification 🙏
As workaround we can use properties storage for keep radius value, here is example https://medium.com/geoman-blog/how-to-handle-circles-in-geojson-d04dcd6cb2e6
Any news on that?