This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Coastline relations

0

Hello,

I hope you can help me. How do you differentiate between geographical borders and political boundaries?

For Example: Relation 3028095 is a political border. It's not a coastline. Relation 27335 is a geographical boundary. As you can see in osm, it is exactly the coastline.

But the tags which are used don't indicate it. So how do OSM know if it has to display the relation as landmass or not?

Thank you very much

asked 03 Aug '15, 12:00

Xiakitl's gravatar image

Xiakitl
11112
accept rate: 0%

edited 03 Aug '15, 12:04

escada's gravatar image

escada
19.0k16166302

as far as I can see both are administrative boundaries (type=boundary, boundary=administrative, admin_level = 4). Don't know why you think one of them is a coastline. See Coastline for more information about the coastline tagging

(03 Aug '15, 12:05) escada

2 Answers:

1

Not sure what your question has to do with the first relation, it doesn't match any coastline.

The second relation is just an administrative border. For the coastline there is another relation which you seem to have missed.

answered 03 Aug '15, 13:12

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

0

I'm not sure what you're asking. There isn't really any "coastline relations". For drawing the map, and showing land or water, a separate file is used that is updated almost daily. Read more here: Coastline.

Often coutries are drawn with their administrative borders including the surrounding waters. Some lower admin levels aren't, which explains how you see two relations one which has sea, and the other which doesn't.

answered 03 Aug '15, 12:52

rorym's gravatar image

rorym
5.4k1449100
accept rate: 11%

Source code available on GitHub .