Python sample of short link decode


I’m playing around with some files created by OSMAnd which use short link file names to encode geographic location information. I’m trying to use them in an external program I’m writing in Python, but I need to decode the file names. I found the Python example at Implementation of OpenStreetmap Shortlinks in Python · GitHub, but it only contains an encode routine, and I’m not nearly a good enough Python programmer to reverse-engineer the method it uses. Can anyone point me to a Python example for decoding short link names?



4 posts - 2 participants

Read full topic

Ce sujet de discussion accompagne la publication sur