details - Xevib/osmbot GitHub Wiki

/details - Info with OSM ID

Description

This command returns data info in OpenStreetMap tags for one element.

How to use

For execute this command, you need to type:

/details<OSM_type><OSM_ID>
  • <OSM_type> refers to three elements in OpenStreetMap: nod (node), way closed way area way or rel (relation).
  • <OSM_ID> refers to unique number to identify an element in OpenStreetMap.

Follow links

/raw<OSM_type><OSM_ID>

Following this link, you receive a message with all data tags in OSM. Please see the /raw - All raw data with OSM ID section.

  • <OSM_type> refers to three elements in OpenStreetMap: nod (node), way closed way area way or rel (relation).
  • <OSM_ID> refers to unique number to identify an element in OpenStreetMap.

Info in details message

Info I (only in countries, admin_level=2 or place=country)

  • 🌎🌍🌏 - Shows the continent where the country is, in translated text from key is_in:continent=*.
  • 🚩 - Shows a link for Wikimedia Commons flag image. The key in OSM is flag=*.
  • 💵 - Shows the value for key currency=*.
  • 🕒🌐 - Shows the value for key timezone=*.

Info II

Info III

Info IV

Info V

  • 📞 - Shows the value for keys phone=* and contact:phone=*.
  • 📠 - Shows the value for keys fax=* and contact:fax=*.
  • 📧 - Shows the value for keys email=* and contact:email=*.
  • 🌍 - Shows the value for keys website=* and contact:website=*.
  • 🕞 - Shows the value for key opening_hours=*.
  • 📶 - Shows the value for key internet_access=*.
  • 📶💸 - Shows the value for key internet_access:fee=*.
  • ✳️ - Shows the data for key stars=* with emojis: ⭐ for stars and ➕ for superior classes.
  • 🔑 - Shows the value for key rooms=*.
  • - Shows the value for key beds=*.
  • 🚾 - Shows the value for key toilets=*.
  • ♿ - Shows the value for key wheelchair=*.
  • 🚾♿ - Shows the value for key toilets:wheelchair.
  • 🐕 - Shows the value for key dogs=*.
  • 🚬 - Shows the value for key smoking=*.
  • 💼🏬 - Shows the value for key brand=*.
  • 💼 - Shows the value for key operator=*.
  • 🥚 - Shows the value for key cuisine=*. Values with special emojis: barbecue 🔥, burger 🍔, cake 🍰, chicken 🍗, coffee_shop ☕, curry 🍛, donut 🍩, fish_and_chips 🐟🍟, ice_cream 🍨, gyros , kebab , pasta 🍝, pizza 🍕, sandwich , sausage , seafood 🐟, soup 🍲, steak_house 🍖, sushi 🍣, tapas 🍤🍺.
  • 👔👚 - Shows the value for key clothes=*.
  • 🚹 - Shows the value for key male:*.
  • 🚺 - Shows the value for key female=*.
  • 🚻 - Shows the value for key unisex=*.

Info VI

Info VII

  • 📗 - Shows a link to Wikidata from the key wikidata=*.
  • 📒 - Shows a link to Wikipedia from the key wikipedia=*.

Screenshots

How it works

You can see the answer for this command in the file details_message.md in the code. Templates are made with Jinja2 (The Python Template Engine), you can see how to use templates in Template Designer Documentation. Emoji Cheat Sheet.

⚠️ **GitHub.com Fallback** ⚠️