Sergey Vartanov
f5fa2049a6
Fix ignored tags processing.
2021-07-04 22:52:26 +03:00
Sergey Vartanov
9af7d5f2d9
Issue #39 : fix shape direction processing.
2021-07-04 22:49:12 +03:00
Sergey Vartanov
72e502fc26
Fix main icon checking.
2021-06-29 02:50:18 +03:00
Sergey Vartanov
eaa90663e9
Fix tags processing.
2021-06-26 23:42:41 +03:00
Sergey Vartanov
f7019f6b06
Fix color parsing issue.
2021-06-25 03:55:15 +03:00
Sergey Vartanov
5a54e2ca2a
Fix shape direction.
2021-06-11 01:19:18 +03:00
Sergey Vartanov
9b807c2cbf
Add camera direction processing.
2021-06-04 04:36:40 +03:00
Sergey Vartanov
02459a6af0
Issue #45 : test fix.
2021-05-28 11:34:07 +03:00
Sergey Vartanov
4b88b64f86
Issue #45 : support width tag for roads.
...
Compute road width from width=* tag if specified.
2021-05-28 04:52:15 +03:00
Sergey Vartanov
9d41b34214
Issue #45 : refactor road specification in scheme.
...
Add special "road" part and move road specifications from the "ways".
Add road matcher. We should remove "priority" key and use
specifications order instead in the future.
2021-05-28 04:05:15 +03:00
Sergey Vartanov
796d545cf6
Refactor tag matching; change scheme format.
2021-05-25 01:36:02 +03:00
Sergey Vartanov
f0f1a8beb4
Add replace_shapes flag to scheme specification.
...
If flag is false, main icon shapes should not be replaced.
2021-05-24 00:44:03 +03:00
Sergey Vartanov
2ece66d5d0
Change scheme format.
...
Use "shapes" key instead of "icon", "add_shapes" key instead of
"add_icon", "exception" instead of "no_tag".
2021-05-24 00:32:35 +03:00
Sergey Vartanov
617265dce5
Add processed tags set for labels.
2021-05-23 22:39:03 +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
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
d73e2b6a53
Add configuration to shape extractor.
2021-05-21 01:28:22 +03:00
Sergey Vartanov
afdf9416d5
Refactor text labels.
2021-05-13 04:10:35 +03:00
Sergey Vartanov
310a631217
Fix some Pylint warnings.
2021-05-12 00:49:35 +03:00
Sergey Vartanov
792922fd86
Add class for shape collection.
2021-05-11 00:28:34 +03:00
Sergey Vartanov
8d9b1e93fb
Support additional offset for icon shape.
2021-05-09 16:06:23 +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
fa8e5551e7
Optimize imports.
2021-05-06 23:39:39 +03:00
Sergey Vartanov
958a85fe0a
Refactor text generation.
2021-05-06 03:23:57 +03:00
Sergey Vartanov
585c4e5c45
Add tag matching types.
2021-05-02 11:22:39 +03:00
Sergey Vartanov
c4d7821f79
Refactor icons; update images.
2021-05-02 10:46:40 +03:00
Sergey Vartanov
e6e54cb044
Optimize imports.
2021-04-25 03:21:32 +03:00
Sergey Vartanov
813ad6b806
Add individual icon drawing; refactor.
2021-04-24 01:56:23 +03:00
Sergey Vartanov
061d77d9d5
Fix amenity tags; fix tag matching.
2020-10-04 20:44:07 +03:00
Sergey Vartanov
081a6e5455
Issue #10 : support priority for icons.
2020-10-03 13:44:12 +03:00
Sergey Vartanov
fd70aa8f01
Extract tag matcher.
2020-10-03 12:03:40 +03:00
Sergey Vartanov
ac20d3462b
Use one function to match tags.
2020-10-03 11:37:15 +03:00
Sergey Vartanov
ed3d555bbc
Add area detection.
...
Detect whether way is an area.
2020-10-02 23:40:07 +03:00
Sergey Vartanov
fa3b49ee75
Remove specific line icons.
2020-09-29 01:45:10 +03:00
Sergey Vartanov
322d6b53ed
Fix IDE warnings.
2020-09-27 21:39:22 +03:00
Sergey Vartanov
36ada6872c
Use "#" in color scheme.
2020-09-27 01:34:20 +03:00
Sergey Vartanov
7b58dae764
Refactor point drawing.
...
Draw extra icons under main icon.
2020-09-27 00:45:18 +03:00
Sergey Vartanov
5506eb3082
Refactor way and relation processing.
2020-09-25 23:38:25 +03:00
Sergey Vartanov
2667ee9d02
Fix code style.
2020-09-24 23:55:04 +03:00
Sergey Vartanov
963fb12496
Use colour; add text structure.
2020-09-19 14:43:47 +03:00
Sergey Vartanov
f6a15e7a71
Fix #9 , #21 : fix relations; refactor flinger.
...
Fix inner path and outer path drawing. Make flinger more simple.
2020-09-18 23:48:33 +03:00
Sergey Vartanov
bb0320763d
Fix tag processing.
2020-09-13 21:26:26 +03:00
Sergey Vartanov
7bfbf32697
Fix parsing; fix code style.
2020-09-10 00:39:45 +03:00
Sergey Vartanov
0405e552e2
Issue #20 : support viewpoint direction.
2020-09-06 22:58:41 +03:00
Sergey Vartanov
21be74a8a2
Refactor constructor; change code style.
2020-09-05 19:44:28 +03:00
Sergey Vartanov
21acccab20
Refactor scheme.
2020-08-30 13:45:52 +03:00