Commit graph

280 commits

Author SHA1 Message Date
Alexey Zakharenkov
39930ee3ef Update README file 2019-04-23 14:46:01 +03:00
Alexey Zakharenkov
0f83a69f8e Introduce recovery data file; recover 'unsorted stops in route' error 2019-04-23 13:52:35 +03:00
Victor Popov
40a23d4e65
Merge pull request #65 from alexey-zakharenkov/good-cities-cache
Cache of good cities
2019-03-22 18:28:12 +03:00
Alexey Zakharenkov
7e9b6fcbc9 Decorator renamed; small fixes 2019-03-22 15:55:46 +03:00
Alexey Zakharenkov
fc1ed869a9 Make in-class decorator autonomous function 2019-03-22 13:28:27 +03:00
Alexey Zakharenkov
02fe92a764 Magic numbers convered to constants; clarifying coordinate comparison 2019-03-21 15:33:16 +03:00
Alexey Zakharenkov
1c8a80a252 Make decorator for conditionally skipped methods; bug fixes 2019-03-18 13:46:10 +03:00
Alexey Zakharenkov
21d0362290 Moved all actions with city cache into a class. This class not only encapsulates the cache logic but also skips cache maintaining in case when --cache command line option is omitted. 2019-03-14 15:27:37 +03:00
Alexey Zakharenkov
20baec0483 Extract common parts of two checkers into a separate file; use logging instead print() in functions 2019-03-12 12:20:28 +03:00
Alexey Zakharenkov
284b429ef0 Compact city cach json 2019-02-12 15:32:53 +03:00
Alexey Zakharenkov
77d3bcbb23 Fix: try take from cache only bad cities from current city subset 2019-02-12 15:28:09 +03:00
Alexey Zakharenkov
5ee07c9b81 Caching transfers in good cities 2019-02-12 13:05:04 +03:00
Alexey Zakharenkov
c168529300 Start working on good cities cache 2019-02-08 01:12:44 +03:00
Ilya Zverev
5a996fb1b7
Merge pull request #62 from alexey-zakharenkov/fix-stations-comparison
Fix Station and StopArea classes hashing and comparison
2019-02-07 17:41:07 +03:00
Alexey Zakharenkov
beef37cc7a Checker added to compare json outputs 2019-02-05 16:40:54 +03:00
Alexey Zakharenkov
b139b1091b Simplify StopArea unique identification 2019-02-01 18:00:05 +03:00
Alexey Zakharenkov
9a94b22145 Remove overriden __hash__ and __eq__ methods for Station and StopArea classes 2019-02-01 01:01:28 +03:00
Ilya Zverev
dc050ac611
Merge pull request #59 from alexey-zakharenkov/fix/zero-track-segment
Catch ZeroDivisionError when there are coinciding nodes on tracks
2019-01-15 11:28:57 +03:00
Alexey Zakharenkov
1d84d6cb38 Replace checking for ZeroDivisionError with checking for minimal distance 2019-01-15 11:14:05 +03:00
Alexey Zakharenkov
814c2accc0 fix the case when two consective points of a way coincide resulting in zero-length track segment and failure of getting projection of a point onto it 2019-01-14 17:49:23 +03:00
Ilya Zverev
06602af71c Reduce entrance errors to warnings 2018-08-02 18:42:46 +03:00
Ilya Zverev
b6b98f9c10 Fix a small error in make_tram_areas 2018-08-01 21:47:51 +03:00
Ilya Zverev
86a95759bc Do not tolerate 0 tram lines 2018-07-25 18:21:39 +03:00
Ilya Zverev
91f35fac80 Scripts for building trams 2018-07-20 19:40:30 +03:00
Ilya Zverev
a39cf3232d Support for trams 2018-07-20 19:40:08 +03:00
Ilya Zverev
ca277901ad Try again 2018-06-28 16:53:22 +03:00
Ilya Zverev
99caadd382 Fix error in processing 2018-06-28 12:39:16 +03:00
Ilya Zverev
888bf51f09 Revert entrances warning 2018-04-16 20:15:10 +03:00
Ilya Zverev
599a872c4f Make entrances error a warning 2018-04-15 09:49:24 +03:00
Ilya Zverev
ae6e29fbff Support platform_edge 2018-04-07 14:57:49 +03:00
Ilya Zverev
a3576ec54c Fixed a typo 2018-03-28 14:45:58 +03:00
Ilya Zverev
f022ada2c3 Fix build_city for cities with spaces, and yaml dump stations 2018-03-16 23:00:50 +03:00
Ilya Zverev
7a05743a4d Use stations for each lines for validation, fixes #41 2018-03-16 17:29:29 +03:00
Ilya Zverev
6545e2ea33 Add build_city.sh script 2018-01-29 13:56:32 +03:00
Ilya Zverev
8ea7791a4c Fix route 2 in Brussels case 2018-01-26 19:52:10 +03:00
Ilya Zverev
77951d27b4 Speed up entrance to station 2018-01-18 11:41:55 +03:00
Ilya Zverev
3d75e5e881 Refactor to split processor/validator and mapsme output 2017-12-06 22:28:38 +03:00
Ilya Zverev
0197fb6ac0 Use stations for exits, not stop_areas 2017-12-05 20:25:38 +03:00
Ilya Zverev
912305e80a Warning fixes 2017-12-01 20:07:24 +03:00
Ilya Zverev
dd600b965b More complex algoritm for platform exits 2017-11-30 20:09:53 +03:00
Ilya Zverev
99a5c4f46f Use platforms or stations as entrances 2017-11-29 20:49:53 +03:00
Ilya Zverev
d8caf28ac6 Hash, repr and eq functions for most classes, also skip routes with access=no 2017-11-27 19:02:51 +03:00
Ilya Zverev
c55ae5e277 Do not consider public_transport=station tags, they are a mess 2017-11-15 18:53:25 +03:00
Ilya Zverev
1c7afb8863 Make multiple interchanges for a stop_area an error 2017-11-15 11:15:45 +03:00
Ilya Zverev
a1b8212958 Fix missing station=whatever message for public_transport=station 2017-11-14 19:51:04 +03:00
Ilya Zverev
7d0089fb70 Add 30 second to each transfer, just in case 2017-11-14 19:10:18 +03:00
Ilya Zverev
bf0d4ceb6c Use transfers instead of stop areas to check for route variants 2017-11-14 19:03:07 +03:00
Ilya Zverev
259f1d8889 Check for return routes 2017-11-14 15:07:54 +03:00
Ilya Zverev
fa69c96df2 Allow a single public_transport=station on stations 2017-11-14 14:55:16 +03:00
Ilya Zverev
7a1c7a0500 PT:version=1 is an error, check for return routes 2017-11-14 14:50:57 +03:00