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
An easy way to start this is via some docstrings, in combination with #417.
Here are a few tips for those who peruse issues, in the meantime.
Some of the main functions, with defaults:
openlocationcode.encode(latitude, longitude, codeLength=10)
openlocationcode.decode(code)
Examples:
>>> from openlocationcode import openlocationcode as olc >>> olc.encode(40,-105) '85GQ2222+22' >>> olc.decode('85GQ2222+22') [40.0, -105.0, 40.000125, -104.999875, 40.0000625, -104.9999375, 10] >>> olc.encode(40,-105, codeLength=4) '85GQ0000+' >>>olc.decode('85GQ0000+') 40.0, -105.0, 41.0, -104.0, 40.5, -104.5, 4]
The text was updated successfully, but these errors were encountered:
I'm going to add a note to #417 and close this as a duplicate.
Sorry, something went wrong.
No branches or pull requests
An easy way to start this is via some docstrings, in combination with #417.
Here are a few tips for those who peruse issues, in the meantime.
Some of the main functions, with defaults:
openlocationcode.encode(latitude, longitude, codeLength=10)
openlocationcode.decode(code)
Examples:
The text was updated successfully, but these errors were encountered: