Commit graph

536 commits

Author SHA1 Message Date
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
Sergey Vartanov
cb1bdceedb Issue #140: check for an empty scheme file. 2022-08-19 10:58:39 +03:00
Sergey Vartanov
a6955c7d22 Issue #139: change indoor colors.
Try to make indoor colors darker and use dark border for corridors
(this may lead to some unwanted results, but we will see).
2022-08-19 00:51:39 +03:00
Sergey Vartanov
d068a76a48 Issue #139: change style for indoor=column.
Use `indoor_wall_color` to make it darker and distinguishable from its
surroundings.
2022-08-18 23:57:36 +03:00
Sergey Vartanov
54bc5d1a52 Restore requirements as a list. 2022-08-18 11:58:06 +03:00
Sergey Vartanov
afb050c2b0 Issue #140: fix default colors in scheme. 2022-08-17 09:36:04 +03:00
Sergey Vartanov
199dff9599 Issue #140: add error handling. 2022-08-17 09:30:13 +03:00
Sergey Vartanov
692997f54a Rename element command to draw.
And add node drawing.
2022-08-17 08:12:53 +03:00
Sergey Vartanov
6dd9bc27e8 Add common interface to element drawing. 2022-08-17 02:44:53 +03:00
Sergey Vartanov
be28d4fd41 Add more options to grid drawing. 2022-08-17 02:43:54 +03:00
Sergey Vartanov
7e2d9ba5af Make credits optional. 2022-08-17 02:41:42 +03:00
Sergey Vartanov
c76e1f0301 Issue #140: put scheme inside map configuration.
Refactoring of `Scheme` and `MapConfiguration` classes.
2022-08-15 11:27:19 +03:00
Sergey Vartanov
596910fe01 Issue #140: find scheme by identifier or path. 2022-08-15 10:44:42 +03:00
Sergey Vartanov
edb69c902f Issue #140: add scheme option. 2022-08-15 10:42:10 +03:00
Sergey Vartanov
470feb4248 Issue #139: add icons for styled areas.
Map Machine did not create icons for areas if they have style.  Just
like previous issue, it seems like a temporary solution for a problem I
can't remember now.
2022-08-14 22:36:09 +03:00
Sergey Vartanov
24851f73f9 Issue #139: fix style for indoor=room.
`indoor=room` tag was processed only if `area=yes` is set.  Probably
there are cases that require such behavior, but I'm not sure about it.
2022-08-14 22:32:18 +03:00
Sergey Vartanov
3c5a151984 Fix icon configuration. 2022-08-08 23:57:24 +03:00
Sergey Vartanov
71f5636a0b Fix icon names. 2022-08-07 23:56:38 +03:00
Sergey Vartanov
5361725820 Fix imports. 2022-08-05 00:05:36 +03:00
Sergey Vartanov
49db628d76 Add icon for tomb=pyramid. 2022-08-04 23:56:11 +03:00
Sergey Vartanov
7b1c8e82a0 Add single node drawing. 2022-08-03 13:07:22 +03:00
Sergey Vartanov
68700089ca Redraw fountain icons. 2022-08-03 13:06:35 +03:00
Sergey Vartanov
3dffaa5363 Issue #48: add icon for shop=variety_store. 2022-08-02 23:59:48 +03:00
Sergey Vartanov
b0d946a6b7 Issue #48: reuse icon for shop=department_store. 2022-08-02 23:55:34 +03:00
Sergey Vartanov
efd9ccb31b Close #55: add icon for natural=spring. 2022-08-02 23:51:21 +03:00
Sergey Vartanov
31d550021c Issue #48: add icon for shop=car_parts. 2022-08-02 01:43:42 +03:00
Sergey Vartanov
176e984eab Move grid to separate file. 2022-07-26 03:45:55 +03:00
Sergey Vartanov
9d2ac7e41c Rename element drawing files. 2022-07-26 03:35:53 +03:00