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

Hello. Is it possible to add hyperlink to the building, monuments,...in OpenStreetMap? Thanks

asked 22 Mar '11, 11:46

sandrag's gravatar image

sandrag
31113
accept rate: 0%

edited 25 Mar '11, 11:48

TomH's gravatar image

TomH ♦♦
3.3k83943

1

Do you want to store a hyperlink about a building? Or do you want a hyperlink that shows you a map with the building marked with a marker?

(22 Mar '11, 12:23) EdLoach ♦

It is possible to store hyperlinks in the OSM database along with the object, and it is possible to write applications that then show a map where you can click on objects. However the map on www.openstreetmap.org does not do that, for a number of reasons, one of them being that we don't want to heighten the attractiveness of our map for spammers.

See OpenLinkMap for a map that does have clickable links, and for instructions on how to add the links to OSM to have them appear on OpenLinkMap.

permanent link

answered 22 Mar '11, 11:50

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

There are things like Key:url, but OpenStreetMap is basically just a database. Then it's up to the actual map implementation to use it for something useful.

permanent link

answered 22 Mar '11, 11:50

gnurk's gravatar image

gnurk
6.1k106096
accept rate: 15%

1

You're not supposed to use Key:url. Use e.g. Key:website or Key:wikipedia

(22 Mar '11, 20:33) JasonWoof

you can use key url as well, but for the "official" website of an object Key:website should be used. According to taginfo url is used more then 2 times as often as website.

(23 Mar '11, 19:01) dieterdreist

yeah, I know url is common, but the problem is that it is vague.

(24 Mar '11, 08:16) JasonWoof

You said "hyperlink to the building", which I interpret to mean you want link from a website to the OpenStreetMap website, so that the building is highlighted.

So the answer is "Yes"! Like this:

http://www.openstreetmap.org/browse/way/45994639

http://www.openstreetmap.org/?way=45994639

...I would give more details, but before I do that, could you edit your question to confirm that "link from a website to the OpenStreetMap website" is what you want?

permanent link

answered 23 Mar '11, 14:56

Harry%20Wood's gravatar image

Harry Wood
9.5k2588128
accept rate: 14%

edited 23 Mar '11, 14:56

If your question is which tags people are mostly using to add links to objects in OSM, then the answer is website for the official website and url for additional urls. To link to wikipedia articles there is a special tag: wikipedia=language-abbr.:article name

permanent link

answered 23 Mar '11, 18:53

dieterdreist's gravatar image

dieterdreist
3.7k113567
accept rate: 3%

Hi! Thanks for all your answers.

I would like to add a building on the OSM. This building has,for example, official website. Now I would like to add a hyperlink on the building in the OSM, so when i click on the link, it would open the building's/company's official website.

I hope you understand me better now :)

permanent link

answered 29 Mar '11, 10:41

sandrag's gravatar image

sandrag
31113
accept rate: 0%

Well. Not matter what you do, the website on openstreetmap.org will not show a clickable hyperlink for that building. Some sites do and I guess most react to both the "url" as well as the "website" tag.

(29 Mar '11, 11:02) petschge

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:

×5

question asked: 22 Mar '11, 11:46

question was seen: 8,434 times

last updated: 29 Mar '11, 11:02

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