Reads a pair of coords in degrees mercator, returns (lon, lat).
(
f, base_point: mi.Point, coord_size: int, packed: bool = True
)
| 327 | |
| 328 | |
| 329 | def read_coord( |
| 330 | f, base_point: mi.Point, coord_size: int, packed: bool = True |
| 331 | ) -> mi.Point: |
| 332 | """Reads a pair of coords in degrees mercator, returns (lon, lat).""" |
| 333 | point = read_point(f, base_point, packed) |
| 334 | return to_4326(coord_size, point) |
| 335 | |
| 336 | |
| 337 | def read_bounds(f, coord_size) -> mi.Rect: |
no test coverage detected