---
name: "osmcoastline_ways"
section: "1"
platform: "linux"
package: "osmcoastline"
version: "2.4.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/osmcoastline_ways"
---

# osmcoastline\_ways(1)

extract coastline ways from OpenStreetMap data

## NAME

osmcoastline\_ways - extract coastline ways from OpenStreetMap data

## SYNOPSIS

**osmcoastline\_ways** *INPUT-FILE* \[*OUTPUT-DB*\]

## OPTIONS

- \-h, --help

  Display usage information.

- \-V, --version

  Display program version and license information.

## DESCRIPTION

**osmcoastline\_ways** extracts coastline ways from OSM data and writes them into a Spatialite database. The output data is meant for debugging and statistics. Use the **osmcoastline** program to assemble coastlines for “real” use.

You have to run **osmcoastline\_ways** on the output of the **osmcoastline\_filter** program, otherwise it will not work correctly!

The data is written to the Spatialite database *OUTPUT-DB*. If *OUTPUT-DB* is not set, the default “coastline-ways.db” is used. A single table “ways” is written. It contains the IDs of all ways, their geometries, and the contents of their “name” and “source” tags.

**osmcoastline\_ways** outputs the sum of all way lengths.

## SEE ALSO

- •

  [**osmcoastline**(1)](/osmcoastline/1.md), [**osmcoastline\_filter**(1)](/osmcoastline_filter/1.md)

- •

  Project page ⟨https://osmcode.org/osmcoastline/⟩\\c

- •

  OSMCoastline in OSM wiki ⟨https://wiki.openstreetmap.org/wiki/OSMCoastline⟩\\c

## COPYRIGHT

Copyright (C) 2012-2025 Jochen Topf \<jochen@topf.org\>. License GPLv3+: GNU GPL version 3 or later \<https://gnu.org/licenses/gpl.html\>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

## CONTACT

If you have any questions or want to report a bug, please go to https://osmcode.org/contact.html

## AUTHORS

Jochen Topf \<jochen@topf.org\>.
