jazzband / geojson

Python bindings and utilities for GeoJSON
https://pypi.python.org/pypi/geojson/
BSD 3-Clause "New" or "Revised" License
905 stars 120 forks source link

map_coords for tuples #108

Closed JanLikar closed 6 years ago

JanLikar commented 6 years ago

I think it would be very useful to have a function that would work similar to the geojson.utils.map_coords, but would call the mapping function with tuples of coordinates.

This would, for instance, enable writing simple converters between projections.

dharasty commented 6 years ago

I came to this same conclusion less than 10 minutes after using geojson.

I'd be happy to write this.

frewsxcv commented 6 years ago

There's a PR open for this, but the tests are currently failing, in case anyone is interested in picking it up

JanLikar commented 6 years ago

See #112.