Photo linking

From OpenStreetMap Wiki
Jump to navigation Jump to search
A map showing pictures associated to retrieved features

Photo linking is a technique consisting in creating links between OSM features and external pictures. The goal of this is to make OSM data illustrated and sourced by recent pictures.

Rationale

In order to make more user-friendly maps, it is interesting to illustrate our rich point of interest database with pictures, as other map providers already do. By populating the database with this kind of links, we allow developers to create easily visual maps for everyone.

Links to images are not just (potentially) useful to end users, but can also really help other mappers understand the objects we have mapped. Often experienced armchair mappers trying to validate edits can do nothing but trust that the previous mapper got it at least somewhat "right" and complete. With images attached they can often do more than that.

It matters to make the links explicit, because it allows to choose a good picture between a set of available pictures, and also make sure that the feature to illustrate is well visible on it. It could not be done properly only using nearest, more recent picture, as it could be blurry, not in the right direction, and so on.

Mapping

Creating a link between an object and its picture in OSM is easy: just add the tag according to your picture source on the given object. See below to find how to associate picture according to its source.

Logo Name Tag Example Statistics
Mapillary logo Mapillary
(website)
mapillary=<mapillary picture key> mapillary=277755748254846
Picture icon BLACK.svg Any website image=<full URL> image=https://2019.stateofthemap.org/img/hd-autumn.jpg
Commons-logo-en.svg Wikimedia Commons
(website)
wikimedia_commons=File:<image> wikimedia_commons=File:Eiffelturm.JPG


wikimedia_commons=Category:<category> wikimedia_commons=Category:Eiffel Tower
Panoramax.svg Panoramax panoramax=<identifier> panoramax=cbc0f10b-c98b-4ac0-aaf8-cc9f281aaac1
Flickr logo Flickr
(website)
flickr=<flickr full URL> flickr=https://www.flickr.com/photos/12353812@N00/14914754624
KartaView wordmark.svg KartaView kartaview=<identifier> kartaview=3687045/0
Bing logo (2013).svg Bing Streetside bubbleid=<9-digit identifier> bubbleid=508168307

Note that wikipedia=* and wikidata=* are also a good source of images, which can generally be added through the wikimedia_commons=* tag.

Tools

Sources

  • WikiShootMe - Designed for linking photos from multiple sources to wikidata items, but also useful for finding pictures to add to OSM.

Editors

You can use any OpenStreetMap editor to add pictures tags on objects. However, there are a few dedicated editors to do so.

  • Flickr4OSM - Link your personal Flickr pictures to OSM features.
  • Pic4Review - Easy editor to contribute using pictures, creates links between OSM and pictures.

Renderers

Some map renderers supports showing pictures associated to OSM features.

Quality assurance

See also

  • Photo mapping - Technique for creating OSM data according to what is shown on a picture