Sergey Vartanov
1974c0aafe
Merge.
...
Add support for Docker.
2022-02-01 22:20:49 +03:00
Sven Fischer
3f52cf2022
Add support for Docker.
...
This pull requests adds support to let map-machine run in a container. The added `Dockerfile` is a first running version, which has room for improvement, e.g. do not run the processes as root and use a virtual env, reduce image size by cleaning up apt cache. The `.dockerignore` ignores copying files to the container, which are not needed.
The docker build and an example call can look like this:
```
docker build -t strubbl_mapmachine .
docker run -v /data/mapmachine/maps:/maps strubbl_mapmachine render --cache /maps/cache -z 18 -o /maps/wentorf.svg -b 10.2445866411,53.4858307519,10.2726961915,53.4981753961
```
2022-02-01 19:10:38 +01:00
Sergey Vartanov
de8be46648
Specify Black version.
2022-02-01 08:04:24 +03:00
Sergey Vartanov
1b9b6d1fd7
Reuse icon for amenity=gym.
2022-01-30 17:45:11 +03:00
Sergey Vartanov
e2c6f8cd37
Issue #107 : enhance style for man_made=embankment.
2022-01-28 07:53:25 +03:00
Sergey Vartanov
1c45f93fa4
Issue #107 : enhance style for natural=cliff.
2022-01-28 07:53:04 +03:00
Sergey Vartanov
a16bf52f55
Issue #107 : support parallel offset for ways.
2022-01-28 07:51:49 +03:00
Sergey Vartanov
88dd7f4426
Clean code; ignore offset error.
2022-01-28 07:47:13 +03:00
Sergey Vartanov
844905caa4
Issue #83 : fix placement offset.
2022-01-28 07:44:44 +03:00
Sergey Vartanov
743cbb5df7
Issue #100 : fix boundary box computing.
2022-01-28 07:41:59 +03:00
Sergey Vartanov
11c72d174e
Fix way direction.
2022-01-28 07:35:01 +03:00
Sergey Vartanov
9a1130c3a6
Issue #103 : fix rendering test.
2022-01-26 10:57:38 +03:00
Sergey Vartanov
34f642b713
Fix using metadata for wireframe modes.
...
New elements not yet in database have no author name and creation
time values.
2022-01-26 09:46:47 +03:00
Sergey Vartanov
710e3b0980
Refactor tree drawing.
2022-01-26 09:44:08 +03:00
Sergey Vartanov
60836bf2f7
Fix #106 : node tag matching.
...
Text values was treated as regular expressions.
2022-01-26 09:40:53 +03:00
Sergey Vartanov
5ecbb3f349
Fix typo.
2022-01-26 02:03:23 +03:00
Sergey Vartanov
9a6f8d2f87
Issue #103 : support credits.
2022-01-26 01:44:22 +03:00
Sergey Vartanov
2f1769ae0a
Add construction wall color to scheme.
2022-01-25 08:49:00 +03:00
Sergey Vartanov
7a1feef43f
Support roof drawing.
2022-01-24 23:39:22 +03:00
Sergey Vartanov
ed86aef731
Fix construction wall color.
2022-01-24 00:55:23 +03:00
Sergey Vartanov
7fbc7cb96f
Improve construction drawing.
...
Draw buildings under construction without roof.
2022-01-23 23:38:20 +03:00
Sergey Vartanov
f9d9442da3
Improve construction detection.
2022-01-23 23:36:49 +03:00
Sergey Vartanov
ef05e14e4f
Add glass color.
2022-01-23 23:36:22 +03:00
Sergey Vartanov
f719fc3577
Close #105 : add style for construction.
2022-01-23 07:27:09 +03:00
Sergey Vartanov
f912fa61b2
Fix building foundations.
2022-01-23 07:01:03 +03:00
Sergey Vartanov
aada02ee0b
Fix typos in readme.
2022-01-23 05:58:17 +03:00
Sergey Vartanov
5b1c7a08db
Change bus shape.
2022-01-23 02:18:36 +03:00
Sergey Vartanov
8adab6cc8a
Add icon for advertising=column.
2022-01-23 01:44:11 +03:00
Sergey Vartanov
30d00ee81d
Add icon for building=houseboat.
2022-01-23 01:17:57 +03:00
Sergey Vartanov
5ebd3c8720
Add icon for building=container.
2022-01-22 23:55:49 +03:00
Sergey Vartanov
c2b4890695
Add icon for building=construction.
2022-01-21 23:59:30 +03:00
Sergey Vartanov
5862058a31
Fix Wiki headers.
2022-01-20 23:53:28 +03:00
Sergey Vartanov
7fedf63af6
Fix table header.
...
Make table header vertical only if at least one of the header cells is
wider than 2 characters.
2022-01-18 23:51:55 +03:00
Sergey Vartanov
1de408ec9a
Add roof collections.
2022-01-18 23:50:14 +03:00
Sergey Vartanov
5afc0fc3fa
Add icon for 5-story apartments, skillion roof.
2022-01-15 23:24:43 +03:00
Sergey Vartanov
0f0bf34cf9
Add icon for 4-story apartments, skillion roof.
2022-01-15 23:23:21 +03:00
Sergey Vartanov
6a4a589aed
Add icon for 3-story apartments, skillion roof.
2022-01-15 23:21:56 +03:00
Sergey Vartanov
8b9748087f
Fix scheme test.
2022-01-15 12:51:56 +03:00
Sergey Vartanov
226389ebe8
Add building category.
2022-01-15 12:44:47 +03:00
Sergey Vartanov
f6ed5a5533
Add apartment collection.
2022-01-15 12:44:30 +03:00
Sergey Vartanov
c787f48058
Get use of colors from scheme.
2022-01-15 12:44:08 +03:00
Sergey Vartanov
5d88d1d85d
Add icon for 2-story apartments, skillion roof.
2022-01-13 23:59:12 +03:00
Sergey Vartanov
ae82d2ced6
Add icon for 1-story apartments, skillion roof.
2022-01-12 00:03:20 +03:00
Sergey Vartanov
6bbeb27d89
Add icon for five-story apartments, gabled roof.
2022-01-11 23:50:29 +03:00
Sergey Vartanov
4e42334e0b
Add icon for four-story apartments, gabled roof.
2022-01-11 23:48:30 +03:00
Sergey Vartanov
fd8fad7b07
Add icon for three-story apartments, gabled roof.
2022-01-11 23:46:49 +03:00
Sergey Vartanov
c58c99d2c9
Reuse icon for deprecated building=entrance.
2022-01-11 23:42:43 +03:00
Sergey Vartanov
473acab003
Add circle shapes.
2022-01-11 23:41:26 +03:00
Sergey Vartanov
3a3c59d63f
Add icon for two-story apartments, gabled roof.
2022-01-10 23:58:30 +03:00
Sergey Vartanov
19b56f0fba
Add icon for one-story apartments, gabled roof.
2022-01-10 23:55:41 +03:00