Commit graph

51 commits

Author SHA1 Message Date
Sergey Vartanov
b0de6754c1 Fix label mode argument. 2021-05-29 03:00:22 +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
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
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
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
0f3888430b Rename data/tags.yml to scheme/default.yml. 2021-05-07 01:21:11 +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
77ae8fe4a3 Add single tag visualization; refactor. 2021-05-02 11:22:39 +03:00
Sergey Vartanov
e6e54cb044 Optimize imports. 2021-04-25 03:21:32 +03:00
Sergey Vartanov
5f776c7389 Fix nodes drawing order.
Now drawing order is as follows:
  1. Draw main icons.
  2. Draw extra icons.
  3. Draw captions.
2021-04-24 17:27:45 +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
acf0ee45d9 Support Overpass, overlaps, tree circumference. 2020-10-03 00:29:13 +03:00
Sergey Vartanov
d664364140 Issue #26: add preliminary fast overlap algorithm. 2020-09-30 02:39:10 +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
2ffac6f98b Issue #23: fix building height and shade. 2020-09-23 02:36:30 +03:00
Sergey Vartanov
2fccc9cf67 Issue #23: fix building perspective. 2020-09-23 02:12:28 +03:00
Sergey Vartanov
6705f7418a Issue #23: fix roof drawing.
Roof drawing is now based on the building levels.
2020-09-22 04:49:45 +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
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
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
8d8080181e Fix direction; add scale computing. 2020-09-13 21:52:42 +03:00
Sergey Vartanov
7bfbf32697 Fix parsing; fix code style. 2020-09-10 00:39:45 +03:00
Sergey Vartanov
6d938a1248 Issue #20: fix compass points parsing; refactor. 2020-09-09 23:54:15 +03:00
Sergey Vartanov
03db36becb Issue #20: add direction preview; add buoy icon. 2020-09-07 01:02:40 +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
Sergey Vartanov
f3a9e149b4 Closes #17: use svgwrite. 2020-08-30 10:41:39 +03:00
Sergey Vartanov
62eeb5e32c Add automatic grid drawing. 2020-08-29 12:34:51 +03:00
Sergey Vartanov
6f75cebfcb Issue #14: add option for multiple input files. 2020-08-28 23:30:00 +03:00
Sergey Vartanov
ed6a6c4858 Issue #14: refactor OSM reading. 2020-08-28 23:18:31 +03:00
Sergey Vartanov
bae788fd1c Fix icon extraction. 2020-08-27 09:48:20 +03:00
Sergey Vartanov
f88f3b9f50 Issue #11: fix user and time modes. 2020-08-26 09:54:15 +03:00
Sergey Vartanov
f452a08177 Refactor map constructor. 2020-08-26 09:20:54 +03:00
Sergey Vartanov
da705ba9d2 Fix code style. 2020-08-25 07:58:11 +03:00
Sergey Vartanov
25a61f5a14 Add 3D buildings to readme. 2020-08-24 10:03:32 +03:00
Sergey Vartanov
2fa5f7d024 Fix height and minus in boundary box. 2020-08-24 08:49:36 +03:00
Sergey Vartanov
945af54dc9 Add OSM data downloading using API. 2020-08-23 11:15:51 +03:00
Sergey Vartanov
afd3e5d741 Major refactoring. 2020-08-22 10:37:29 +03:00