macOS
brew install osmcoastlinelocal Homebrew formula metadata
brew
Extracts coastline data from OpenStreetMap planet file. Version 2.5.0 via Homebrew; verified 2026-06-25.
install
brew install osmcoastlinelocal Homebrew formula metadata
sudo apt install osmcoastlineDebian stable package indexes · osmcoastline · source: deb.debian.org
overview
Extracts coastline data from OpenStreetMap planet file
history
osmcoastline extracts OpenStreetMap coastline ways from planet-scale input and assembles them into land and water polygons for renderers and data users. It handles one of OSM's oddest global data problems: editable coastline segments must become valid, usable polygons.
Jochen Topf announced the work on March 7, 2012, while explaining the long-standing problem of turning `natural=coastline` ways into proper polygons. The same day, the osmcode/osmcoastline GitHub repository was created.
The blog post frames osmcoastline as a rewrite of an older coastcheck-based workflow that had become slow and difficult to maintain. The new implementation used Osmium to scan OSM files, assemble coastline rings, produce error information, and leave room for output options such as land polygons, water polygons, clipping, and splitting.
OpenStreetMapData's coastline-processing page says OSMCoastline was developed specifically to assemble coastline data, apply fixes where needed, and create the published coastline datasets on that site. It also feeds detected coastline errors onward to Geofabrik's OSM Inspector so mappers can correct source data.
The man page describes `osmcoastline` as reading an input file, usually a planet file or filtered output, and writing coastline polygons to a Spatialite database. Options control overlap, gap-closing distance, warning behavior, output formats, and projection-specific details.
The repository also ships helper commands such as `osmcoastline_filter`; the README says the filter can reduce a planet file to the nodes and ways needed for coastline assembly, producing a file less than one percent of the original planet size.
osmcoastline is a compact example of domain-specific packaging: it depends on OSM parsing, geometry libraries, Spatialite, GDAL, GEOS, zlib, and optional PBF compression details, but exposes a focused CLI for one global map-production job.
security posture
No matching local secret-handling manifest was found for osmcoastline. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
osmcoastline | cli | global executable | |
osmcoastline_filter | cli | global executable | |
osmcoastline_readmeta | cli | global executable | |
osmcoastline_segments | cli | global executable | |
osmcoastline_ways | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/osmcode/osmcoastline
install metadata
| Package key | brew:osmcoastline |
|---|---|
| Version | 2.5.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/osmcoastline |
| Homepage | https://osmcode.org/osmcoastline/ |
| Repository | https://github.com/osmcode/osmcoastline |
| Upstream docs | https://docs.osmcode.org/osmcoastline/latest/osmcoastline.html |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/osmcode/osmcoastline/archive/refs/tags/v2.5.0.tar.gz |
| Last updated | 2026-06-25T13:38:00+02:00 |
| Pulse | updated |
| Dependencies | gdal, geos, libspatialite, lz4 |
| Build dependencies | cmake, libosmium, protozero |
| Uses from macOS | bzip2, expat, sqlite |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | osmcoastline |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
osmcoastline 2.4.1-1
Extract coastline data from OpenStreetMap planet file
https://osmcode.org/osmcoastline/
sudo apt install osmcoastlineosmcoastline 2.4.0-2build4
Extract coastline data from OpenStreetMap planet file
https://osmcode.org/osmcoastline/
sudo apt install osmcoastlinesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.