diff --git a/map_machine/feature/__init__.py b/map_machine/feature/__init__.py index a34c92e..6db5a5a 100644 --- a/map_machine/feature/__init__.py +++ b/map_machine/feature/__init__.py @@ -1,3 +1 @@ -""" -Specific map features: roads, directions, etc. -""" +"""Specific map features: roads, directions, etc.""" diff --git a/map_machine/geometry/__init__.py b/map_machine/geometry/__init__.py index 3b1a03f..6ebd8cc 100644 --- a/map_machine/geometry/__init__.py +++ b/map_machine/geometry/__init__.py @@ -1,3 +1 @@ -""" -Map geometry: dealing with coordinates, projections. -""" +"""Map geometry: dealing with coordinates, projections.""" diff --git a/map_machine/geometry/boundary_box.py b/map_machine/geometry/boundary_box.py index 9dc0411..cc5e02d 100644 --- a/map_machine/geometry/boundary_box.py +++ b/map_machine/geometry/boundary_box.py @@ -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 ,,,. Coordinates are rounded to three digits after comma. """