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

Would be nice to have a place to share the most important relations in the world...

asked 25 Sep '10, 21:59

Kozuch's gravatar image

Kozuch
1.7k587285
accept rate: 8%


It might be important to note that "category" relations are discouraged in osm - if something can be derived from the data itself, it is usually suggested not to create a relation of it (like "all rivers in a country" or "top 10 longest rivers"), so either this data would be retrieved from osm api (once implemented), or kept separately. As noted, separate lists have the problem of reference ID becoming stale over time.

permanent link

answered 27 Sep '10, 12:19

Richlv's gravatar image

Richlv
1.7k153142
accept rate: 22%

Okay, that makes sence. However, I was replied with "API" several times already, but I can not really handle those andwers. I need a simple service that plots the tag searches right into the map.

(27 Sep '10, 14:08) Kozuch
2

Then you don't have a question but a request for a service.

(28 Sep '10, 13:35) Pieren

People do keep such lists of relations on the Wiki sometimes, but this is difficult since there is no guarantee whatsoever that relation IDs are constant. Thus, you cannot really link to them by ID - someone might at any time delete and re-create the relation, or split it in half, or do something else with it.

permanent link

answered 25 Sep '10, 23:07

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

edited 26 Sep '10, 07:46

Jochen%20Topf's gravatar image

Jochen Topf
5.2k55074

Why should the IDs change?

(27 Sep '10, 10:29) Kozuch
2

Because any OSM element can be deleted and recreated with a new ID at any time.

(28 Sep '10, 13:35) Pieren
2

Additionally, a node or way could be moved elsewhere and have all its tags changed while keeping the same ID.

(28 Sep '10, 13:40) Richlv

There is a list of osm relations. It is includet in the planet.osm file. All you need to do is extract the relations from the XML and sort them by your personal importance order.

permanent link

answered 07 Jan '11, 15:36

Kartograefin's gravatar image

Kartograefin
592178
accept rate: 0%

Your answer
toggle preview

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:

×236
×15

question asked: 25 Sep '10, 21:59

question was seen: 7,505 times

last updated: 07 Jan '11, 15:36

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