mirror of
https://github.com/enzet/map-machine.git
synced 2025-07-26 21:09:18 +02:00
Add --coordinates and --size arguments.
Construct boundary box from center coordinates and size.
This commit is contained in:
parent
cb440e8a8b
commit
b715e12924
8 changed files with 156 additions and 114 deletions
|
@ -414,7 +414,10 @@ class Scheme:
|
|||
continue
|
||||
if not matcher.is_matched(tags, configuration):
|
||||
continue
|
||||
if not matcher.check_zoom_level(configuration.zoom_level):
|
||||
if (
|
||||
not configuration.ignore_level_matching
|
||||
and not matcher.check_zoom_level(configuration.zoom_level)
|
||||
):
|
||||
return None, 0
|
||||
matcher_tags: set[str] = set(matcher.tags.keys())
|
||||
priority = len(self.node_matchers) - index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue