legend - Xevib/osmbot GitHub Wiki
/legend - Emojis for each key=value
Description
This command is very simple. If you type /legend, you receive a list of emojis with its key=value. Key=value is system to tag info in OpenStreetMap. You can see a list of keys and values on the «Map Features» page on the OSM wiki.
How to use
The complete list of emojis and key=value has two problems:
- You receive a large message
- There is an Easter Egg on Telegram for Android when one message has more than fifty emojis.
You can filter the results adding a key on the command:
/legend amenity
Also, you can filter with value of a key:
/legend restaurant
And also you can type part of filter:
/legend rest
Screenshots
How it works
The file typeemoji.py contains the list of key=values and its emoji. For emojis we use codification in Bytes (UTF-8), please see this list: http://apps.timwhitlock.info/emoji/tables/unicode .