Sun, 07 Jan 2018 01:05:38 +0200
fixes
buses.py | file | annotate | diff | comparison | revisions | |
profiles/föli.ini | file | annotate | diff | comparison | revisions | |
regions.gmp | file | annotate | diff | comparison | revisions |
--- a/buses.py Sun Jan 07 00:56:15 2018 +0200 +++ b/buses.py Sun Jan 07 01:05:38 2018 +0200 @@ -284,6 +284,9 @@ bus_stops[stop_reference].region = region except KeyError: pass + for bus_stop in bus_stops.values(): + if not hasattr(bus_stop, 'region'): + bus_stop.region = None print('%d pysäkkiä' % len(bus_stops), file = stderr)
--- a/profiles/föli.ini Sun Jan 07 00:56:15 2018 +0200 +++ b/profiles/föli.ini Sun Jan 07 01:05:38 2018 +0200 @@ -63,7 +63,7 @@ suikkila = 50 raunistula = 50 pääskyvuori = 100 -logomo = 100 +logomo = 25 rymättylä = 100 sauvo = 500 kemiönsaari = 500
--- a/regions.gmp Sun Jan 07 00:56:15 2018 +0200 +++ b/regions.gmp Sun Jan 07 01:05:38 2018 +0200 @@ -1,4 +1,4 @@ -roadmap^60.453958332715494, 22.152042012730252^15@undefined^#FF0000,5,1,#ff8800,0.4^^60.3977,22.24465~60.40772,22.24046~60.40792,22.26057~60.40076,22.27409~60.3952,22.25642 +roadmap^60.44535462295548, 22.298715930500638^16@undefined^#FF0000,5,1,#ff8800,0.4^^60.3977,22.24465~60.40772,22.24046~60.40792,22.26057~60.40076,22.27409~60.3952,22.25642 Haarla^#FF0000,5,1,#ff8800,0.4^^60.3977,22.22706~60.38719,22.23676~60.38341,22.22466~60.38518,22.21205~60.39359,22.20706~60.39816,22.21341 Friskala^#FF0000,5,1,#ff8800,0.4^^60.39868,22.21599~60.39804,22.22852~60.38876,22.23916~60.38952,22.24843~60.39329,22.25135~60.40217,22.23474~60.4019,22.21689 Oriniemi^#FF0000,5,1,#ff8800,0.4^^60.38871,22.16432~60.39236,22.18483~60.39972,22.188~60.40171,22.1823~60.39919,22.15413~60.39151,22.15633 @@ -195,7 +195,7 @@ undefined^#FF0000,5,1,#ff8800,0.4^^60.48002,22.29883~60.47485,22.29218~60.47239,22.29136~60.47177,22.30714~60.47418,22.31576~60.47621,22.31538~60.48083,22.3011 undefined^#FF0000,5,1,#ff8800,0.4^^60.47194,22.28444~60.46773,22.27778~60.46291,22.27042~60.46123,22.27052~60.46067,22.27275~60.46331,22.28014~60.46655,22.28452~60.47039,22.28564 undefined^#FF0000,5,1,#ff8800,0.4^^60.46454,22.27109~60.47194,22.28216~60.47447,22.2786~60.47493,22.26699~60.47301,22.26558~60.46881,22.26787 -undefined^#FF0000,5,1,#ff8800,0.4^^60.44633,22.27881~60.44291,22.28361~60.43985,22.28621~60.44384,22.30489~60.44693,22.29655~60.44807,22.28946~60.44718,22.28422~60.44777,22.28313 +undefined^#FF0000,5,1,#ff8800,0.4^^60.44633,22.27881~60.44291,22.28361~60.43985,22.28621~60.44399,22.30557~60.44694,22.29819~60.44807,22.28946~60.44718,22.28422~60.44777,22.28313 undefined^#FF0000,5,1,#ff8800,0.4^^60.46486,22.29223~60.46296,22.29501~60.46267,22.29761~60.46128,22.2971~60.46032,22.29738~60.46069,22.30326~60.46243,22.30332~60.46421,22.3033~60.46594,22.29844~60.46581,22.29539 undefined^#FF0000,5,1,#ff8800,0.4^^60.59362,22.32869~60.5814,22.38927~60.59623,22.42342~60.63292,22.45499~60.65058,22.46426~60.65584,22.36526~60.63174,22.35328~60.61553,22.34354~60.59615,22.33143 undefined^#FF0000,5,1,#ff8800,0.4^^60.44566,22.32894~60.44287,22.33761~60.44321,22.34782~60.44984,22.34589~60.45284,22.34048~60.45192,22.3356~60.44968,22.33216 @@ -244,7 +244,7 @@ undefined^#FF0000,5,1,#ff8800,0.4^^60.49531,22.25345~60.49046,22.27886~60.48335,22.27249~60.48353,22.24978 undefined^#FF0000,5,1,#ff8800,0.4^^60.47545,22.26723~60.48539,22.27615~60.49287,22.28323~60.49262,22.28757~60.4907,22.29787~60.48645,22.297~60.48369,22.29494~60.47769,22.28517~60.47541,22.28491 undefined^#FF0000,5,1,#ff8800,0.4^^60.49647,22.33471~60.5015,22.34155~60.49406,22.36911~60.48475,22.34869~60.4904,22.33324~60.49375,22.33852 -undefined^#FF0000,5,1,#ff8800,0.4^^60.44783,22.28333~60.44728,22.28426~60.44814,22.28945~60.44698,22.29669~60.44388,22.30504~60.44451,22.30853~60.44911,22.30057~60.44837,22.2984~60.44967,22.29512~60.45097,22.29296 +undefined^#FF0000,5,1,#ff8800,0.4^^60.44783,22.28333~60.44728,22.28426~60.44814,22.28945~60.44701,22.29825~60.44403,22.30577~60.44451,22.30853~60.44911,22.30057~60.44837,22.2984~60.44967,22.29512~60.45097,22.29296 undefined^#FF0000,5,1,#ff8800,0.4^^60.45103,22.29307~60.45194,22.29418~60.45214,22.29715~60.45136,22.29699~60.44916,22.30051~60.44841,22.2984~60.44968,22.29516 undefined^#FF0000,5,1,#ff8800,0.4^^60.57936,22.33671~60.57533,22.3661~60.56055,22.34237~60.56665,22.3174 undefined^#FF0000,5,1,#ff8800,0.4^^60.46446,22.27107~60.46302,22.27036~60.47198,22.28431~60.47193,22.28227