Skip to content

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

@hornig

Description

@hornig

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions