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
GeoPy throws error when processing when GPS Altitude changes #38
Comments
I was actually able to go around this issue by just adding the following code to readdzg function: However, I still had some issues with the timestamp. For this issue I had to dig a little bit more. Ended up finding that there were a few GGA strings that were empty. So I added a conditional function before processing any GGA, if empty it does not process it. It seems it worked! |
Hi @felippehsk, interesting issues. Thanks for working this out. If you feel inclined to contribute, you can open a pull request with these changes incorporated. Otherwise I'm happy to add them myself. |
Hi @iannesbitt! I may have some time this weekend to organize it and open a pull request! |
Closed, thank you @felippehsk! |
@iannesbitt , first of all, thank you for the effort on putting this library together. It is a very handy tool!
However, I encountered an issue trying to use it. I am currently trying to use the main function readgssi.readgssi to open a dataset that contains DZT and DZG files. The DZG files contain the information from the GPS including altitude. Therefore, when the main function calls the function readdzg, GeoPy throws the following error: "ValueError: Calculating distance between points with different altitudes is not supported". This seems to be documented under GeoPy - Calculate Distance
When I open the data without the GPS the function works perfectly.
HERE a sample of the data I am using. Please, let me know if you need more info or a extra hand as contributor.
The text was updated successfully, but these errors were encountered: