Oops, "type" was a bad choice of field name

This commit is contained in:
Ian Renton
2026-08-14 17:59:15 +01:00
parent 12c2e66c64
commit efec8e220e
29 changed files with 47 additions and 36 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class SOTA(FileDownloadSIGRefDataProvider):
longitude = float(row["Longitude"]) if "Longitude" in row and row["Longitude"] != "" else None
altitude = float(row["AltM"]) if "AltM" in row and row["AltM"] != "" else None
ref = SIGRef(sig=self.SIG, id=ref_id, name=row["SummitName"] if "SummitName" in row else None,
type="Summit",
ref_type="Summit",
url="https://www.sotadata.org.uk/en/summit/" + ref_id,
latitude=latitude,
longitude=longitude,