Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lat and lon as float rather than strings #94

Open
chrstnbwnkl opened this issue Feb 9, 2021 · 1 comment
Open

lat and lon as float rather than strings #94

chrstnbwnkl opened this issue Feb 9, 2021 · 1 comment
Labels

Comments

@chrstnbwnkl
Copy link

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. :)

@ahalterman ahalterman added the v3 label Feb 9, 2021
@ahalterman
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants