mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
how does i math
This commit is contained in:
@@ -27,8 +27,8 @@ class IOTA(FileDownloadSIGRefDataProvider):
|
||||
if isinstance(data, list):
|
||||
for ref in data:
|
||||
ref_id = ref["refno"]
|
||||
latitude = float(ref["latitude_min"]) + float(ref["latitude_max"]) / 2.0
|
||||
longitude = float(ref["longitude_min"]) + float(ref["longitude_max"]) / 2.0
|
||||
latitude = (float(ref["latitude_min"]) + float(ref["latitude_max"])) / 2.0
|
||||
longitude = (float(ref["longitude_min"]) + float(ref["longitude_max"])) / 2.0
|
||||
grid = None
|
||||
try:
|
||||
grid = latlong_to_locator(latitude, longitude, 6)
|
||||
|
||||
Reference in New Issue
Block a user