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?
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 usegeojson.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?