Photo linking
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 (website) |
mapillary=<mapillary picture key> | mapillary=277755748254846 | ||
Any website | image=<full URL> | image=https://2019.stateofthemap.org/img/hd-autumn.jpg | ||
Wikimedia Commons (website) |
wikimedia_commons=File:<image> | wikimedia_commons=File:Eiffelturm.JPG
|
||
wikimedia_commons=Category:<category> | wikimedia_commons=Category:Eiffel Tower | |||
Panoramax | panoramax=<identifier> | panoramax=cbc0f10b-c98b-4ac0-aaf8-cc9f281aaac1 | ||
Flickr (website) |
flickr=<flickr full URL> | flickr=https://www.flickr.com/photos/12353812@N00/14914754624 | ||
KartaView | kartaview=<identifier> | kartaview=3687045/0 | ||
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.
- OpenLevelUp - Interactive indoor map viewer.
- MapContrib Pictures theme - Shows objects having a picture, using MapContrib website.
Quality assurance
- A set of MapCSS rules for JOSM validator named Pictures rules is available (available on JOSM wiki)
See also
- Photo mapping - Technique for creating OSM data according to what is shown on a picture