mordecai icon indicating copy to clipboard operation
mordecai copied to clipboard

lat and lon as float rather than strings

Open chrstnbwnkl opened this issue 4 years ago • 1 comments

I was wondering if there's a reason coordinates are provided as strings rather than floats. Most geospatial libraries for Python require coordinates to be of type float (such as shapely or pysal), also common geospatial data formats such as GeoJSON store coordinates as floats.

As I am usually integrating mordecai with other geospatial libraries, having the coordinates returned as floats would make this integration a tiny bit smoother. :)

chrstnbwnkl avatar Feb 09 '21 19:02 chrstnbwnkl

Thanks for that report! Floats are certainly more useful than strings for lat and lon and I'll change that in the next version. And if you haven't filled out the user survey yet, I'd love to get your thoughts on what else is working or not: https://z0l4ihmu0ud.typeform.com/to/b8FmCfMt

ahalterman avatar Feb 09 '21 20:02 ahalterman