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

adding conversion from Base64 to Integer 64 for OSM ID #5

Open
hornig opened this issue Jun 16, 2019 · 1 comment
Open

adding conversion from Base64 to Integer 64 for OSM ID #5

hornig opened this issue Jun 16, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@hornig
Copy link
Contributor

hornig commented Jun 16, 2019

gcp-osm/main.py

Lines 65 to 75 in 00cec7f

if parsed.find("/n/") > -1:
print("type indicator: n/ = OSM Node ID with Basis 64")
if parsed.find("/w/") > -1:
print("type indicator: w/ = OSM Way ID with Basis 64")
if parsed.find("/a/") > -1:
print("type indicator: a/ = OSM Area ID with Basis 64")
if parsed.find("/r/") > -1:
print("type indicator: r/ = OSM Relation ID with Basis 64")

adding the conversion from Base64 with ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_~ to integer 64bit to convert to OSM id.
More here https://github.com/aerospaceresearch/gcp-osm/blob/master/README.md

@hornig hornig added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jun 16, 2019
@Spnetic-5
Copy link

@hornig I would love to work on this issue, is this still active!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants