Changeset 352 in tmcsimulator for trunk/webapps/data_layers/prep_postmiles.py
- Timestamp:
- 04/02/2019 06:28:09 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/webapps/data_layers/prep_postmiles.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/webapps/data_layers/prep_postmiles.py
r318 r352 166 166 #outFile = open("pairedDots.json","w") # put results here 167 167 #[0xFF0000,0xFF4000,0xFF8000,0xFFBF00,0xFFFF00,0x00FF00,0x00FFFF,0x0080FF,0x0000FF,0x8000FF,0xFF00FF] 168 colorcode = [" red","salmon","deeppink","coral","orangered","yellow","khaki","purple",169 "slateblue","li me","lightgreen","cyan","blue","slategray"]168 colorcode = ["lime","red","salmon","deeppink","coral","orangered","yellow","khaki","purple", 169 "slateblue","lightgreen","cyan","blue","slategray"] 170 170 colorindex=0 171 171 for match in matches: … … 180 180 id = north[match][0] + " " + north[match][1] + " " + north[match][2] 181 181 print ("%s,%s,%s,%s,%s,%s,%s" % (id,north[match][3],north[match][4],north[match][5].rstrip(),northPerps[north[match][2]][0],northPerps[north[match][2]][1],colorcode[colorindex])) 182 colorindex = (colorindex+1) % 14 # advance to next color182 # colorindex = (colorindex+1) % 14 # advance to next color 183 183 # remove them from future consideration 184 184 south.pop(match)
Note: See TracChangeset
for help on using the changeset viewer.
