Sergey Vartanov
825eb34191
Issue #150 : get rid of shape duplication.
2023-08-11 03:20:06 +04:00
Sergey Vartanov
0da966f170
Update changelog.
2023-07-07 11:52:45 +04:00
Phil Lies
26c4b045c0
Fixing mutable dataclass attribute error.
2023-07-06 23:55:11 +04:00
Sergey Vartanov
ce42f4fbc6
Get use of trunk color.
2023-07-06 23:30:31 +04:00
Sergey Vartanov
f0b3d19b15
Support drawing options in scheme.
...
It is now necessary to enable drawing map features in the scheme file.
In the `options` field one should enable the following features in
order to have these features on the map, because they are disabled by
default:
- `draw_nodes`,
- `draw_buildings`,
- `draw_trees`,
- `draw_craters`,
- `draw_directions`
Related to #140 .
2023-05-28 13:54:14 +04:00
Sergey Vartanov
d3c18a3d5f
Make building colors configurable.
...
It is now possible to draw building colors with `--building-colors`
option. Map Machine will use roof colors in flat building mode and
roof and wall colors in isometric building mode.
2023-05-28 12:54:32 +04:00
Sergey Vartanov
55a6698e05
Move road feature colors to scheme.
...
Bridge, ford, and embankment colors are now configurable from the
scheme file by `bridge_color`, `ford_color`, and `embankment_color`
respectively.
2023-05-27 23:37:45 +04:00
Sergey Vartanov
671fcaba8c
Add --hide-credit
option.
2023-05-24 23:34:22 +04:00
Sergey Vartanov
6de35ae69c
Add icon for natural=human.
2023-05-24 23:32:21 +04:00
Sergey Vartanov
f080e50a9d
Update changelog.
2023-01-06 23:38:08 +04:00
Sergey Vartanov
2383d28362
Clean up icon configuration parsing.
2022-11-05 21:19:27 +04:00
Sergey Vartanov
846d935bbe
Clean up OSM reading.
2022-11-03 01:35:56 +04:00
Sergey Vartanov
36fb64a978
Clean up collection parsing.
2022-11-03 01:33:19 +04:00
Sergey Vartanov
96244220ac
Simplify scheme parsing.
2022-11-02 00:22:51 +04:00
Sergey Vartanov
eba1ed1606
Preprocess arguments to fix leading minus issue.
...
`argparse` treats argument of `--coordinates` and `--boundary-box` as
other option if it starts with `-`. The new solution is to preprocess
arguments adding leading space to the argument value.
2022-10-30 11:48:11 +04:00
Sergey Vartanov
54f6b17fdc
Reuse icon for dog=yes.
2022-10-28 22:46:41 +04:00
Sergey Vartanov
f93bfe6906
Reuse icon for shower=yes.
2022-10-27 09:31:18 +04:00
Sergey Vartanov
dcf3ffa009
Reuse icon for washing_machine=yes.
2022-10-27 01:37:54 +04:00
Sergey Vartanov
b2951a1d8e
Increase zoom level for elements.
2022-10-27 01:31:27 +04:00
Sergey Vartanov
5d48f52f1f
Reuse icon for toilets=yes.
2022-10-27 01:28:49 +04:00
Sergey Vartanov
d512545d9c
Fix start zoom level for mass objects.
2022-10-27 01:28:22 +04:00
Sergey Vartanov
93d576aa0c
Issue #144 : reuse icon for bbq=yes.
2022-10-26 23:24:25 +04:00
Sergey Vartanov
1f508e9796
Reuse icon for drinking_water=yes.
2022-10-26 02:03:17 +04:00
Sergey Vartanov
0564ca572a
Reuse icon for parking=yes.
2022-10-26 02:02:59 +04:00
Sergey Vartanov
718d603c11
Issue #144 : reuse fire additional icons.
...
For fireplace=yes and openfire=yes.
2022-10-26 02:01:04 +04:00
Sergey Vartanov
e1269f6ca4
Issue #144 : reuse camp additional icons.
...
For caravans=yes and tents=yes.
2022-10-26 02:00:19 +04:00
Sergey Vartanov
7d3a480308
Issue #144 : reuse icon for tourism=camp_pitch.
2022-10-26 01:59:20 +04:00
Sergey Vartanov
33c313d4e6
Issue #144 : support tourism=camp_pitch as a way.
...
Use simple outline for a camp pitch if it is an area.
2022-10-26 00:09:33 +04:00
Sergey Vartanov
387d081010
Issue #144 : support ref
as main text label.
2022-10-25 23:49:54 +04:00
Sergey Vartanov
a728bc0758
Reuse icon for traffic_sign=*.
2022-10-12 00:02:30 +04:00
Sergey Vartanov
7b11cf0b79
Make golf hole green.
2022-10-11 23:17:08 +04:00
Sergey Vartanov
b697906f38
Increase golf objects priority.
...
Tee and pin are small objects buy they are a part of big golf fields,
so they should be visible at zoom level 16.
2022-10-11 23:11:46 +04:00
Sergey Vartanov
fa92e684f4
Issue #100 : add warning for coordinates option.
...
If boundary box is explicitly specified, coordinates will be ignored.
2022-10-11 22:22:35 +04:00
Sergey Vartanov
a6851f166b
Issue #100 : process invalid boundary box.
...
Stop processing if explicitly specified boundary box is invalid, even if
we can get the right one from another source.
2022-10-11 01:04:06 +04:00
Sergey Vartanov
9bc7600d97
Add warnings to Moire generated files.
2022-10-09 19:08:03 +04:00
Martin Fischer
1f87ff422a
Add missing articles in readme.
2022-10-09 11:17:36 +04:00
Sergey Vartanov
836caf7138
Fix documentation and code style.
2022-10-05 17:09:39 +04:00
Sergey Vartanov
0e62e4ac90
Add wrong element command handling.
2022-10-05 17:06:10 +04:00
Sergey Vartanov
ef359f83e9
Remove unused element drawing utility.
2022-10-03 20:30:10 +04:00
Sergey Vartanov
d1e48e21df
Fix static analysis warnings.
2022-10-03 19:32:16 +04:00
Sergey Vartanov
999c3112bb
Support way tourism=artwork.
2022-09-15 22:47:58 +03:00
Sergey Vartanov
1baf08de22
Fix indoor preview.
2022-09-15 12:04:10 +03:00
Sergey Vartanov
5019303ef9
Refine indoor documentation.
2022-09-15 11:56:47 +03:00
Sergey Vartanov
86245da87c
Add indoor preview.
2022-09-13 01:26:28 +03:00
Sergey Vartanov
89afd8bb20
Support way element drawing.
2022-09-13 00:11:53 +03:00
Sergey Vartanov
c8650e285d
Reorder icons in configuration.
2022-09-12 23:46:45 +03:00
Sergey Vartanov
c5bee25391
Add documentation for elements.
2022-09-06 00:04:27 +03:00
Sergey Vartanov
c0879bff36
Refactor flinger.
...
Element drawing module was using flinger for Mercator projection, which
is not exactly what is wanted.
2022-09-02 23:58:57 +03:00
Sergey Vartanov
7092ef0052
Add icons for flags.
...
For tags:
- `man_made=flagpole` + `country=US` (USA),
- `man_made=flagpole` + `country=Tanzania`,
- `man_made=flagpole` + `country=PH` (Philippines),
- `man_made=flagpole` + `country=FR` (France).
Top four values from current Taginfo: see
https://taginfo.openstreetmap.org/keys/country#values
2022-08-21 17:32:58 +03:00
Sergey Vartanov
cdbcedc6ec
Add error handling for SVG parsing.
2022-08-19 10:59:33 +03:00