OSMCOASTLINE_SEGMENTS(1)
π OSMCOASTLINE_SEGMENTS π
okay bestie, sit down, we're doing osmcoastline_segments(1) today and honestly? it's giving detective energy. she analyzes OpenStreetMap coastline changes from segment files. slay.
β¨ NAME β¨
osmcoastline_segments β analyze OpenStreetMap coastline changes from segment files π¦
πΈ SYNOPSIS πΈ
osmcoastline_segments [OPTIONS] SEGMENT-FILE1 SEGMENT-FILE2
π DESCRIPTION π
so here's the lore: the osmcoastline program can write out all the segments of the coastline into a file (specifically when you start it with the -S, --write-segments=FILE option, iykyk).
this program right here is the girl who takes two of those segment files and compares them in various ways, so you can detect coastline changes between different runs of the osmcoastline program. that's it. that's the whole vibe check. πβ¨
π OPTIONS π
-h,--helpβ display usage information. the "help me bestie" button π«Ά-d,--dumpβ dump segment list to stdout in plain text format. just. spill it. all of it. π-g,--geom=FILENAMEβ write segments to a geometry file or a database using OGR.-f,--format=FORMATβ the OGR format for writing out geometries.-V,--versionβ display program version and license information. the "who even am I" option π
π¨ DIAGNOSTICS π¨
osmcoastline_segments exits with exit code:
0β if the segment files are the same π1β if the segment files are different π3β if there was a fatal error when running the program π4β if there was a problem with the command line arguments. (the audacity.) π
π EXAMPLES π
just return 0 or 1 depending on whether the segments are the same in both files:
osmcoastline_segments old.segments new.segments
dump the list of removed and added segments to stdout:
osmcoastline_segments --dump old.segments new.segments
create a shapefile with the differences:
osmcoastline_segments --geom=diff.shp old.segments new.segments
π SEE ALSO π
README.mdosmcoastline(1)- Project page
- OSMCoastline in OSM wiki
π COPYRIGHT π
Copyright (C) 2012-2026 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. (no cap, no warranty, periodt.)
π 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>.
literally that's the whole page bestie, go compare some coastlines π¦
mwah π version 2.5.0, OSMCOASTLINE_SEGMENTS(1), stay iconic β¨
π¦ where this page comes from
- ubuntu stonking: osmcoastline 2.5.0-1build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms