Open Gustry opened 10 years ago
Nice idea! :+1:
As you probably already know, a short URL will resolve to a longer URL via a HTTP/301 redirection. One complication, though: While this URL format is basically documented here, there are some undocumented parameters that will make implementing this ticket a little bit hard, I'm afraid. While short queries will be provided via the Q
parameter as documented, overpass turbo will create URLs with a q
parameter for longer queries. Because URL lengths have an upper limit in practice, this q
parameter contains a compressed version of the query (technically it is a Base64 encoded LZW compressed string). The same is true for the lower case c
parameter, which shaves off a few characters by "compressing" the map position coordinates. The only documentation for those two parameters is the source code of overpass turbo, I'm afraid. But if you need help, I can point you to the relevant pieces of code.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
To be able to open this kind of link : http://overpass-turbo.eu/s/4n5