Commit graph

1337 commits

Author SHA1 Message Date
Sergey Vartanov
96dc60355c Add gazette to configuration. 2022-07-10 23:56:32 +03:00
Sergey Vartanov
893a4e150c Initialize input file names.
Makes static analyzer happy.
2022-07-10 23:55:19 +03:00
Sergey Vartanov
63e3439440 Make --size argument optional.
Now if `--coordinates` are specified, size is assumed to be
800 × 600 px.
2022-07-10 14:04:02 +03:00
Sergey Vartanov
348e5fd58b Check Python version before launching.
This should decrease number of problems related to using Map Machine
with unsupported Python version.
2022-07-10 14:01:53 +03:00
Sergey Vartanov
eef3ed34d4 Add gazette icon. 2022-07-06 23:52:45 +03:00
Sergey Vartanov
3de5651442 Redraw hopscotch icon. 2022-07-06 23:44:43 +03:00
Sergey Vartanov
c3e9d2b4ac Make icon shape verification more precise. 2022-07-06 02:45:48 +03:00
Sergey Vartanov
70abc9b296 Add emojis associated with icons. 2022-07-06 02:25:02 +03:00
Sergey Vartanov
98cd735037 Allow red color for sketches.
Red is for icons that should be used in the future.
2022-07-06 02:23:48 +03:00
Sergey Vartanov
bde4676872 Fix diving tower with 3 platforms shape. 2022-07-06 01:46:14 +03:00
Sergey Vartanov
61584e1a27 Remove debug printing. 2022-07-06 00:23:31 +03:00
Sergey Vartanov
4d05d058a1 Add changelog. 2022-07-05 12:14:45 +03:00
Sergey Vartanov
6bef291b66 Update documentation tables. 2022-07-05 11:48:52 +03:00
Sergey Vartanov
ba28f038f8 Add white background for icon table. 2022-07-05 11:47:23 +03:00
Sergey Vartanov
9deb81411e Unify diving platform identifier. 2022-07-05 00:16:23 +03:00
Sergey Vartanov
c416b4463c Redraw diving tower with 4 platforms. 2022-07-05 00:04:22 +03:00
Sergey Vartanov
10c5f5bf5d Redraw diving tower with 3 platforms. 2022-07-04 23:55:26 +03:00
Sergey Vartanov
8ae639ee30 Redraw diving tower with 2 platforms. 2022-07-04 23:53:27 +03:00
Sergey Vartanov
af5ad8057d Fix documentation. 2022-07-04 03:40:12 +03:00
Sergey Vartanov
ac79e6883a Remove redundant test. 2022-07-04 03:18:46 +03:00
Sergey Vartanov
93605c81f5 Rewrite requirements list.
Get requirements from `requirements.txt` instead of having two lists.
2022-07-04 03:18:10 +03:00
Sergey Vartanov
f8a4e4ee22 Issue #137: support attraction=water_slide. 2022-07-04 01:52:49 +03:00
Sergey Vartanov
697fee5c87 Issue #137: support layers for ways.
First check layer value and then priority.
2022-07-04 01:51:41 +03:00
Sergey Vartanov
1a719fca2a Fix code style and documentation. 2022-07-03 21:45:30 +03:00
Sergey Vartanov
93710220c2 Close #138: add test. 2022-07-03 21:35:22 +03:00
Sergey Vartanov
8f78e93bc8 Issue #138: fix diving tower priority. 2022-07-03 21:35:03 +03:00
Sergey Vartanov
010982789c Update icon grid. 2022-07-03 19:45:54 +03:00
Sergey Vartanov
40c2c38b73 Close #135: add icon for amenity=dressing_room. 2022-07-03 19:40:10 +03:00
Sergey Vartanov
e1a035fb1e Fix power pole delta icons. 2022-07-03 18:42:47 +03:00
Sergey Vartanov
f610ebc624 Add backrest for bench icon collection. 2022-07-03 18:41:52 +03:00
Sergey Vartanov
b2a071b4b3 Fix documentation. 2022-06-25 21:01:13 +03:00
Sergey Vartanov
c7811a3218 Fix module descriptions. 2022-06-25 21:00:48 +03:00
Sergey Vartanov
18d475277d Fix pydocstyle warnings. 2022-06-07 23:58:46 +03:00
Sergey Vartanov
675435dd1a Fix import error. 2022-06-07 23:53:36 +03:00
Sergey Vartanov
80aa4b1680 Fix pydocstyle warnings. 2022-06-07 23:52:58 +03:00
Sergey Vartanov
a5f9964d6d Add multipolygon test drawing. 2022-06-07 23:45:31 +03:00
Sergey Vartanov
1fcc41e4f2 Fix type defects found by Pyre. 2022-06-07 23:42:49 +03:00
Sergey Vartanov
266e5622d6 Refactor icon checking. 2022-06-06 23:46:18 +03:00
Sergey Vartanov
023a524f73 Issue #128: fix placement tag processing.
If `lanes` tag is not specified or specified incorrectly, number of
lanes should be adjusted to fit `placement` tag values.
2022-06-06 22:51:08 +03:00
Sergey Vartanov
8dbc03c973 Issue #128: add test. 2022-06-06 10:24:23 +03:00
Sergey Vartanov
7a56d0df87 Refactor way test. 2022-06-06 09:33:27 +03:00
Sergey Vartanov
4c0f9d60ba Remove redundant function. 2022-06-06 09:09:39 +03:00
Sergey Vartanov
2db6cc8d49 Add documentation. 2022-06-06 09:05:42 +03:00
Sergey Vartanov
efda73a436 Fix shebangs. 2022-06-06 02:14:18 +03:00
Sergey Vartanov
ac2d777c99 Add / as a delimiter for coordinates.
Now coordinates in `--coordinates` option can be copied and pasted from
OpenStreetMap URL.
2022-06-06 02:09:42 +03:00
Sergey Vartanov
d0ef85cd0b Issue #125: split way priority.
Now 40.0 is a special way priority. Ways that have priority less than
40.0 will be drawn below the road layer, and ways that have priority
greater than 40.0 will be drawn above the road layer.
2022-05-31 00:43:45 +03:00
Sergey Vartanov
a6c94a091f Issue #125: add style for disused railways. 2022-05-28 23:49:19 +03:00
Sergey Vartanov
2fca317bef Add texts element drawing. 2022-05-27 01:25:26 +03:00
Sergey Vartanov
147a5de0d5 Refactor tags in element drawing. 2022-05-27 01:25:08 +03:00
Sergey Vartanov
d83205aad0 Fix #133: typo in motorcar=yes. 2022-05-25 01:06:31 +03:00