Commit graph

  • 2329b6aa8b Merge remote-tracking branch 'zverik/master' master Roman Tsisyk 2025-01-07 09:13:17 +00:00
  • fce16592cf FMK Ilya Zverev 2024-12-09 17:45:39 +02:00
  • 6b54654a50 Switch osmctools to osmium Ilya Zverev 2024-12-09 17:43:39 +02:00
  • 4eb01e3e4f
    Merge 524be2a088 into fd533c449d Alexander Borsuk 2024-09-05 11:22:18 +02:00
  • 524be2a088
    Merge branch 'master' into upstream upstream Alexander Borsuk 2024-09-05 11:22:15 +02:00
  • a0a6fb043f Upgrade shapely to 2.0.4 and fixate indirect requirements Alexey Zakharenkov 2024-06-21 13:29:51 +03:00
  • aff6a9f129 Process route duration (average vehicle speed) Alexey Zakharenkov 2024-04-04 12:48:29 +03:00
  • 6a4c2a255f Remove obsolete scripts Alexey Zakharenkov 2024-03-21 13:12:05 +03:00
  • 179dcb6a6f Use virtual environments Alexey Zakharenkov 2024-03-20 20:24:19 +03:00
  • 60821b60d6 Refactor project structure Alexey Zakharenkov 2024-03-05 16:43:20 +03:00
  • c2f2956da1 Add type aliases, declarations and annotations Alexey Zakharenkov 2024-02-27 14:59:51 +03:00
  • 28f4c0d139 Special searching for backward counterparts for circular routes Alexey Zakharenkov 2024-02-21 23:33:07 +03:00
  • f7087a0c25 Use stoparea ids instead of instances in transfers; save transfers only for good cities Alexey Zakharenkov 2024-02-02 10:14:47 +03:00
  • e449c98a7f Mixin for comparison of json-like python structures Alexey Zakharenkov 2023-12-26 12:18:52 +03:00
  • 1e4e434d49 Add --dump-city-list option to untie cities.txt formation from mapsme.json Alexey Zakharenkov 2023-12-19 13:44:04 +03:00
  • 970b4a51ee process train_station_entrance similar to subway_entrance Alexey Zakharenkov 2023-11-29 12:35:37 +03:00
  • 6c796ac8c1 Check if stations are missing/differ in backward direction of some route Alexey Zakharenkov 2023-11-23 10:07:54 +03:00
  • ed95c94aac Unify tests Alexey Zakharenkov 2023-06-02 14:26:57 +03:00
  • fd533c449d
    Merge pull request #6 from organicmaps/upstream Alexander Borsuk 2023-05-30 12:28:57 +02:00
  • 97dc8901b4 Upgrade shapely dependency to 2.0 Alexey Zakharenkov 2023-05-29 11:59:10 +03:00
  • 0df4213267 Defer stop distances calculation until city is validated Alexey Zakharenkov 2023-05-27 21:08:16 +03:00
  • cf8f3cdf91
    Merge pull request #5 from organicmaps/upstream Alexander Borsuk 2023-05-27 15:39:16 +02:00
  • a08947bc4d Add tests for validation messages on wrong stops order Alexey Zakharenkov 2023-04-04 16:58:04 +03:00
  • c19bd6dd2f Fix validation message: show human readable text instead of python object representation Alexey Zakharenkov 2023-04-04 12:46:27 +03:00
  • 483429129c Check CSV numeric values on reading network information Alexey Zakharenkov 2023-03-27 11:32:19 +03:00
  • 538dbf2734
    Merge pull request #4 from organicmaps/upstream Alexander Borsuk 2023-03-14 22:31:33 +01:00
  • fa5e036053 Clean requirements fixes-from-alexey2 Alexey Zakharenkov 2023-02-16 17:44:58 +03:00
  • ae0c568afe Different improvements to validation_to_html.py Alexey Zakharenkov 2023-01-12 14:09:42 +03:00
  • fc60bf56fa Add --cities-info-url CLI parameter to the main script and utilities Alexey Zakharenkov 2023-01-11 16:13:29 +03:00
  • 8f9265a18d Remove unreachable code Alexey Zakharenkov 2023-01-11 15:45:44 +03:00
  • 25cf8d9ec9 Create directories for validator output if not exist Alexey Zakharenkov 2023-01-11 15:42:01 +03:00
  • ec2f57b266 Improve relation center calculation Alexey Zakharenkov 2022-12-28 14:47:29 +03:00
  • d5f2026301 Run the code through flake8 and black Alexey Zakharenkov 2022-12-17 23:39:48 +03:00
  • 037d299943 Create universal serializable transit data format, use it in GTFS processor Alexey Zakharenkov 2022-12-15 15:17:15 +03:00
  • a7f135f1b0 Factory pattern for route instantiation in City class Alexey Zakharenkov 2022-12-01 10:27:06 +03:00
  • 2c71990f0e Fix calculating stop positions for route with rails reversed relative to stops order Alexey Zakharenkov 2022-11-04 22:11:57 +03:00
  • 36d947047e Defer CSV-complying data transformation to write-to-CSV phase Alexey Zakharenkov 2022-10-18 17:42:12 +03:00
  • e27fdd8c2d Add to GTFS only transfers in which both stops are part of routes Alexey Zakharenkov 2022-10-18 17:39:42 +03:00
  • 909c7b3c70 Refactoring: make main() function and two more functions Alexey Zakharenkov 2022-10-14 10:36:32 +03:00
  • a6adb9f0b5 More accurate OSM element centers calculation Alexey Zakharenkov 2022-10-14 10:17:28 +03:00
  • 9f2b141277 Remove duplicate variable assignment Alexey Zakharenkov 2022-10-14 09:59:22 +03:00
  • 4bb99a37ea Refactoring: move a nested function to the module level; add tests for it Alexey Zakharenkov 2022-10-13 13:28:49 +03:00
  • cf0ce1c55e Add two new checks Alexey Zakharenkov 2022-10-13 13:26:08 +03:00
  • 45f247d793 Create method to allow overriding Alexey Zakharenkov 2022-10-02 21:57:30 +03:00
  • 89e4d5c261 Take into account that City.validate() method may never be called for a city - in case a CriticalValidationError occured Alexey Zakharenkov 2022-09-29 20:24:03 +03:00
  • aab668f550 Validation error 'Stop ... is nowhere near the tracks' was mistakenly supressed and now returned Alexey Zakharenkov 2022-09-29 20:18:05 +03:00
  • 0478791cf2 Fix attribute assignment Alexey Zakharenkov 2022-09-29 20:16:46 +03:00
  • ee913b6d2d Fixes to GTFS generation Alexey Zakharenkov 2022-08-17 13:16:06 +03:00
  • 82707f8528 Make City.is_good a property Alexey Zakharenkov 2022-07-07 17:19:27 +03:00
  • d88755de99 Use csv.DictReader instead of csv.reader to load city data Alexey Zakharenkov 2022-07-07 16:50:00 +03:00
  • 123d0f96d3 Add tests on adjusting rails geometry; configure GitHub Actions for the tests Alexey Zakharenkov 2022-07-06 10:15:10 +03:00
  • 28c455d368 Methods to adjust rails at route start/end Alexey Zakharenkov 2022-07-06 10:04:56 +03:00
  • 78304da88f Refactor Route.__init_() to separate stops processing from rails processing Alexey Zakharenkov 2022-06-24 15:01:12 +03:00
  • 2224b9f318 GTFS output Alexey Zakharenkov 2022-06-21 16:42:57 +03:00
  • fd27851c0b Revert PR #18 as incorrect: there may be lines with the same ref in a network Alexey Zakharenkov 2022-05-27 15:00:39 +03:00
  • 7072494bbd Suggest the parent route of platform with invalid role Jiaxun Yang 2022-05-03 23:15:55 +01:00
  • c7ae6ece61 Clean requirements Alexey Zakharenkov 2023-02-16 17:44:58 +03:00
  • 86b7e048e2 Different improvements to validation_to_html.py Alexey Zakharenkov 2023-01-12 14:09:42 +03:00
  • 52599fe566 Add --cities-info-url CLI parameter to the main script and utilities Alexey Zakharenkov 2023-01-11 16:13:29 +03:00
  • 92563e6d80 Remove unreachable code Alexey Zakharenkov 2023-01-11 15:45:44 +03:00
  • 6706137670 Create directories for validator output if not exist Alexey Zakharenkov 2023-01-11 15:42:01 +03:00
  • 01eb589d13 Improve relation center calculation Alexey Zakharenkov 2022-12-28 14:47:29 +03:00
  • 95d0d0d0fd Run the code through flake8 and black Alexey Zakharenkov 2022-12-17 23:39:48 +03:00
  • 86e65d2115 Create universal serializable transit data format, use it in GTFS processor Alexey Zakharenkov 2022-12-15 15:17:15 +03:00
  • 9271a0f508 Factory pattern for route instantiation in City class Alexey Zakharenkov 2022-12-01 10:27:06 +03:00
  • 921ca513cf Fix calculating stop positions for route with rails reversed relative to stops order Alexey Zakharenkov 2022-11-04 22:11:57 +03:00
  • a6b76068f8 Defer CSV-complying data transformation to write-to-CSV phase Alexey Zakharenkov 2022-10-18 17:42:12 +03:00
  • 314941ea28 Add to GTFS only transfers in which both stops are part of routes Alexey Zakharenkov 2022-10-18 17:39:42 +03:00
  • 84253f9982 Refactoring: make main() function and two more functions Alexey Zakharenkov 2022-10-14 10:36:32 +03:00
  • 637c1b303b More accurate OSM element centers calculation Alexey Zakharenkov 2022-10-14 10:17:28 +03:00
  • 8abc48eb86 Remove duplicate variable assignment Alexey Zakharenkov 2022-10-14 09:59:22 +03:00
  • e53683655d Refactoring: move a nested function to the module level; add tests for it Alexey Zakharenkov 2022-10-13 13:28:49 +03:00
  • a9c32e3c12 Add two new checks Alexey Zakharenkov 2022-10-13 13:26:08 +03:00
  • f43e7e7b39 Create method to allow overriding Alexey Zakharenkov 2022-10-02 21:57:30 +03:00
  • 06fc8bc13c Force IPv4 usage fixes Alexander Borsuk 2022-10-07 23:21:08 +02:00
  • 15d3fcc149 Alexey's hotfix for validator Alexander Borsuk 2022-10-07 23:20:44 +02:00
  • 0e60535121 Take into account that City.validate() method may never be called for a city - in case a CriticalValidationError occured Alexey Zakharenkov 2022-09-29 20:24:03 +03:00
  • 58f59a8478 Validation error 'Stop ... is nowhere near the tracks' was mistakenly supressed and now returned Alexey Zakharenkov 2022-09-29 20:18:05 +03:00
  • 00e5130836 Fix attribute assignment Alexey Zakharenkov 2022-09-29 20:16:46 +03:00
  • 05b9478dec Fixes to GTFS generation Alexey Zakharenkov 2022-08-17 13:16:06 +03:00
  • 133f5608d4 Make City.is_good a property Alexey Zakharenkov 2022-07-07 17:19:27 +03:00
  • 0c8821b850 Use csv.DictReader instead of csv.reader to load city data Alexey Zakharenkov 2022-07-07 16:50:00 +03:00
  • a684370eb6 Add tests on adjusting rails geometry; configure GitHub Actions for the tests Alexey Zakharenkov 2022-07-06 10:15:10 +03:00
  • 0a304a96c3 Methods to adjust rails at route start/end Alexey Zakharenkov 2022-07-06 10:04:56 +03:00
  • c5f9161321 Refactor Route.__init_() to separate stops processing from rails processing Alexey Zakharenkov 2022-06-24 15:01:12 +03:00
  • 277f5b0e91 GTFS output Alexey Zakharenkov 2022-06-21 16:42:57 +03:00
  • a035e8f40d Revert PR #18 as incorrect: there may be lines with the same ref in a network Alexey Zakharenkov 2022-05-27 15:00:39 +03:00
  • a676caf985 Suggest the parent route of platform with invalid role Jiaxun Yang 2022-05-03 23:15:55 +01:00
  • 738e13d73a Create directories if necessary Alexander Borsuk 2022-04-23 00:32:38 +02:00
  • 263329e06d Updated README Alexander Borsuk 2022-04-23 00:28:48 +02:00
  • 7537e2aace
    Merge pull request #3 from organicmaps/upstream Alexander Borsuk 2022-04-23 00:26:36 +02:00
  • 7df15a390d Check route ref uniqueness within a city Alexey Zakharenkov 2022-04-21 19:17:01 +03:00
  • d28b2f1503 Make "Route has no stops" a warning, not an error Alexey Zakharenkov 2022-02-10 17:59:26 +03:00
  • bf27197b12 Correct links to the repository and active validator instance Alexey Zakharenkov 2021-11-09 20:54:49 +03:00
  • 9246f72998 Correct links to the repository and active validator instance Alexey Zakharenkov 2021-11-09 20:54:49 +03:00
  • 92430e27fc
    Merge pull request #1 from alexey-zakharenkov/master Alexander Borsuk 2021-11-12 21:36:31 +01:00
  • de63a46e5c
    Merge pull request #14 from alexey-zakharenkov/add-error-severity-level Alexey Zakharenkov 2021-11-09 18:35:55 +03:00
  • ef5bbab672 Return "error_if"-logic for tram lines count Alexey Zakharenkov 2021-11-08 12:22:57 +03:00
  • 76d9d0bbb9 Fix html layout so that tooltips stay inside window viewport Alexey Zakharenkov 2021-11-03 23:30:32 +03:00
  • 9d4d6c6583 Merge branch 'master' into add-error-severity-level Alexey Zakharenkov 2021-11-03 13:51:18 +03:00