We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd use that feature.
The text was updated successfully, but these errors were encountered:
I'd love that feature too.
Sorry, something went wrong.
Aha, it's easier than i initially thought:
def utm_epsg_from_latlot(lat, lon): zone = utm.from_latlon(lat, lon)[2] return f"326{zone:02d}"
you should make a difference between northern and southern hemisphere:
32633 for zone 33 northern hemisphere 32733 for zone 33 southern hemisphere
So the method could be something like this:
def utm_epsg_from_latlot(lat, lon): zone = utm.from_latlon(lat, lon)[2] return f"326{zone:02d}" if lat >= 0 else f"327{zone:02d}"
Yeah, this is discussed on several platforms (e.g. here). It would be great to have this as part of the package, so +1 on this issue.
No branches or pull requests
I'd use that feature.
The text was updated successfully, but these errors were encountered: