Commit graph

42 commits

Author SHA1 Message Date
Alexander Borsuk
524be2a088
Merge branch 'master' into upstream
Signed-off-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
2024-09-05 11:22:15 +02:00
Alexey Zakharenkov
6a4c2a255f Remove obsolete scripts 2024-03-22 14:44:19 +03:00
Alexey Zakharenkov
179dcb6a6f Use virtual environments 2024-03-22 14:44:19 +03:00
Alexey Zakharenkov
60821b60d6 Refactor project structure 2024-03-22 14:44:19 +03:00
Alexey Zakharenkov
1e4e434d49 Add --dump-city-list option to untie cities.txt formation from mapsme.json 2023-12-25 15:14:56 +03:00
Alexey Zakharenkov
970b4a51ee process train_station_entrance similar to subway_entrance 2023-12-04 19:13:18 +03:00
Alexander Borsuk
fd533c449d
Merge pull request #6 from organicmaps/upstream
Upstream sync
2023-05-30 12:28:57 +02:00
Alexey Zakharenkov
97dc8901b4 Upgrade shapely dependency to 2.0 2023-05-29 15:43:45 +03:00
Alexander Borsuk
538dbf2734
Merge pull request #4 from organicmaps/upstream
Upstream fixes from Alexey
2023-03-14 22:31:33 +01:00
Alexey Zakharenkov
c7ae6ece61 Clean requirements 2023-02-17 14:05:19 +03:00
Alexey Zakharenkov
52599fe566 Add --cities-info-url CLI parameter to the main script and utilities 2023-01-12 15:28:29 +03:00
Alexey Zakharenkov
6706137670 Create directories for validator output if not exist 2023-01-12 15:28:29 +03:00
Alexey Zakharenkov
01eb589d13 Improve relation center calculation 2022-12-29 16:26:11 +03:00
Alexey Zakharenkov
277f5b0e91 GTFS output 2022-06-23 13:56:00 +03:00
Alexander Borsuk
738e13d73a Create directories if necessary
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-04-23 00:32:38 +02:00
Victor Popov
03e3333ec9 Workaround osmtools bugs with tempfiles
- Osmupdate does not pass tempfiles settings to osmconvert call,
  so ensure that current working dir is writable before launching osmupdate.
- Explicitly specify tempfiles location for osmfilter call.
2021-09-30 16:57:45 +03:00
Victor Popov
dd833f6639 Explicitly specify osmconvert tempfiles location 2021-09-30 09:17:42 +03:00
Victor Popov
4f8f7416f3 Various improvements
- Introduce PLANET_UPDATE_SERVER environment variable to allow
  overriding of default https://planet.openstreetmap.org/replication/
  update source.
- Explicitly specify path to temp files for osmupdate.
- Improve error handling in case when osmupdate fails: capture output
  and echo them (otherwise bash exits due to `set -e`)
- check_osmctools before using osmtools. This fixes error if both
  SKIP_PLANET_UPDATE and PLANET_METRO are specified.
2021-09-29 12:05:29 +03:00
Alexey Zakharenkov
6596d9789c PEPify-8 with black -l 79 -S 2021-08-02 15:45:56 +03:00
Alexey Zakharenkov
2734f9fd9e Update README 2021-08-02 15:45:56 +03:00
Alexey Zakharenkov
44c6dc77e4 Elaborate planet processing pipeline 2021-08-02 15:45:56 +03:00
Alexey Zakharenkov
724a9344a9 Add 'POLY' parameter to bash script and a script to generate a *.poly file with metro bbox union 2021-08-02 15:45:56 +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
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
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
5ee07c9b81 Caching transfers in good cities 2019-02-12 13:05:04 +03:00
Ilya Zverev
91f35fac80 Scripts for building trams 2018-07-20 19:40:30 +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
6545e2ea33 Add build_city.sh script 2018-01-29 13:56:32 +03:00
Ilya Zverev
3d75e5e881 Refactor to split processor/validator and mapsme output 2017-12-06 22:28:38 +03:00
Ilya Zverev
63c4d42de6 allow dumping without a city 2017-11-10 17:14:40 +03:00
Ilya Zverev
1973a001f0 Support for route=train 2017-11-09 12:24:03 +03:00
Ilya Zverev
7ab47dff41 Railway tracks, fixes #16 2017-10-30 14:58:57 +03:00
Ilya Zverev
fa5af08c16 Check for stop_positions not on tracks, fixes #17 2017-10-29 10:53:15 +03:00
Ilya Zverev
5052682bf4 Keep non-html files 2017-10-27 17:14:21 +03:00
Ilya Zverev
af954c5b96 circle_line → circular, first version of exporting data to maps.me, fix global transfers 2017-10-27 17:10:03 +03:00
Ilya Zverev
3dbdab6e72 Proper counting of stations, yaml dumping 2017-10-25 15:18:46 +03:00
Ilya Zverev
7936d33676 Unbound variable in a script 2017-10-24 20:52:29 +03:00
Ilya Zverev
8c8ae05672 Scripts update 2017-10-24 19:08:34 +03:00