Commit graph

199 commits

Author SHA1 Message Date
Alexey Zakharenkov
14e96bb806 While checking stops order on tracks, take into account repeated tracks/stations in a route like Line 5 of Oslo metro or spoon-shaped Line 7bis in Paris 2020-10-13 11:21:56 +03:00
Alexey Zakharenkov
6eb7ec8586 While checking stops order on tracks, take into account that more than one stop can reside on the same track segment 2020-10-13 11:21:56 +03:00
Alexey Zakharenkov
7e575b36cd Check stops order on tracks 2020-10-13 11:21:56 +03:00
Alexey Zakharenkov
75dd90e02e Disallow railway=station tag on relations other than multipolygons, in particular on stop_areas 2020-08-31 18:51:44 +03:00
Alexey Zakharenkov
53791838de [render] Syncronize URL hash with selected city 2020-08-24 22:41:53 +05:00
Alexey Zakharenkov
691b9cd60d Link to metro map beside each city name 2020-08-24 22:41:53 +05:00
Alexey Zakharenkov
1ec900e4fd Calculate all relation centers also for overpass-originated data 2020-08-21 19:02:48 +03:00
Alexey Zakharenkov
3a2d2d9d4d Take into account that two route itineraries may have the same stop sequence and differ only by interval 2020-08-21 19:02:48 +03:00
Alexey Zakharenkov
9b74358c1b Recursively calculate centers of all relations 2020-08-21 19:02:48 +03:00
Zakharenkov Alexey
1b0888c6f0 Avoid false 'Missing station=<mode>' error 2020-07-23 15:14:42 +03:00
Maksim Andrianov
48fe701c03
Merge pull request #94 from alexey-zakharenkov/check-stop_area_group-members
Check members of a stop_area_group
2020-07-16 17:43:15 +03:00
Alexey Zakharenkov
d812c11261 Discard all members of a stop_area_group that are not stop_areas 2020-07-15 15:36:55 +03:00
Sergey Yershov
1b0c563812
Merge pull request #90 from alexey-zakharenkov/check-actual-role-in-route
Check actual stop/platform elements role in routes
2020-07-08 22:25:59 +03:00
Alexey Zakharenkov
b90b03f6e9 Improve error message 2020-07-08 17:56:09 +03:00
Alexey Zakharenkov
16b62ca63c Make an error message more informative 2020-03-18 14:49:33 +03:00
Alexey Zakharenkov
aa94bf8b45 Skip route members in 'inactive' role 2020-02-20 18:10:58 +03:00
Alexey Zakharenkov
5c8bfb1667 Separate processing of 3 types of errors 2020-02-20 15:30:04 +03:00
Alexey Zakharenkov
d79efc3d26 Check actual stop/platform elements role in routes 2020-01-29 12:58:39 +03:00
Sergey Yershov
7010c83d01
Merge pull request #89 from alexey-zakharenkov/log-bad-cities
Add log message with the list of bad cities
2020-01-28 12:19:42 +03:00
Alexey Zakharenkov
f02d247620 Add log message with the list of bad cities 2020-01-27 11:44:18 +03:00
Sergey Yershov
e3c6e3924b
Merge pull request #87 from alexey-zakharenkov/improve-yaml-generation
Quote problematic strings during YAML generation
2020-01-15 17:16:41 +03:00
Alexey Zakharenkov
0c5bb9dff1 Quote problematic strings during YAML generation 2020-01-14 17:37:58 +03:00
Sergey Yershov
1329144651
Merge pull request #86 from alexey-zakharenkov/fix-hole-in-route-warning
Report more correct node as hole spot
2020-01-09 18:15:02 +03:00
Alexey Zakharenkov
27cb1dd04e Report more correct node as hole spot 2020-01-09 12:56:18 +03:00
alexey-zakharenkov
672cdcf9f4 Fix '<City>, <Country>' splitting (#84) 2019-11-21 18:21:51 +05:00
Sergey Yershov
6aec8df2a0
Merge pull request #81 from alexey-zakharenkov/improve-shell-script
Improve shell script
2019-08-13 14:40:05 +03:00
Alexey Zakharenkov
f78e68286e osmupdate tool returns 0 code on some kind of failures, so analyze its stderr to avoid proceeding with corrupted planet 2019-07-26 10:54:58 +03:00
Alexey Zakharenkov
566675d15b Rewrite command sequence 'command1 && command2' as 'command1; command2' for the command2 not to try to execute after command1 fail 2019-07-24 14:00:56 +03:00
Sergey Yershov
226ae68b09
Merge pull request #80 from alexey-zakharenkov/fix-platform-counting
Fix platform counting
2019-07-16 17:10:51 +03:00
Alexey Zakharenkov
4731c0a21c More correct quote placement 2019-07-09 00:38:51 +03:00
Alexey Zakharenkov
871e95dd4d '[ -n "" ] && command' chain returns non-zero code if -n test fails, and the whole script exits non-zero. This may confuse encompassing script 2019-07-05 18:05:53 +03:00
Alexey Zakharenkov
936c4f66d6 If an error occurs during osmupdate (may provide not complete *.new.o5m) then the script should stop otherwise we get unwanted behaviour 2019-07-05 17:57:10 +03:00
Alexey Zakharenkov
18ef5d5466 Fix a syntax bug 2019-07-05 16:37:09 +03:00
Alexey Zakharenkov
cc8339c545 Do not consider a duplication two platforms in a route: an exit-only one and an entry-only one 2019-07-05 16:35:22 +03:00
Sergey Yershov
57c459175a
Merge pull request #79 from alexey-zakharenkov/continue-on-bad-bbox
Recover after 'Item is not in dataset' exception to continue validating other cities
2019-07-05 13:24:27 +03:00
alexey-zakharenkov
0373b72901
Merge pull request #78 from DerDakon/entrance-list
list which subway entrances are not in stop areas
2019-07-04 11:55:10 +03:00
Alexey Zakharenkov
ccea2d6bf1 Refactor try-catch logic 2019-07-03 10:55:45 +03:00
Alexey Zakharenkov
a1ecc7429d City.errors array may be needed earlier than you thought 2019-07-02 18:18:23 +03:00
Alexey Zakharenkov
45a214892c No need to validate() a city after critical error 2019-07-02 16:33:35 +03:00
Alexey Zakharenkov
5e347b09a1 Recover after 'Item is not in dataset' exception to continue validating other cities 2019-07-02 11:46:27 +03:00
Rostislav
1975f10ee3
Merge pull request #77 from alexey-zakharenkov/render
Subway render
2019-06-24 18:38:38 +05:00
Rolf Eike Beer
9975ecfbad list which subway entrances are not in stop areas 2019-06-22 11:13:27 +02:00
Alexey Zakharenkov
c7442894fb Remove comment 2019-06-21 15:59:24 +03:00
Alexey Zakharenkov
455ea37ca9 Add removing hint marker when the user starts using city list 2019-06-21 15:55:45 +03:00
Alexey Zakharenkov
50e4e13d12 Improve render's code; remove 3d party library for ajax 2019-06-21 15:25:15 +03:00
Alexey Zakharenkov
9e23028638 Move javascript from html to js file 2019-06-19 12:00:56 +03:00
Alexey Zakharenkov
47f978cd42 Link to the render page from the validation summary page 2019-06-19 10:51:55 +03:00
Alexey Zakharenkov
3b3548d7d6 Use spaces in indentation instead of tabs 2019-06-19 10:29:35 +03:00
Alexey Zakharenkov
3b6655f259 Initial version of subway render with leaflet js library 2019-06-18 19:22:26 +03:00
Sergey Yershov
7f81628a9b
Merge pull request #71 from alexey-zakharenkov/fix-overpass-request
Fix overpass request
2019-06-13 14:53:47 +03:00