updade from Atlas repo
This commit is contained in:
@@ -13,7 +13,6 @@ from dataclasses import dataclass
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class Coordinate:
|
||||
|
||||
lat: float
|
||||
long: float
|
||||
|
||||
@@ -21,4 +20,4 @@ class Coordinate:
|
||||
ns = 'N' if self.lat >= 0 else 'S'
|
||||
we = 'E' if self.long >= 0 else 'W'
|
||||
return f'{abs(self.lat):.1f}°{ns}, {abs(self.long):.1f}°{we}'
|
||||
# end::COORDINATE[]
|
||||
# end::COORDINATE[]
|
||||
|
||||
Reference in New Issue
Block a user