mirror of
https://github.com/enzet/map-machine.git
synced 2025-04-29 10:17:23 +02:00
Fix pydocstyle warnings.
This commit is contained in:
parent
675435dd1a
commit
18d475277d
3 changed files with 6 additions and 9 deletions
|
@ -1,3 +1 @@
|
|||
"""
|
||||
Specific map features: roads, directions, etc.
|
||||
"""
|
||||
"""Specific map features: roads, directions, etc."""
|
||||
|
|
|
@ -1,3 +1 @@
|
|||
"""
|
||||
Map geometry: dealing with coordinates, projections.
|
||||
"""
|
||||
"""Map geometry: dealing with coordinates, projections."""
|
||||
|
|
|
@ -81,8 +81,7 @@ class BoundaryBox:
|
|||
height: float,
|
||||
) -> "BoundaryBox":
|
||||
"""
|
||||
Compute boundary box from central coordinates, zoom level and resulting
|
||||
image size.
|
||||
Compute boundary box from center coordinates, zoom level and image size.
|
||||
|
||||
:param coordinates: boundary box central coordinates
|
||||
:param zoom_level: resulting image zoom level
|
||||
|
@ -144,7 +143,9 @@ class BoundaryBox:
|
|||
|
||||
def get_format(self) -> str:
|
||||
"""
|
||||
Get text representation of the boundary box:
|
||||
Get text representation of the boundary box.
|
||||
|
||||
Boundary box format is
|
||||
<longitude 1>,<latitude 1>,<longitude 2>,<latitude 2>. Coordinates are
|
||||
rounded to three digits after comma.
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue