Commit graph

62 commits

Author SHA1 Message Date
Sergey Vartanov
ade9d3b034 Support path drawing. 2021-08-18 23:00:12 +03:00
Sergey Vartanov
737e434260 Add type annotation for __init__. 2021-08-18 09:36:38 +03:00
Sergey Vartanov
b20006f6ae Add documentation. 2021-08-18 09:19:26 +03:00
Sergey Vartanov
3bcf026862 Refactor figures; get use of Python 3.9 features. 2021-08-18 08:38:33 +03:00
Sergey Vartanov
e5671fcf8f Fix code style. 2021-08-15 06:33:42 +03:00
Sergey Vartanov
be20c91951 Reformat with Black. 2021-07-30 03:25:41 +03:00
Sergey Vartanov
0748bab9a5 Issue #63: support ways, areas, and relations. 2021-07-29 23:38:11 +03:00
Sergey Vartanov
b4682e32d7 Refactor argument parsing. 2021-07-12 02:47:40 +03:00
Sergey Vartanov
f5fa2049a6 Fix ignored tags processing. 2021-07-04 22:52:26 +03:00
Sergey Vartanov
eaa90663e9 Fix tags processing. 2021-06-26 23:42:41 +03:00
Sergey Vartanov
41da1d73b8 Fix building height computing.
Add parsing for min_heigth and building:min_level tags; fix shadow
generation.
2021-06-23 01:09:01 +03:00
Sergey Vartanov
20b2ec1871 Add documentation. 2021-06-06 02:55:54 +03:00
Sergey Vartanov
735f19428d Issue #45: add lane parsing; refactor figure. 2021-06-03 04:39:05 +03:00
Sergey Vartanov
62f10ab647 Issue #45: support parsing from tags. 2021-06-01 02:46:02 +03:00
Sergey Vartanov
6c5d3e6118 Fix code style and refactor. 2021-05-30 22:44:56 +03:00
Sergey Vartanov
b086b0d108 Issue #45: support lanes.
Assume road width on the basis of lanes number.
2021-05-29 02:47:08 +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
3abd2a1769 Refactor figures. 2021-05-28 04:17:35 +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
b4907ecf03 Issue #45: add preliminary Road class.
Road class is supposed to be used as road description for the map.
2021-05-27 03:07:31 +03:00
Sergey Vartanov
579940d75f Move building style from scheme. 2021-05-27 00:53:01 +03:00
Sergey Vartanov
ff88424a34 Fix building object type. 2021-05-26 03:55:12 +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
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
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
cbbd7bcf05 Fix code style.
Fix some pylint warnings.
2021-05-07 00:57:05 +03:00
Sergey Vartanov
958a85fe0a Refactor text generation. 2021-05-06 03:23:57 +03:00
Sergey Vartanov
c793b314c7 Fix code style. 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
3e132992d5 Fix special mode node outline. 2021-04-24 13:51:51 +03:00
Sergey Vartanov
fc2fa5f766 Fix special mode nodes. 2021-04-24 12:54:50 +03:00
Sergey Vartanov
813ad6b806 Add individual icon drawing; refactor. 2021-04-24 01:56:23 +03:00
Sergey Vartanov
081a6e5455 Issue #10: support priority for icons. 2020-10-03 13:44:12 +03:00
Sergey Vartanov
ed3d555bbc Add area detection.
Detect whether way is an area.
2020-10-02 23:40:07 +03:00
Sergey Vartanov
d664364140 Issue #26: add preliminary fast overlap algorithm. 2020-09-30 02:39:10 +03:00
Sergey Vartanov
322d6b53ed Fix IDE warnings. 2020-09-27 21:39:22 +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
535d939806 Fix code style. 2020-09-23 03:24:53 +03:00
Sergey Vartanov
2fccc9cf67 Issue #23: fix building perspective. 2020-09-23 02:12:28 +03:00
Sergey Vartanov
51f40b989e Refactor points and figures. 2020-09-22 04:42:08 +03:00
Sergey Vartanov
557e0d1992 Issue #11: move color utility to separate module. 2020-09-20 23:58:10 +03:00
Sergey Vartanov
aee36d0703 Issue #11: fix time mode.
Add gradient color detection from the color scale for the given value.
2020-09-20 23:52:24 +03:00
Sergey Vartanov
604fd0d14c Separate ways and buildings. 2020-09-19 21:01:31 +03:00
Sergey Vartanov
963fb12496 Use colour; add text structure. 2020-09-19 14:43:47 +03:00