Tag:natural=coastline

From OpenStreetMap Wiki
(Redirected from Proposed features/Coastline)
Jump to navigation Jump to search
Public-images-osm logo.svg natural = coastline
The Ravenscar coastline.jpg
Description
The line between sea and land indicating mean high water (springs): the water lies on the right side of the way. Show/edit corresponding data item.
Rendering in OSM Carto
Rendering-area-natural-coastline.png
Group: natural
Used on these elements
should not be used on nodesmay be used on waysshould not be used on areasshould not be used on relations (except multipolygon relations)
Status: de facto

The natural=coastline tag is used to mark the mean high-water springs line along the coastline at the edge of the sea.

It is not used for lakes and rivers.

See also: Coastline and much more detailed: DE:Coastline

Where is the coastline?

By common agreement the coastline is tagged at mean high-water springs line. Basically that is the highest line the water reaches in normal circumstances. (See the images to the right for some ideas how to decide where that line is.)

The border between wet and dry sand roughly marks the high water line
Flotsam roughly marks the high water line

Around Antarctica where there are ice shelves the coastline is mapped at the "calving line", that is the line where the open water meets the permanent ice shelves. See Antarctica/Tagging for details.

Mean low-water springs is the position of the lowest tide. There is currently no agreed way of tagging this line in OSM. The area between mean low water springs and OSM coastline may be tagged according the type of soil: for examples sand (see natural=sand or natural=shoal), rocks (see natural=bare_rock or natural=rock), muddy (see wetland=tidalflat or natural=mud).

How to enter the data

Tagging the coastline is a bit different than with all other features in OSM and you should be careful to get this right. Make sure you use natural=coastline on ways, not nodes or relations.

For smaller islands a single closed way can be drawn around the perimeter of an island, looping back on itself. For larger landmasses the coastline is defined as a series of linear ways connected end to end. These ways must create a continuous interlinked coastline, the end node of one way must be the start node of the next way. A break in the coastline or other error can cause serious difficulties when using this data. If you are not confident about editing, it is best to not make major changes beyond adjusting nodes to align better with aerial imagery.

The direction the ways are drawn is very important! They must be drawn so that the land is on the left side and water on the right side of the way (when viewing in the direction of the way arrows). If you regard this as tracing around an area of land, e.g., an island, then the coastline way should be running counterclockwise.

Do not tag nodes or relations with natural=coastline.

Small islands

Do not add other values of natural=* using semi-colon value separators, as it is not really needed. (it is also not recognized by most data consumers and renderers, but it is not sufficient reason to consider it as a bad idea by itself). An example would be natural=coastline;bare_rock for islets, which should be represented as natural=coastline as a member of a multipolygon relation tagged with natural=bare_rock.

Example

To be more exact tagging would be following

Validation

The validator in JOSM can check the coastline for validity. Use it if you are using JOSM. Otherwise use the OSM Inspector coastline view at [1] to check for errors.

Coastlines often coincide with other features, such as river mouths, landuse, and boundaries. You can split up the coastline in as many pieces as you need to, just make sure there is always a continuous line.

What about lakes?

This tag should not be used for freshwater lakes. Lakes are mapped as closed way or multipolygon relations with the tags natural=water & water=lake.

The only water body without level connection to the oceans that is using this tag is the Caspian Sea. You should not use this tag for any other inland water areas.

River mouths

River ways tagged as waterway=river or waterway=stream end at the coastline on a common node for the river way and the coastline way. Larger rivers tagged with natural=water + water=river have a way across their mouth that is tagged natural=coastline. In those cases the river line can also extend on the other side of the coastline, for example if there is a dug deep-water channel or a marked shipping lane.

There are discussions about where the transition between the sea to a wide river (water=river) should occur; there is a view that this should ideally be at the top of the tidal section on the river, but it is also accepted that the junction may be closer to the mouth of the river with the tidal section of the river tagged with tidal=yes. The important thing is to ensure that the coastline and riverbank share at least two adjacent nodes to create a seamless junction between the river and the sea. There is a proposal outlining upper and lower limits of the placement of this junction and there is another proposal describing tagging of tidal rivers.

Bays and other large tidal salt-water areas are part of the sea if they are connected to the sea and should always be tagged as such.

Data sources

The shoreline data for most parts of the world was originally generated from a low-resolution data using the Prototype Global Shoreline (PGS) import and other imports. Inaccurate shorelines can be seen mostly in a sawtooth shape, whereas in reality the coastlines are mostly gentle curves. In many parts of the world the coastline ways have subsequently been improved either with tracing from aerial imagery, or replaced by better vector data.

Be careful when tracing coastlines from aerial images. Those images are often not quite in the right position, so your coastline might look like it fits perfectly to the images, but in reality it is a few hundred meters off. Make sure that the data fits to GPS data.

(Possible) data sources:

Errors and consistency checking

It is very important that the coastline is formed and tagged correctly. A single error in the coastline somewhere in Africa might mean all of Asia-Africa-Europe landmass can't be drawn correctly! Always make sure the coastline has the right orientation (land to the left, water to the right). Do not cross a coastline over itself - this has no meaning and may cause renderers to behave badly. Don't use the same point twice (pinch point) other than the start/end point (if appropriate). If you want to make an island, start a new way.

Use the daily updated OSM Inspector coastline view to check for errors in the coastline.

Other coastal features

Along the coast it is often useful to add natural=beach, natural=bare_rock and natural=cliff for beaches, exposed bedrock and cliffs; also natural=wetland for various forms of wetland, including wetland=tidalflat, wetland=mangrove and wetland=saltmarsh. man_made=groyne can be used for sea defences.

For isolated areas of unconsolidated materials in the sea which are partially uncovered at low tide, see natural=shoal.

For areas between coastline and the low tide's line, see above Where is the coastline.

For areas always under water but close to the surface, see natural=reef.

For tagging islands, see place=island and place=islet.

For marking bays and capes, see natural=bay and natural=cape.

Using OSM coastline data

Please see Coastline for information how to use OSM coastline data in your own maps.

See also that page if coastline data is not updating in your area for a long time in a default map style.

Rendering in Standard tile layer on openstreetmap.org

See Coastline#Rendering in Standard tile layer on openstreetmap.org

See also