Commit graph

457 commits

Author SHA1 Message Date
Sergey Vartanov
e1a035fb1e Fix power pole delta icons. 2022-07-03 18:42:47 +03:00
Sergey Vartanov
b2a071b4b3 Fix documentation. 2022-06-25 21:01:13 +03:00
Sergey Vartanov
c7811a3218 Fix module descriptions. 2022-06-25 21:00:48 +03:00
Sergey Vartanov
18d475277d Fix pydocstyle warnings. 2022-06-07 23:58:46 +03:00
Sergey Vartanov
675435dd1a Fix import error. 2022-06-07 23:53:36 +03:00
Sergey Vartanov
80aa4b1680 Fix pydocstyle warnings. 2022-06-07 23:52:58 +03:00
Sergey Vartanov
a5f9964d6d Add multipolygon test drawing. 2022-06-07 23:45:31 +03:00
Sergey Vartanov
1fcc41e4f2 Fix type defects found by Pyre. 2022-06-07 23:42:49 +03:00
Sergey Vartanov
023a524f73 Issue #128: fix placement tag processing.
If `lanes` tag is not specified or specified incorrectly, number of
lanes should be adjusted to fit `placement` tag values.
2022-06-06 22:51:08 +03:00
Sergey Vartanov
4c0f9d60ba Remove redundant function. 2022-06-06 09:09:39 +03:00
Sergey Vartanov
ac2d777c99 Add / as a delimiter for coordinates.
Now coordinates in `--coordinates` option can be copied and pasted from
OpenStreetMap URL.
2022-06-06 02:09:42 +03:00
Sergey Vartanov
d0ef85cd0b Issue #125: split way priority.
Now 40.0 is a special way priority. Ways that have priority less than
40.0 will be drawn below the road layer, and ways that have priority
greater than 40.0 will be drawn above the road layer.
2022-05-31 00:43:45 +03:00
Sergey Vartanov
a6c94a091f Issue #125: add style for disused railways. 2022-05-28 23:49:19 +03:00
Sergey Vartanov
2fca317bef Add texts element drawing. 2022-05-27 01:25:26 +03:00
Sergey Vartanov
147a5de0d5 Refactor tags in element drawing. 2022-05-27 01:25:08 +03:00
Sergey Vartanov
d83205aad0 Fix #133: typo in motorcar=yes. 2022-05-25 01:06:31 +03:00
Sergey Vartanov
9b5066fd44 Make data credit optional. 2022-05-25 01:05:32 +03:00
Sergey Vartanov
7373eadaa6 Refactor element drawing. 2022-05-24 10:18:42 +03:00
Sergey Vartanov
080f37d2c6 Add overlapping ways drawing. 2022-05-24 09:55:47 +03:00
Sergey Vartanov
f15a025524 Extract path variable. 2022-05-24 01:58:57 +03:00
Sergey Vartanov
df67d8c37a Move tags to separate file. 2022-05-23 23:59:12 +03:00
Sergey Vartanov
1bfdcee1d7 Move drawing elements file. 2022-05-23 23:54:25 +03:00
Sergey Vartanov
d095cbeec3 Remove redundant field. 2022-05-23 23:53:07 +03:00
Sergey Vartanov
95f844ef67 Optimize imports. 2022-05-21 00:00:47 +03:00
Sergey Vartanov
d1214bec35 Refactor Moire files. 2022-05-20 02:44:28 +03:00
Sergey Vartanov
5d2b0cc720 Issue #132: fix vending machine icon priority.
The generic vending machine icon was taking precedence over more
specific ones when amenity=vending_machine is present.
2022-05-20 02:00:48 +03:00
Sergey Vartanov
2b6f2d8968 Rename collections.
Seems like it leads to a cricular import.
2022-05-16 03:26:18 +03:00
Sergey Vartanov
1ea38aab97 Refactor drawing process. 2022-05-16 03:13:21 +03:00
Sergey Vartanov
c58cbfe4f9 Rename element drawing. 2022-05-15 20:29:32 +03:00
Sergey Vartanov
fb673798bc Fix import. 2022-05-15 19:08:38 +03:00
Sergey Vartanov
e5a7722fd4 Refactor element drawing. 2022-05-11 23:55:50 +03:00
Sergey Vartanov
94e5aa7725 Move contributing file. 2022-05-01 23:29:54 +03:00
Andrew Klofas
e8604ec408
PR #131: allow duplicate ids in OSM data.
* Allow duplicate id's in `OSMData` class as long as data identical.

Allows creating OSMData classes from composite datasets with
overlapping but identical data.

* Fixed formatting issues.
2022-05-01 23:22:05 +03:00
Sergey Vartanov
7105e4ce88 Issue #129: add style for greenhouse_horticulture.
Tag is landuse=greenhouse_horticulture.
2022-04-27 02:03:15 +03:00
Sergey Vartanov
b44fe64f8e Issue #129: add style for recreation_ground.
Tag is leisure=recreation_ground.
2022-04-27 02:01:31 +03:00
Sergey Vartanov
d9de7bf96b Issue #129: add style for landuse=village_green. 2022-04-27 01:06:12 +03:00
Sergey Vartanov
fa27e58d71 Issue #125: add style for railway=construction. 2022-04-27 00:48:57 +03:00
Sergey Vartanov
5a934e2f37 Issues #126: refactor figures sorting. 2022-04-27 00:11:10 +03:00
Sergey Vartanov
32bad69fc5 Issues #126: fix waterways priority. 2022-04-23 23:33:23 +03:00
Sergey Vartanov
6e38ca5aa8 Issues #67, #122: refactor text constructing.
Fixes main label mode.
2022-04-08 02:48:21 +03:00
Sergey Vartanov
a082722b6d Refactor icon colors. 2022-04-08 01:27:13 +03:00
Sergey Vartanov
a55579e4e2 Support color for default icon. 2022-04-08 00:55:42 +03:00
Sergey Vartanov
a7e7a5fc94 Fix default icon checking. 2022-04-08 00:21:30 +03:00
Sergey Vartanov
6d3180724b Issue #121: fix colors. 2022-04-08 00:05:27 +03:00
Sergey Vartanov
438500fe7f Issue #121: fix hidden icons.
Dots for hidden icons should not affect normally drawn icons.
2022-04-07 23:44:55 +03:00
Sergey Vartanov
360ca3f600 Issue #121: add show overlapped feature. 2022-04-06 03:12:39 +03:00
Sergey Vartanov
7c99d828f4 Issue #121: add show overlapped option. 2022-04-03 23:25:03 +03:00
Sergey Vartanov
e85e98e92c Update Black version. 2022-04-03 22:57:41 +03:00
Sergey Vartanov
8863c67126 Fix electricity shape. 2022-04-03 22:45:41 +03:00
Sergey Vartanov
1f4fb66c85 Close #98: copy license file to icon collection. 2022-02-24 00:50:43 +03:00