Commit graph

769 commits

Author SHA1 Message Date
8c5e152621 Disable priorities compression by default
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-08-07 11:59:25 -03:00
9c914f097b Compress / re-space priorities evenly
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-08-07 11:59:25 -03:00
58dcaaba51 Load priorities from *.prio.txt files
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-08-07 11:59:25 -03:00
0850cde772 Dump priorities into separate *.prio.txt files
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-08-07 11:59:25 -03:00
b34963026a Calculate minVisibleScale for overlays only
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-08-07 11:59:25 -03:00
492906e130 Prepend minVisibleScale to priority values
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-08-07 11:59:25 -03:00
8e8f17bd29 Remove unused zoom 0 from drules output
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-08-07 11:59:25 -03:00
ebe1ced85c Remove empty casing dashdot definitions
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-07-08 15:20:54 -03:00
2f311e7504 Add a bg-top priorities range
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-06-23 09:21:13 -03:00
dbba1c41e0 Allow comments in mapcss-mapping.csv
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-06-20 21:56:13 +02:00
d580b748f2 Make captions optional by default
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-03-26 12:08:57 -03:00
5b160e185f Remove apply_for_type symbol attribute
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-02-15 11:33:00 -03:00
9b38690e69 Optimize choosers by discarding non-matching rules
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-02-10 12:31:30 -03:00
27b41b5e3f Add zoom into choosers optimization tree
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-02-10 12:31:30 -03:00
70fa78f39b Optimize frequently called functions
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-02-10 12:31:30 -03:00
41498a6ec5 Process unique runtime conditions once only
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-02-10 12:31:30 -03:00
4e29892282 Optimize looking for runtime conditions in selectors
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-02-10 12:31:30 -03:00
a6daa7121b Make per-tag sets of selectors more precise and small
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-01-21 12:57:14 -03:00
471abbd754 Look for missing base_width to use with casing-width
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-01-20 11:29:46 -03:00
32cc5aafb6 Add casing-width-add support
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-01-20 11:29:46 -03:00
Viktor Govako
f9de08f90f
Merge pull request #4 from organicmaps/vng-fix
Don't mix "casing-" for line and area rules.
2023-01-17 17:30:35 -03:00
Viktor Govako
d6a507cfc0 Don't mix "casing-" for line and area rules.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2022-06-07 16:45:54 +03:00
Viktor Govako
01d4e4586c
Merge pull request #3 from organicmaps/vng-python3
Python3 + priorities ascending order.
2022-05-17 11:50:11 +03:00
Viktor Govako
89b59de837 Python3 migration.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2022-05-16 17:06:19 +03:00
Viktor Govako
367da7e676 Added -x-me-min-text-priority hack.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2022-05-16 12:29:40 +03:00
Evgeniy A. Dushistov
967fcbc17f migration to python3
Signed-off-by: Evgeniy A. Dushistov <dushistov@mail.ru>
2021-05-02 22:41:05 +02:00
mpimenov
cbaff545dd
Merge pull request #37 from tatiana-yan/mark_original_type
Mark original type to distinguish it among replacing types.
2020-02-28 16:23:06 +03:00
tatiana-yan
d26470bc11 Mark original type to distinguish it among replacing types. 2020-02-28 16:22:16 +03:00
Ilya Zverev
0fb640bd0e Fix static tags detection by skipping obsolete lines 2017-12-28 15:40:02 +03:00
Roman Kuznetsov
2dc0d72e3f Merge pull request #35 from mapsme/extra_tag
Support extra tags for libkomwm
2017-07-27 16:49:40 +03:00
Ilya Zverev
2ef9e75495 Remove hardcoded sport key reference 2017-07-27 16:26:21 +03:00
Ilya Zverev
071089b704 Support extra tags for libkomwm 2017-07-27 16:03:28 +03:00
Roman Kuznetsov
01addafa2e Updated drules after protobuf updating 2017-07-10 15:58:01 +03:00
Roman Kuznetsov
edf671e62a Merge pull request #33 from mapsme/no_dup
Remove printing of a message
2017-03-22 17:41:31 +03:00
Ilya Zverev
21bdff8b77 Remove print 2017-03-22 17:39:48 +03:00
Ilya Zverev
17d84174bf Merge pull request #32 from rokuz/casing-fixes
Added strict checking of casing necessity
2017-02-14 13:40:42 +04:00
r.kuznetsov
c5bda708d1 Added strict checking of casing necessity 2017-02-14 12:38:14 +03:00
Ilya Zverev
8312fed1e7 Merge pull request #30 from rokuz/added-area-border-color
Added border color for areas
2017-02-14 12:56:02 +04:00
r.kuznetsov
9e80259b86 Added casing(border) color to areas 2017-02-14 11:35:03 +03:00
Ilya Zverev
c2e53c52d7 Merge pull request #29 from therearesomewhocallmetim/fix_duplicates
Added a check for duplicates.
2017-02-10 17:17:01 +04:00
Timofey
93795f7aef Added a check for duplicates. 2017-02-10 15:28:07 +03:00
Ilya Zverev
027fcfda67 Merge pull request #28 from rokuz/rename-proto
Renamed fields according to protobuf
2017-02-09 15:28:54 +04:00
r.kuznetsov
853c8595f8 Renamed fields according to protobuf 2017-02-09 14:27:49 +03:00
Ilya Zverev
0fabae77ca Merge pull request #27 from rokuz/style-fix
Some pretty renaming
2017-02-08 19:04:44 +04:00
r.kuznetsov
5d2f32c0df Some pretty renaming 2017-02-08 18:03:12 +03:00
Ilya Zverev
993ef6b88a Merge pull request #26 from rokuz/added-colors-section
Added colors section
2017-02-08 14:05:39 +04:00
r.kuznetsov
64d9ba6b63 Review fixes 2017-02-08 13:00:30 +03:00
Roman Kuznetsov
cb9d19f210 Merge pull request #24 from mapsme/datapath
Allow specifying data path
2017-02-07 11:46:11 +03:00
r.kuznetsov
2d0c2df3dd Added colors section 2017-02-03 17:03:51 +03:00
Ilya Zverev
8bd066810b Merge pull request #25 from rokuz/shield-rendering
Added shields rendering
2017-01-31 15:47:57 +04:00