This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3.7 | |
# -*- coding: utf-8 -*- | |
import traceback | |
import argparse | |
from radbox import * | |
from datetime import datetime | |
from decimal import Decimal, ROUND_HALF_UP | |
from subprocess import check_output | |
from rgbmatrix import RGBMatrix, RGBMatrixOptions, graphics |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3.7 | |
# -*- coding: utf-8 -*- | |
from radbox import * | |
if __name__ == "__main__": | |
baseurls = [URL("https://www.dein-radschloss.de/"), URL("https://www.bikeandridebox.de/")] | |
print("\n".join(f"[{bi}] {bu}" for bi, bu in enumerate(baseurls))) | |
try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Sources] | |
AmtUrl = http://www.stadtplan.hagen.de/StrVz/Hauskoordinaten.csv | |
AmtSep = ; | |
AmtEnc = cp1252 | |
AmtCRS = EPSG:4647 | |
OsmUrl = http://overpass-api.de/api/interpreter?data=%5Bout%3Acsv%28%3A%3Alat%2C%3A%3Alon%2C%3A%3Aid%2C%3A%3Atype%2C%22addr%3Apostcode%22%2C%22addr%3Astreet%22%2C%22addr%3Ahousenumber%22%2C%22addr%3Aplace%22%3Btrue%3B%22%3B%22%29%5D%5Btimeout%3A200%5D%3B%0Aarea%283601800297%29-%3E.searchArea%3B%0A%28%0A%20%20node%5B%22addr%3Ahousenumber%22%5D%28area.searchArea%29%3B%0A%20%20way%5B%22addr%3Ahousenumber%22%5D%28area.searchArea%29%3B%0A%29%3B%0Aout%20center%3B | |
;OsmPlace = Hagen | |
OsmSep = ; | |
OsmEnc = utf-8 |
NewerOlder