Skip to content
KonfrareAlbert edited this page Jul 20, 2016 · 8 revisions

/raw - All raw data with OSM ID

Description

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

How to use

For execute this command, you need to type:

/raw<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.

Raw data in OpenStreetMap

If you go to OpenStreetMap website and search something, when you select your search you can view all raw data in left border. This is an example for Paris, you can see it here.

At the end of tags, you can see «Download XML» link. This link shows all the tags for one element, the same that the command /raw. You can see this example for Paris here.

Screenshots

How it works

Now, /raw command runs without template: https://github.com/Xevib/osmbot/blob/master/bot/osmbot.py#L586

Clone this wiki locally