geojson icon indicating copy to clipboard operation
geojson copied to clipboard

Adding geojson.utils.lines()?

Open deeplook opened this issue 5 years ago • 0 comments

While I use geojson.utils.coords() to get coordinates out of a GeoJSON file, sometimes I want to have lines that I can plot more directly. So I created a function to iterate over such lines, see https://github.com/deeplook/spheromones/blob/master/utils.py#L98. This is used in that repo (with a binder interface) to render GeoJSON as lines on a sphere (there I don't use geojson.utils.coords(), but I could, and do elsewhere ;).

So my question or feature request would be for the authors of this geojson package to think about adding such a function to iterate over lines to this package, maybe in a modified better form?

deeplook avatar Apr 08 '20 14:04 deeplook