geojson-spec icon indicating copy to clipboard operation
geojson-spec copied to clipboard

Support for circles

Open Bouni opened this issue 11 years ago • 5 comments

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
  }
}

Bouni avatar Nov 11 '13 09:11 Bouni

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.

Burstaholic avatar Oct 06 '14 17:10 Burstaholic

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?

basisbit avatar Oct 13 '17 12:10 basisbit

People are tired of using LineString, Points or calculate regular polygons :shipit: Please, upgrade specification 🙏

binakot avatar Jun 20 '18 09:06 binakot

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

MurzNN avatar Aug 19 '19 15:08 MurzNN

Any news on that?

kaligrafy avatar Jul 04 '23 15:07 kaligrafy