Commit graph

365 commits

Author SHA1 Message Date
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
Sergey Vartanov
f1702ece36 Add way style test. 2021-05-25 02:47:17 +03:00
Sergey Vartanov
6aef415579 Add area style test. 2021-05-25 02:44:31 +03:00
Sergey Vartanov
4291bb9193 Add style tests. 2021-05-25 02:42:51 +03:00
Sergey Vartanov
c12ebf5f47 Move test initialization. 2021-05-25 02:42:04 +03:00
Sergey Vartanov
796d545cf6 Refactor tag matching; change scheme format. 2021-05-25 01:36:02 +03:00
Sergey Vartanov
3aa0bf841d Issue #7: add documentation. 2021-05-24 03:03:53 +03:00
Sergey Vartanov
00f888f94a Issue #7: add Japanese symbol for historic. 2021-05-24 00:54:30 +03:00
Sergey Vartanov
f0f1a8beb4 Add replace_shapes flag to scheme specification.
If flag is false, main icon shapes should not be replaced.
2021-05-24 00:44:03 +03:00
Sergey Vartanov
2ece66d5d0 Change scheme format.
Use "shapes" key instead of "icon", "add_shapes" key instead of
"add_icon", "exception" instead of "no_tag".
2021-05-24 00:32:35 +03:00
Sergey Vartanov
1bc7a1f726 Issue #7: add Japanese TV tower symbol. 2021-05-24 00:07:48 +03:00
Sergey Vartanov
aad7b25202 Change icon sorting in grid.
Sort icons in grid by shape identifiers instead of tag priority.
2021-05-24 00:00:38 +03:00
Sergey Vartanov
1aace77aef Issue #7: add Japanese symbol for castle. 2021-05-23 23:45:25 +03:00
Sergey Vartanov
5939c71921 Issue #39: add directed shapes. 2021-05-23 23:24:04 +03:00
Sergey Vartanov
7d6f3f4104 Fix #43: non deterministic icon grid generation. 2021-05-23 23:08:21 +03:00
Sergey Vartanov
617265dce5 Add processed tags set for labels. 2021-05-23 22:39:03 +03:00
Sergey Vartanov
0fc290d844 Remove CodeQL configuration. 2021-05-22 04:05:04 +03:00
Sergey Vartanov
ee6912fb0a Fix pytest invocation. 2021-05-22 04:04:38 +03:00