transitland_diff.md

January 6, 2026 ยท View on GitHub

transitland diff

Calculate difference between two feeds, writing output in a GTFS-like format

Synopsis

Calculate difference between two feeds, writing output in a GTFS-like format

This command is experimental; it may provide incorrect results or crash on large feeds.

Note: This command only processes CSV files; GeoJSON files (such as locations.geojson) are not included in the diff comparison.

transitland diff [flags] <feed1> <feed2> <output>

Options

      --added     Show entities added in second file
      --deleted   Show entities deleted from first file
      --diff      Show entities present in both files but different
  -h, --help      help for diff
      --raw       Diff based on raw CSV contents
      --same      Show entities present in both files and identical

SEE ALSO