mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-01 10:21:54 +02:00
Issue #100: process invalid boundary box.
Stop processing if explicitly specified boundary box is invalid, even if we can get the right one from another source.
This commit is contained in:
parent
f9a6eb84ae
commit
a6851f166b
1 changed files with 2 additions and 0 deletions
|
@ -283,6 +283,8 @@ def render_map(arguments: argparse.Namespace) -> None:
|
|||
|
||||
if arguments.boundary_box:
|
||||
boundary_box = BoundaryBox.from_text(arguments.boundary_box)
|
||||
if not boundary_box:
|
||||
fatal("Invalid boundary box.")
|
||||
|
||||
elif arguments.coordinates:
|
||||
coordinates: Optional[np.ndarray] = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue