Is it allowed to add a link to a non-ODbL compliant picture to an OSM object?

I have a wilderness hut and I found a photo that is CC-BY-SA-2.0. This is not ODbL compliant. But can I link on it with image=?


I can’t raly anser your question but I am doing my best.

The answer is maybe.

The wiki page says this:

  • Images stored on well-known platforms (e.g. Wikimedia> Commons, Flickr) offer the benefit of machine-readable licenses – without this feature, only PD images could legally embedded into maps and applications. However, it is unclear whether this should be a requirement.
  • Images under a free license may be preferable over less generously licensed images. Again, there is not yet a consensus whether to make this a requirement.

So as of now there does not seem to be consensus on that. I would in any case prefer a photo with a free license where the license is mashine readable.

The website in question is quite well-known and other mappers use it. One example: Gleann Miabhaig © David Brown :: Geograph Britain and Ireland

An example for other use is Way: ‪Bendronaig Lodge Bothy‬ (‪291970969‬) | OpenStreetMap

I would think that’s fine, but there was a project to import Geograph images into Wikimedia Commons, so that’s arguably even better (but you can’t find every image there):

I would tag that

This is a question I have asked myself earlier. I talked to a person with some better background knowledge and was told that the difference in the licensing issue is the way you use the image.

If you want to download and copy an image into a website or web presentation of your own you must by all means follow the copyright stipulations by the owner of the pic.

If you want to put a link to the original website you are not copying the image and as such you will not violate any copyright conditions. Any visitor to your site clicking the link will end up on the original site with all copyright and usage informations which means a link should not create problems.

This makes sense to me and I would not hesitate to link an image from that site to OSM myself but it would be interisting to read a comment to this issue of one of the licensing experts among us .


there was a project to import Geograph images into Wikimedia Commons, so that’s arguably even better (but you can’t find every image there):

That’s amazing, thank you so much!

You’re welcome, happy mapping!

I’m not a lawyer, but I suspect that regardless of the licence there wouldn’t be a legal issue just linking to an image. See here and read down to the bit about linking.

However, anyone consuming image keys from OSM might then have the problem, so it does make sense to ask the question.

I thought that there had been specific discussions around Geograph in the past though - might be worth a search of the talk-gb mailing list.

I thought that there had been specific discussions around Geograph in the past though - might be worth a search of the talk-gb mailing list.

Is there a better way to search for it than just CTRL+F’ing the talk-gb archive?

This search gets a bunch of posts. I can’t guarantee you’ll find the answer to the question there, but it’s worth a look.

1 Like

The ODbL is a database license, not a content license, thus it is not meaningful to say it is or isn’t ODbL compliant. There are no legal reasons why you can’t put a URL which contains a restrictively licensed image into an image tag. Putting the image itself in would be an issue, but it would be very hard to put an image into OSM with the OSM data model.


Woudn’t any OSM-based app which makes use of the URL to show the image, be subject to the license requirements and restrictions? If so, wouldn’t that compromise the free and open use of OSM?
It would be different if the URL brings the user to a different website where the image can be found, subject to the license rules of the website.

1 Like

main question is answered in Is it allowed to add a link to a non-ODbL compliant picture to an OSM object? - #11 by pnorman

according to my knowledge, note that I am not a lawyer, yes

(that is why is superior, with image links you approximately cannot do this due to lack of machine-readable license data)

just linking is fine (some countries introduced laws that ban linking in some cases, though AFAIK even that would not apply here)


license of OSM database applies to OSM database, not to everything mapped or linked

1 Like

Manually, there are some ~2.6k
~37.7% of image= vals are related to wikimedia_commons= , mapillary= , flickr= , kartaview= (including =*openstreetview* ) , bubbleid= , or panoramax= . They can be ignored.

note that it is tiny compared to image use in general and work of a single mapper (and having this images on Wikimedia Commons would be in general much better idea…)

No. For example, you can see the images by clicking on a link on If embedded directly there are more issues, and if the use is one that requires permission from the copyright holder, that would be an issue.

Presenting images from random third-party sources is a terrible idea anyways, as you’ve now opened the attack surface of your program up enormously.

If you embed a website from a website tag in your app there are similar issues. Being told where to find external content does not change the license OSM is under. If it did, it would be an issue for all the Wikipedia links.

I would not recommend using an image tag in any case, as it’s poorly designed. If the goal is to provide source information other mappers can look at, it should go on the changeset tags like source does. If designed to be data about the object, it is useless. Two mappers might see the object and decide on different images.

Mapping always involves judgement, but this is hopelessly vague. Do we put multiple useful images in the tag separated by ;? How do we judge what a useful image is? If there’s more than a few, the URLs combined will be too long for a tag.

Something like wikidata is usable because most of the time there’s one or zero correct values, and only some cases is there more than one wikidata ID for a single OSM object. Two mappers will generally arrive at compatible results.


Some general remarks about Geograph (the subject of the OP):

  • There is a small page on the OSM Wiki with specific tagging recommendations.
  • @Richard wrote a diary post about how such photos CAN be used in OSM (but see my caveat below re co-ordinates) .
  • The project to upload Geograph photos to wikimedia has died and the software has not worked for quite a few years.
  • Geograph photos not on Wikimedia can be added with correct licence information if you have an account as follows: 1. Download the largest size image; 2. Upload to wikimedia with minimal text & licence; 3. Copy the boilerplate wikimedia licence text from the Geograph page; 4. Quickly edit the wikimedia page and entirely replace with the standard Geograph boilerplate.
  • DO NOT USE the location co-ordinates provided by Geograph for locating a feature. The co-ordinates may have been created from an Ordnance Survey map (unfortunately there is no way of knowing if they were captured in the field). Instead use features in the photo to locate it in relation to either existing OSM features, features visible in aerial imagery or from clues in the textual description.
  • Many photos are inaccurately located, particularly ones taken prior to about 2010, so another reason not to rely on the location information provided.
  • Information in the descriptions can be extremely useful.
  • Contributing photos may help other OSMers in the UK, Ireland and Germany.

This is generally a good practice. If you have a photo of an object the coordinates of the photo may be of where the camera was, or where the object was. If it’s the camera, it’s difficult to work out the coordinates of a point in the image without referring to imagery.


I agree with you technical criticism but think that it should be reworked instead of never used.

Here I disagree. The reason why I was asking this question is so that I can add images to remote location on/near hiking (long distance) paths like the West Highland Way or the Cape Wrath Trail. The images can (and will!) help a hiker especially during the route planning phase to spot good places to set up camp or whether a hut is a viable sleeping possibility (not all are on the MBA website), etc.

The specific problems with the image tag (or wikimedia_commons, etc.) do not really arise here, as there is (most of the time) just nature and one POI and a single photo of it.

Should we expand it with links to the relevant discussions on here? Maybe a short (neutral) summary:

  • It should be ok for the database to do so
  • Link to geographer Wikimedia Commons site
  • Best to add Wikidata which is linked to a wikimedia commons category.
  • Better to add Wikimedia links (so the licence is machine-readable)
  • Describe workflow to convert images to Wikimedia
  • Check coordinates yourself
  • Read descriptions!
  • …

Damn, that’s cool, didn’t know Germany has this as well.