NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

In an OSM XML file, is there any way to add a picture URL to a POI?

For instance, for a hotel I would add a picture of the hotel facade.

This would be useful to show thumbnails on maps, like Wikivoyage can do.

If hosting is a problem, we could do like Wikivoyage and require that all URLs point to Wikimedia Commons.
Example: https://commons.wikimedia.org/wiki/File:Mori_tower.jpg

asked 10 Dec '13, 08:59

Nicolas%20Raoul's gravatar image

Nicolas Raoul
645172533
accept rate: 20%

closed 10 Dec '13, 09:26

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

1

This seems to be the same as attaching-photos-to-nodes. Please see there. Or is there anything special with XML here? But you mean the ordinary OSM database, right?

(10 Dec '13, 09:25) aseerel4c26 ♦
3

No, it is not about the OSM database. This OSM XML file will be used by apps like OsmAnd. Your answer answers my question, thank you! I will add image keys that contain URLs to Wikimedia Commons images.

(10 Dec '13, 09:39) Nicolas Raoul

Okay, thank you for the feedback. So in essence it is the same as if these tags would be added to the OSM database (although I am a bit confused about your usecase, I thought OsmAnd is fed by extracts from our database).

(10 Dec '13, 11:49) aseerel4c26 ♦
2

You can add custom data layers to OsmAnd :-)

(10 Dec '13, 11:59) Nicolas Raoul

The question has been closed for the following reason "Duplicate Question" by aseerel4c26 10 Dec '13, 09:26

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×181
×84
×60

question asked: 10 Dec '13, 08:59

question was seen: 2,669 times

last updated: 10 Dec '13, 11:59

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum