Commit graph

1337 commits

Author SHA1 Message Date
Sergey Vartanov
6a09479a1b Remove cairo from Dockerfile. 2022-09-16 00:15:45 +03:00
Sergey Vartanov
0400da0b2f Fix setup: remove entry for deleted package. 2022-09-16 00:15:25 +03:00
Sergey Vartanov
40186aa736 Merge main. 2022-09-10 13:41:56 +03:00
Sergey Vartanov
f6c49c7928 Update documentation syntax for new Moire version.
In Moire `\code` tag is now has language, if exists, in its first
argument.  This was changed for better syntax highlighting support.
2022-09-10 13:37:34 +03:00
Sergey Vartanov
0d8ba35207 Fix readme. 2022-09-10 02:08:49 +03:00
Sergey Vartanov
5a3a366b76 Remove cairo dependency.
Map Machine is supposed to be an easy-to-install tool.  However,
installing cairo library dependency for PNG tile generation may be not
a trivial task on some operating systems in some environments.

This version of Map Machine removes cairo dependency and does not
support tile generation leaving only SVG map generation feature.
2022-09-10 02:05:41 +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
77c8ec0044 Add link to changelog. 2022-09-02 23:56:08 +03:00
Sergey Vartanov
f7d9dbfb87 Add more versions to changelog. 2022-08-21 17:48:45 +03:00
Sergey Vartanov
e61b23abf3 Add links to changelog. 2022-08-21 17:35:41 +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
2d86ff3b0d Refactor verification test. 2022-08-19 10:59:33 +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
5dfbe17b7e Add test to changelog. 2022-08-03 13:07:01 +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
Sergey Vartanov
05c0c3da63 Move element drawing to element module. 2022-07-26 01:47:25 +03:00
Sergey Vartanov
8d252fe998 Fix tests code style. 2022-07-25 23:54:30 +03:00
Sergey Vartanov
1bb3ca5a37 Fix icons file. 2022-07-24 18:29:30 +03:00
Sergey Vartanov
f835aa1701 Fix code style. 2022-07-24 18:26:17 +03:00
Sergey Vartanov
913ac05f23 Fix documentation. 2022-07-18 23:42:48 +03:00
Sergey Vartanov
0371172aef Fix comment style in tests. 2022-07-18 23:31:23 +03:00
Sergey Vartanov
2c32dd0e9b Fix command-line test.
Error message was changed.
2022-07-11 00:00:10 +03:00
Sergey Vartanov
70660de170 Redraw statue shape. 2022-07-10 23:58:33 +03:00