area icon indicating copy to clipboard operation
area copied to clipboard

Coordinates should accept list or tuple

Open Taxuspt opened this issue 7 years ago • 1 comments

The asserts on lines 30 and 63, i.e. assert isinstance(coordinates, list) should also accept tuples, i.e. assert isinstance(coordinates, (list,tuple))

Since tuples are a valid format on GeoJson and some libraries (e.g. shapely) map shapes to tuples instead of lists.

Taxuspt avatar Sep 12 '17 12:09 Taxuspt

Added in #5 (though not yet merged).

connor avatar Jan 27 '18 07:01 connor