About the usability of distances and CRS
See original GitHub issueI’d like to start by thanking you all for your great work. Also, that I’m presenting this issue as a way to better understand the problems underneath so I can help and solve the issues. I’m willing to do the necessary pull requests.
Anyway, I mentor some students of data science and a recurrent problem I saw them (and myself) having is import data with latitude and longitude in geopandas and expecting the method .distance() will deliver distances in meters. Most of them end up using geopy, which, in their mind, “does the right thing by default”.
So, I’d like to improve the usability in GeoPandas regarding that. Have some suggestions:
- Create a “great circle” function.
- Add in the docs a section about projections and CRS and how to make the distances behave in a known manner.
- Add, in the distance function of the API docs, a link about “this will not necessarily wield a result in meters, please see the FAQ”
Thanks for your attention!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:11 (9 by maintainers)
Top Results From Across the Web
Effects of Vehicle Features on CRS Installation Errors - NHTSA
The SAE CRS committee has developed the following recommendations to improve LATCH usability: (SAE CRS. Committee 2009). 1) The distance between tether ...
Read more >Usability of a classroom response system in an online course ...
Usability of a classroom response system in an online course: Testing of a smartphone-downloadable technology enhanced learning tool for distance education.
Read more >Usability of a classroom response system in an online course
Another CRS app has been used for a smartphone to enhance learning for distance graduate education and found out that it is a...
Read more >ISO information on CRS International Standards - UNECE
The usability of ISOFIX is addressed both on the CRS side (attachment ... impossibilities due to some extend on buckle lengths, seat belt ......
Read more >Usability Evaluations of a Wearable Inertial Sensing ... - PubMed
The results showed that most participants were able to understand the metrics presented in the CRs. For a few metrics, it remained difficult ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

For all my projects I end up projecting data to the state plane (units=meters) before using
.distance()or.buffer()I do this so often that I have written my own buffer wrapper function that takes feet, meters, or degrees and attempts to rectify crs issues before applying the buffer to the geometries. I would be happy to contribute this to geopandas if there is interest (perhaps under something likegpd.safe_buffer(gdf, distance, projected_crs=crs)method)Regardless I agree that documentation should be better and maybe any usage of
.distance(),.buffer()or even.areashould show a warning if the crs is not projected.Out of curiosity, beyond the basic geodesic functions, what others would you imagine someday wanting to utilize yourself?