Commit graph

382 commits

Author SHA1 Message Date
Sergey Vartanov
2a6b5ba350 Get use of pytest fixtures. 2021-06-10 00:17:15 +03:00
Sergey Vartanov
3bb6439d7b Add icon collection class. 2021-06-10 00:07:52 +03:00
Sergey Vartanov
9fd2d869ff Fix icon sorting. 2021-06-08 02:07:14 +03:00
Sergey Vartanov
9bc71ebf92 Fix typo. 2021-06-08 02:06:44 +03:00
Sergey Vartanov
c87ab400e0 Add car icon. 2021-06-08 00:50:21 +03:00
Sergey Vartanov
4c285624b4 Add power pole tags to the default scheme. 2021-06-06 03:09:04 +03:00
Sergey Vartanov
9142922260 Add icons for power=pole. 2021-06-06 03:08:01 +03:00
Sergey Vartanov
2561e77b97 Rearrange icons.
Group icons in the SVG file by types to make editing easy.
2021-06-06 03:05:15 +03:00
Sergey Vartanov
20b2ec1871 Add documentation. 2021-06-06 02:55:54 +03:00
Sergey Vartanov
6a9af15b05 Extract mapper methods. 2021-06-06 01:29:25 +03:00
Sergey Vartanov
c712949c29 Issue #45: add road drawing to mapper. 2021-06-05 23:39:56 +03:00
Sergey Vartanov
73f2c467be Issue #45: add more ways to draw roads. 2021-06-05 23:37:30 +03:00
Sergey Vartanov
9b807c2cbf Add camera direction processing. 2021-06-04 04:36:40 +03:00
Sergey Vartanov
172b48af53 Add test for main direction. 2021-06-04 04:08:04 +03:00
Sergey Vartanov
0747f279c8 Fix main direction computing. 2021-06-04 04:02:28 +03:00
Sergey Vartanov
735f19428d Issue #45: add lane parsing; refactor figure. 2021-06-03 04:39:05 +03:00
Sergey Vartanov
b63a0ed397 Issue #45: add lane properties. 2021-06-03 03:44:34 +03:00
Sergey Vartanov
96b49632d6 Issue #45: fix lane separator end point. 2021-06-01 05:04:14 +03:00
Sergey Vartanov
b15029a07e Issue #45: fix line intersection.
Use infinite lines to find intersection point.
2021-06-01 04:15:29 +03:00
Sergey Vartanov
edf75ff53c Issue #45: add vector arithmetic. 2021-06-01 03:32:29 +03:00
Sergey Vartanov
62f10ab647 Issue #45: support parsing from tags. 2021-06-01 02:46:02 +03:00
Sergey Vartanov
acfeee97eb Issue #45: add debug mode. 2021-06-01 02:38:55 +03:00
Sergey Vartanov
48c91081b3 Issue #45: add simple lane specification. 2021-06-01 01:26:23 +03:00
Sergey Vartanov
e6af8f44df Issue #45: refactor road processing. 2021-06-01 00:51:35 +03:00
Sergey Vartanov
189f6649df Issue #45: add experimental road drawing. 2021-05-31 23:42:41 +03:00
Sergey Vartanov
46fe4f0a9b Issue #45: support part creating from nodes. 2021-05-31 05:16:55 +03:00
Sergey Vartanov
51fe4d0b34 Issue #45: add intersection class. 2021-05-31 05:13:05 +03:00
Sergey Vartanov
d254651292 Add some vector functions. 2021-05-31 05:09:19 +03:00
Sergey Vartanov
3bef455d8e Fix documentation. 2021-05-31 02:22:40 +03:00
Sergey Vartanov
133e6b36c2 Rename readme.
Uppercase seems to be a standard.
2021-05-30 23:01:25 +03:00
Sergey Vartanov
6c5d3e6118 Fix code style and refactor. 2021-05-30 22:44:56 +03:00
Sergey Vartanov
cb988db033 Add gradient test. 2021-05-29 21:52:38 +03:00
Sergey Vartanov
867001d797 Add flinger test. 2021-05-29 15:36:03 +03:00
Sergey Vartanov
a899706923 Add color test. 2021-05-29 15:20:04 +03:00
Sergey Vartanov
65ba89b254 Add reading relation from XML test. 2021-05-29 15:11:19 +03:00
Sergey Vartanov
ea65781c93 Add reading way from XML test. 2021-05-29 14:58:43 +03:00
Sergey Vartanov
17a0e8507f Add reading node from XML test. 2021-05-29 14:27:04 +03:00
Sergey Vartanov
87f7e689a1 Add OSM XML parsing from text. 2021-05-29 04:25:16 +03:00
Sergey Vartanov
b0de6754c1 Fix label mode argument. 2021-05-29 03:00:22 +03:00
Sergey Vartanov
b086b0d108 Issue #45: support lanes.
Assume road width on the basis of lanes number.
2021-05-29 02:47:08 +03:00
Sergey Vartanov
02459a6af0 Issue #45: test fix. 2021-05-28 11:34:07 +03:00
Sergey Vartanov
4b88b64f86 Issue #45: support width tag for roads.
Compute road width from width=* tag if specified.
2021-05-28 04:52:15 +03:00
Sergey Vartanov
3abd2a1769 Refactor figures. 2021-05-28 04:17:35 +03:00
Sergey Vartanov
9d41b34214 Issue #45: refactor road specification in scheme.
Add special "road" part and move road specifications from the "ways".
Add road matcher.  We should remove "priority" key and use
specifications order instead in the future.
2021-05-28 04:05:15 +03:00
Sergey Vartanov
38925e3a71 Remove broken test. 2021-05-28 03:52:33 +03:00
Sergey Vartanov
b4907ecf03 Issue #45: add preliminary Road class.
Road class is supposed to be used as road description for the map.
2021-05-27 03:07:31 +03:00
Sergey Vartanov
579940d75f Move building style from scheme. 2021-05-27 00:53:01 +03:00
Sergey Vartanov
ff88424a34 Fix building object type. 2021-05-26 03:55:12 +03:00
Sergey Vartanov
0285638eb5 Optimize imports. 2021-05-25 02:56:08 +03:00
Sergey Vartanov
b7ed5353f8 Speed up tests. 2021-05-25 02:53:34 +03:00