From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg wikimedia_commons
links to related Wikimedia Commons' media of the feature (syntax / Category:xxxxx) Edit this description in the wiki page. Edit this description in the data item.
Group: Annotations
Used on these elements
may be used on nodesmay be used on waysmay be used on areasmay be used on relations
See also
Status: in use
example of an image considered to be within scope of Wikimedia Commons
"Reasonable quality photographs of identified places are very unlikely to be considered not in scope"
"scope is very broadly defined. Reasonable quality photos of public places are generally considered to be in scope. So, please go ahead and upload those photos"[1]
Used on with wikimedia_commons=File:Stojaki na Łobzowska x Biskupia.JPG

For links to images or other media found on Wikimedia Commons.


Link to the (highest-level applicable) object-specific category where available, otherwise, a specific image or 3D model. Do not link to more generic categories such as "churches in Birmingham".



Where possible, you may also add a wikidata=* tag. Any notable and clearly identifiable material entity is allowed to have a Wikidata entry (See Wikidata's notability guidelines). A Wikidata entity would contain a statement about an image, 3D model, Commons category, or Commons gallery being associated with the entity.

Adding wikimedia_commons=* to an object that has wikidata=* can be considered redundant because Wikidata itself often links to Wikimedia Commons. The vast majority of less experienced (newbies and occasional) users however is way more likely to understand the concept and importance of Wikimedia Commons than Wikidata though and that's why it can be considered good to add both. Even for experienced users, the human-readable value of wikimedia_commons=* is easier to interpret.

Use cases

This can be useful for giving armchair mappers (some of which may be experienced validators) a better chance at understanding the object (a museum, unique house, bridge or memorial for example or even long distance cycle routes e.g. relation 162016) and eventually complement or correct tags. Especially useful when the object doesn't also have wikipedia=*, wikidata=* or website=* tags or other easily available sources.

Note that these tags are not just intended for internal use! Linked content should therefore be suitable to be shown to end users.


Common tagging mistakes

See also

  • Photo linking - Create links between OSM features and external pictures
  • image=* - has simple syntax (File:*) for linking to individual images on Commons too, but is less safe.
  • mapillary=* - link to individual image in the Mapillary database
  • wikipedia=* - provides a link to Wikipedia's article about the feature.
  • wikidata=* - The ID of the Wikidata item about the feature.
  • Images related to OSM, on Wikimedia Commons
  • 3dmr=* - for linking 3d models on the 3D Model Repository abandoned

External links


  2. [1], Issue 7131 (Show photos from Wikidata), OsmAnd GitHub
  3. [2], Issue 9585 (Show photos from Wikimedia Commons), OsmAnd GitHub