Commit graph

42 commits

Author SHA1 Message Date
Sergey Vartanov
f0b3d19b15 Support drawing options in scheme.
It is now necessary to enable drawing map features in the scheme file.
In the `options` field one should enable the following features in
order to have these features on the map, because they are disabled by
default:
  - `draw_nodes`,
  - `draw_buildings`,
  - `draw_trees`,
  - `draw_craters`,
  - `draw_directions`

Related to #140.
2023-05-28 13:54:14 +04:00
Sergey Vartanov
96244220ac Simplify scheme parsing. 2022-11-02 00:22:51 +04:00
Sergey Vartanov
cb1bdceedb Issue #140: check for an empty scheme file. 2022-08-19 10:58:39 +03:00
Sergey Vartanov
afb050c2b0 Issue #140: fix default colors in scheme. 2022-08-17 09:36:04 +03:00
Sergey Vartanov
c76e1f0301 Issue #140: put scheme inside map configuration.
Refactoring of `Scheme` and `MapConfiguration` classes.
2022-08-15 11:27:19 +03:00
Sergey Vartanov
b2a071b4b3 Fix documentation. 2022-06-25 21:01:13 +03:00
Sergey Vartanov
80aa4b1680 Fix pydocstyle warnings. 2022-06-07 23:52:58 +03:00
Sergey Vartanov
6e38ca5aa8 Issues #67, #122: refactor text constructing.
Fixes main label mode.
2022-04-08 02:48:21 +03:00
Sergey Vartanov
a082722b6d Refactor icon colors. 2022-04-08 01:27:13 +03:00
Sergey Vartanov
a55579e4e2 Support color for default icon. 2022-04-08 00:55:42 +03:00
Sergey Vartanov
6d3180724b Issue #121: fix colors. 2022-04-08 00:05:27 +03:00
Sergey Vartanov
360ca3f600 Issue #121: add show overlapped feature. 2022-04-06 03:12:39 +03:00
Sergey Vartanov
a16bf52f55 Issue #107: support parallel offset for ways. 2022-01-28 07:51:49 +03:00
Sergey Vartanov
60836bf2f7 Fix #106: node tag matching.
Text values was treated as regular expressions.
2022-01-26 09:40:53 +03:00
Sergey Vartanov
c787f48058 Get use of colors from scheme. 2022-01-15 12:44:08 +03:00
Sergey Vartanov
d2e205fcaf Issue #102: add preliminary variable processing. 2022-01-08 23:29:45 +03:00
Sergey Vartanov
6d80eb1812 Simplify condition. 2021-12-14 09:11:51 +03:00
Sergey Vartanov
67c2d98917 Fix bad copy-paste in direction computing. 2021-12-12 10:14:09 +03:00
Sergey Vartanov
73afd6913b Fix scheme parsing. 2021-12-04 22:38:53 +03:00
Sergey Vartanov
699c1e9592 Change scheme initialization. 2021-12-04 22:21:38 +03:00
Sergey Vartanov
9188e99d50 Add tag verification. 2021-12-02 08:10:29 +03:00
Sergey Vartanov
ed0e0384b7 Fix floating point numbers. 2021-11-11 23:52:46 +03:00
Sergey Vartanov
c3dfaf0604 Fix Pylint warnings. 2021-11-10 02:22:34 +03:00
Sergey Vartanov
221b0bace6 Optimize imports. 2021-11-08 03:27:36 +03:00
Sergey Vartanov
5746edaa3f Fix Pylint warnings. 2021-11-08 02:53:51 +03:00
Sergey Vartanov
868a417afc Fix Pylint warnings. 2021-11-08 02:21:34 +03:00
Sergey Vartanov
d812058ecb Fix Pylint warnings. 2021-11-07 05:18:48 +03:00
Sergey Vartanov
7eaf3678f9 Issue #67: refactor text processing. 2021-11-02 23:51:49 +03:00
Sergey Vartanov
a5910786e2 Fix enum values. 2021-10-20 23:51:09 +03:00
Sergey Vartanov
15ab5e7d62 Support tags to skip. 2021-10-19 02:37:41 +03:00
Sergey Vartanov
dfbc2691d3 Reorganize the project. 2021-10-13 01:03:36 +03:00
Sergey Vartanov
9f770a35cc Fix warnings. 2021-10-11 00:43:45 +03:00
Sergey Vartanov
245c316997 Support darken color. 2021-10-05 09:14:22 +03:00
Sergey Vartanov
39acfc6ff6 Issue #91: support automatic icon generation.
Use regular expressions to match tags and construct icons using matched
substrings.
2021-09-26 20:30:36 +03:00
Sergey Vartanov
c0b4d35573 Issue #89: fix encoding. 2021-09-25 09:12:13 +03:00
Sergey Vartanov
d5847a8cf7 Fix point priority. 2021-09-23 05:53:27 +03:00
Sergey Vartanov
4a85c9c397 Add icon for entrance=garage; support entrances. 2021-09-22 08:40:54 +03:00
Sergey Vartanov
b715e12924 Add --coordinates and --size arguments.
Construct boundary box from center coordinates and size.
2021-09-16 07:44:41 +03:00
Sergey Vartanov
15466cb74c Fix road layers.
Draw roads layer by layer.
2021-09-14 00:13:55 +03:00
Sergey Vartanov
8aadb79f62 Issue #13: add --country argument. 2021-09-12 06:43:45 +03:00
Sergey Vartanov
34d7ae0dbc Issue #13: support local restrictions. 2021-09-12 06:16:27 +03:00
Sergey Vartanov
2bd89a6539 Rename Röntgen to Map Machine. 2021-09-08 03:55:16 +03:00
Renamed from roentgen/scheme.py (Browse further)