Commit graph

57 commits

Author SHA1 Message Date
Sergey Vartanov
2bd89a6539 Rename Röntgen to Map Machine. 2021-09-08 03:55:16 +03:00
Sergey Vartanov
cdeffc8758 Refactor type annotaions; get rid of minidom. 2021-08-28 03:19:51 +03:00
Sergey Vartanov
4c5209dabc Get use of map configuration. 2021-08-27 00:40:00 +03:00
Sergey Vartanov
fe2714c927 Add options to tile generation. 2021-08-25 23:56:49 +03:00
Sergey Vartanov
9555a5d74f Refactor entry point. 2021-08-24 23:01:41 +03:00
Sergey Vartanov
3bcf026862 Refactor figures; get use of Python 3.9 features. 2021-08-18 08:38:33 +03:00
Sergey Vartanov
bc08d90587 Optimize imports. 2021-08-16 05:35:30 +03:00
Sergey Vartanov
f9409e2f47 Refactor workspace usage. 2021-08-09 09:44:34 +10:00
Sergey Vartanov
916e7c7bde Issue #70: add workspace file. 2021-08-02 23:47:31 +03:00
Sergey Vartanov
0748bab9a5 Issue #63: support ways, areas, and relations. 2021-07-29 23:38:11 +03:00
Sergey Vartanov
253f59d878 Issue #62: refactor MapCSS generation. 2021-07-22 23:44:21 +03:00
Sergey Vartanov
4228146eca Reformat with Black. 2021-07-18 23:49:12 +03:00
Sergey Vartanov
2364a5b0f9 Add icon for playground=hopscotch. 2021-07-16 02:01:08 +03:00
Sergey Vartanov
b4682e32d7 Refactor argument parsing. 2021-07-12 02:47:40 +03:00
Sergey Vartanov
070ed05c8c Reformat with Black. 2021-07-11 03:12:14 +03:00
Sergey Vartanov
5b22f7f78e Issue #63: refactor; add mapcss command. 2021-07-11 02:43:26 +03:00
Sergey Vartanov
5d49843a79 Issue #63: add MapCSS and icons generation. 2021-07-10 19:50:47 +03:00
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