alexey-zakharenkov / subways

Subway Preprocessor and Validator
Apache License 2.0
12 stars 1 forks source link

Truncate leading and trailing rails #22

Closed alexey-zakharenkov closed 2 years ago

alexey-zakharenkov commented 2 years ago

Added a function to extend OSM rail lines to include all stations at route start/end, and a function to truncate protruding rails. Applied rail extending to GeoJSON output which is used in validator rendering page; applied both functions to GTFS generation. Added tests for these functions.

Zisam commented 2 years ago

В директорию tests добавить __init__.py, чтобы сделать модуль, и unittest мог подхватить тесты.