Commit graph

258 commits

Author SHA1 Message Date
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 from alexey-zakharenkov/fix-overpass-request
Fix overpass request
2019-06-13 14:53:47 +03:00
Alexey Zakharenkov
56f9a9586c Increase readability 2019-06-13 14:34:41 +03:00
Alexey Zakharenkov
e1cb765bd0 Return readability to validation json output 2019-06-12 19:40:55 +03:00
Alexey Zakharenkov
c615a6b880 Fix regular expression to not recognize substring n23 in strings like 'Train23B' as reference to OSM node 2019-06-10 16:44:50 +03:00
Alexey Zakharenkov
a8b953ae58 Fix encoding setting 2019-06-10 16:20:07 +03:00
Alexey Zakharenkov
cee31a9fc5 Amend readme 2019-06-06 16:14:33 +03:00
Alexey Zakharenkov
df59ac7d73 Fix html generator so that it doesn't consider 'way 2' substring as link to osm object w2 in strings like 'Subway 2: Wakefield-241st Street => Flatbush Avenue-Brooklyn College 2019-06-06 15:31:01 +03:00
Alexey Zakharenkov
2cd0cf53e4 Rewrite overpass-api request to work (checked to work on rapid modes) 2019-06-06 15:27:20 +03:00
Alexey Zakharenkov
106095d1c5 Merge branch 'master' of https://github.com/mapsme/subways 2019-05-18 22:30:58 +03:00
Alexey Zakharenkov
c8ca78c4a5 Merge branch 'self-healing-subway' 2019-05-18 22:24:09 +03:00
Alan
30c32a74b5
Merge pull request from alexey-zakharenkov/self-healing-subway
Automatic recovery of broken station order in a route
2019-05-17 13:09:56 +03:00
Alexey Zakharenkov
2de5a048d6 Fix spaces; add TODO comment 2019-05-16 22:52:14 +03:00
Sergey Yershov
c24785b503
Merge pull request from claudiush/patch-1
Update v2h_templates.py
2019-05-15 10:18:59 +03:00
Claudius
21641babe7
Update v2h_templates.py
Added some CSS styling to support highlighting a row on hover. Also applying a max width to the table to prevent the country table to grow too wide
2019-05-14 22:22:24 +02:00
Alexey Zakharenkov
2e432b9beb Fix style issues 2019-05-08 13:55:57 +03:00
alexey-zakharenkov
8d179f6b41
Remove traces of working process 2019-04-25 16:58:42 +03:00
Alexey Zakharenkov
d6d6852573 Check for station displacement during recovery station order 2019-04-25 15:24:17 +03:00
Victor Popov
ed62fc71d3
Merge pull request from alexey-zakharenkov/mapsme-public-url-for-validation
Update validation URL in README
2019-04-25 13:25:56 +03:00
Alexey Zakharenkov
a21042ecbd Add RECOVERY_PATH configuration parameter; fix a bug in using --json argument and rename --json to --geojson 2019-04-25 10:22:09 +03:00
Alexey Zakharenkov
e38db5f5be Move io functions into subway_io.py module; a bug fixed 2019-04-25 09:42:48 +03:00
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 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 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 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