osmcoastline_segments(1)

osmcoastline_segments1

Analyze openstreetmap coastline changes from segment files

Usage

osmcoastline_segments [OPTIONS] SEGMENT-FILE1 SEGMENT-FILE2

Overview

The osmcoastline program can write out all segments of the coastline into a file (when started with the -S, --write-segments=FILE option). This program can be used to compare two of those segment files in various ways to detect coastline changes between different runs of the osmcoastline program.

Options

-h, --help

Display usage information.

-d, --dump

Dump segment list to stdout in plain text format.

-g, --geom=FILENAME

Write segments to geometry file or database using OGR.

-f, --format=FORMAT

OGR format for writing out geometries.

-V, --version

Display program version and license information.

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.

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

Contact

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

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

--dump since Debian 12 (Bookworm); --format since Debian 12 (Bookworm); --geom since Debian 12 (Bookworm); --help since Debian 12 (Bookworm); --version since Debian 12 (Bookworm); -V since Debian 12 (Bookworm); -d since Debian 12 (Bookworm); -f since Debian 12 (Bookworm); -g since Debian 12 (Bookworm); -h since Debian 12 (Bookworm).

Authors

Jochen Topf <[email protected]>.

From osmcoastline 2.4.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.