Ship every Swedish street, a quarter of the US streets, and every US capital and place of 100,000 beside the drawn tenth

This commit is contained in:
2026-10-11 18:50:07 +02:00
committed by Lillem4n
parent 52a28c390c
commit c42c5812fc
9 changed files with 443549 additions and 428 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ def streets(segments, codes, localities, share, minimum):
def main():
a = geo.parser(__doc__, "SE", key_file={"help": "file holding the Trafikverket API key; TRAFIKVERKET_API_KEY otherwise"}).parse_args()
a = geo.parser(__doc__, "SE", 1.0, key_file={"help": "file holding the Trafikverket API key; TRAFIKVERKET_API_KEY otherwise"}).parse_args()
key = Path(a.key_file).read_text().strip() if a.key_file else os.environ.get("TRAFIKVERKET_API_KEY")
if not key:
sys.exit("set TRAFIKVERKET_API_KEY or pass --key-file")