Commit graph

40 commits

Author SHA1 Message Date
Sergey Vartanov
2eeccdb877 Issue #63: support MapCSS 0.2 for icons.
Support MapCSS 0.2 scheme generation with icons for nodes and areas.
2021-07-10 19:31:47 +03:00
Sergey Vartanov
557cc0cc98 Add color and outline options to icon drawing. 2021-07-10 19:26:06 +03:00
Sergey Vartanov
f6d44b97bd Fix configuration parsing. 2021-06-22 02:57:12 +03:00
Sergey Vartanov
f80672b7c1 Issue #24: change icon directory.
Individual icons are now generated in `icon_set/ids` and
`icon_set/names` directories.
2021-06-20 14:12:54 +03:00
Sergey Vartanov
f049ac79c6 Support unused shape drawing. 2021-06-18 01:57:02 +03:00
Sergey Vartanov
51c0f55e61 Support icon sorting in grid. 2021-06-12 01:18:39 +03:00
Sergey Vartanov
57735fad03 Change shape configuration. 2021-06-10 01:57:32 +03:00
Sergey Vartanov
3bb6439d7b Add icon collection class. 2021-06-10 00:07:52 +03:00
Sergey Vartanov
9fd2d869ff Fix icon sorting. 2021-06-08 02:07:14 +03:00
Sergey Vartanov
0285638eb5 Optimize imports. 2021-05-25 02:56:08 +03:00
Sergey Vartanov
b7ed5353f8 Speed up tests. 2021-05-25 02:53:34 +03:00
Sergey Vartanov
796d545cf6 Refactor tag matching; change scheme format. 2021-05-25 01:36:02 +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
aad7b25202 Change icon sorting in grid.
Sort icons in grid by shape identifiers instead of tag priority.
2021-05-24 00:00:38 +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
d73e2b6a53 Add configuration to shape extractor. 2021-05-21 01:28:22 +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
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
a42d79a16b Support background color for icons. 2021-05-08 01:04:51 +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
958a85fe0a Refactor text generation. 2021-05-06 03:23:57 +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
acf0ee45d9 Support Overpass, overlaps, tree circumference. 2020-10-03 00:29:13 +03:00
Sergey Vartanov
fa3b49ee75 Remove specific line icons. 2020-09-29 01:45:10 +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
6d938a1248 Issue #20: fix compass points parsing; refactor. 2020-09-09 23:54:15 +03:00
Sergey Vartanov
21be74a8a2 Refactor constructor; change code style. 2020-09-05 19:44:28 +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