Commit graph

920 commits

Author SHA1 Message Date
Sergey Vartanov
5939c71921 Issue #39: add directed shapes. 2021-05-23 23:24:04 +03:00
Sergey Vartanov
7d6f3f4104 Fix #43: non deterministic icon grid generation. 2021-05-23 23:08:21 +03:00
Sergey Vartanov
617265dce5 Add processed tags set for labels. 2021-05-23 22:39:03 +03:00
Sergey Vartanov
0fc290d844 Remove CodeQL configuration. 2021-05-22 04:05:04 +03:00
Sergey Vartanov
ee6912fb0a Fix pytest invocation. 2021-05-22 04:04:38 +03:00
Sergey Vartanov
062b76fc08 Issue #42: get rid of old XML parser. 2021-05-22 03:56:16 +03:00
Sergey Vartanov
a946972caf Issue #42: use xml.etree parser.
Looks like it is a bit faster than the original parser.
2021-05-22 03:40:37 +03:00
Sergey Vartanov
37fabe627d Fix pathlib usage. 2021-05-22 02:06:09 +03:00
Sergey Vartanov
bb70935c19 Change scheme format; support pathlib.
Change name documentation as well.
2021-05-22 01:37:58 +03:00
Sergey Vartanov
c5bb1529f5 Speed up tests.
Load scheme and shape extractor just once for a test group.
2021-05-21 04:22:12 +03:00
Sergey Vartanov
1b40087b18 Issue #39: support flipping icons horizontally.
If tags has "direction" key, direction is mostly to the left (to the
West), and shape for the icon is right directed, we flip the shape
horizontally.
2021-05-21 03:04:49 +03:00
Sergey Vartanov
2f957e880b Add right direction checking.
Check whether all sectors of the direction set are directed to the
right.
2021-05-21 01:46:01 +03:00
Sergey Vartanov
3ea5088f36 Add main direction to sector. 2021-05-21 01:29:07 +03:00
Sergey Vartanov
d73e2b6a53 Add configuration to shape extractor. 2021-05-21 01:28:22 +03:00
Sergey Vartanov
a8da4fce0a Issue #7: add Japanese symbol shapes.
Do not use them yet.
2021-05-20 03:44:29 +03:00
Sergey Vartanov
77a0c0fdfe Add shape configuration. 2021-05-19 03:49:18 +03:00
Sergey Vartanov
c96462b2ee Support icon translating and scaling. 2021-05-19 02:58:33 +03:00
Sergey Vartanov
87789a9ef3 Add SVG transformation. 2021-05-19 02:58:33 +03:00
Sergey Vartanov
5d6dbb6c2c Add flip parameters. 2021-05-19 02:58:42 +03:00
Sergey Vartanov
f5a5bb17b9 Fix links in readme. 2021-05-13 04:22:21 +03:00
Sergey Vartanov
afdf9416d5 Refactor text labels. 2021-05-13 04:10:35 +03:00
Sergey Vartanov
c3828ec92f Enable icon tests. 2021-05-12 02:57:39 +03:00
Sergey Vartanov
bb3e2e3300 Update readme. 2021-05-12 02:25:06 +03:00
Sergey Vartanov
8ca013265f Fix some more Pylint warnings. 2021-05-12 00:53:44 +03:00
Sergey Vartanov
310a631217 Fix some Pylint warnings. 2021-05-12 00:49:35 +03:00
Sergey Vartanov
1cadabd173 Fix icon background offset in grid. 2021-05-11 03:31:17 +03:00
Sergey Vartanov
063e3c5c4f Support white part repainting. 2021-05-11 03:30:02 +03:00
Sergey Vartanov
f61aabac8b Fix grid generation.
Fix creation combined icons.
2021-05-11 02:33:23 +03:00
Sergey Vartanov
2b601b94a6 Fix icon color in grid. 2021-05-11 01:02:48 +03:00
Sergey Vartanov
792922fd86 Add class for shape collection. 2021-05-11 00:28:34 +03:00
Sergey Vartanov
64df53ddfb Rewrite speed limit icon specificatons.
Use new offset feature.
2021-05-09 16:07:01 +03:00
Sergey Vartanov
8d9b1e93fb Support additional offset for icon shape. 2021-05-09 16:06:23 +03:00
Sergey Vartanov
f371e5bd39 Add speed limit boxes. 2021-05-09 15:48:32 +03:00
Sergey Vartanov
bf4db29a1a Support color for icon shape.
* Create icon shape specification with color.
  * Change icon generation rules.
  * Add height label processing.
2021-05-09 05:04:38 +03:00
Sergey Vartanov
a84e838a1b Fix burger icon shape. 2021-05-09 03:55:59 +03:00
Sergey Vartanov
8ed1960333 Remove transport symbols. 2021-05-08 03:25:16 +03:00
Sergey Vartanov
16206a32fe Change location restriction specification. 2021-05-08 02:14:09 +03:00
Sergey Vartanov
4438de3ba5 Update readme. 2021-05-08 01:42:44 +03:00
Sergey Vartanov
a42d79a16b Support background color for icons. 2021-05-08 01:04:51 +03:00
Sergey Vartanov
5ec794cd6b Move point size computation. 2021-05-07 03:42:14 +03:00
Sergey Vartanov
b5b3da860d Fix generation for single node. 2021-05-07 03:28:22 +03:00
Sergey Vartanov
5a0a9fe14f Add icon for crossing:island. 2021-05-07 02:55:50 +03:00
Sergey Vartanov
ffcabd0ab8 Add text test. 2021-05-07 01:42:40 +03:00
Sergey Vartanov
e113ef09e4 Add documentation. 2021-05-07 01:34:53 +03:00
Sergey Vartanov
0f3888430b Rename data/tags.yml to scheme/default.yml. 2021-05-07 01:21:11 +03:00
Sergey Vartanov
cbbd7bcf05 Fix code style.
Fix some pylint warnings.
2021-05-07 00:57:05 +03:00
Sergey Vartanov
fa8e5551e7 Optimize imports. 2021-05-06 23:39:39 +03:00
Sergey Vartanov
330648e034 Add more label tests. 2021-05-06 23:32:25 +03:00
Sergey Vartanov
8bb43c5c22 Add label test. 2021-05-06 23:29:08 +03:00
Sergey Vartanov
7969b96347 Fix icon shapes. 2021-05-06 23:28:38 +03:00