geojson / geojson-spec

The original GeoJSON Format Specification published on 2008-06-16
http://geojson.org
56 stars 6 forks source link

Support for circles #1

Open Bouni opened 10 years ago

Bouni commented 10 years ago

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
  }
}
Burstaholic commented 10 years ago

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.

basisbit commented 7 years ago

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?

binakot commented 6 years ago

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

MurzNN commented 5 years ago

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

kaligrafy commented 1 year ago

Any news on that?