iD icon indicating copy to clipboard operation
iD copied to clipboard

add wikimedia commons as an photo service

Open k-yle opened this issue 1 month ago • 0 comments

Closes #10640

images from Wikimedia Commons are now available alongside streetlevel imagery like Mapillary:

image

This uses Mediawiki's Geosearch+Imageinfo API (example), which was discussed in https://github.com/openstreetmap/iD/issues/10640#issuecomment-3137220974

The PR is a draft because it's blocked by several other PRs, and there are a lot of issues to consider:

  • [ ] the API only provides basic metadata and EXIF data, but not structured data.
    • [ ] therefore, the date is the uploaded date, not the capture date. which could be years apart.
    • [ ] therefore, the username is the uploader, not the author. which is often different (e.g. flickr2commons)
    • [ ] no support for heading/bearing yet, although this could be obtained from the EXIF (GPSImgDirection & co.) if we decide not to use structured data.
  • [ ] there's no filter to exclude incompatible licenses yet. I'm guessing CC-0 is the only compatible license?
    • [ ] The license information comes from LicenseShortName. There is a also a boolean called AttributionRequired, maybe we could filter based on AttributionRequired=false instead of hardcoding compatible license names ?

k-yle avatar Dec 12 '25 11:12 k-yle