Changeset 352 in tmcsimulator for trunk/webapps/data_layers/prep_postmiles.py


Ignore:
Timestamp:
04/02/2019 06:28:09 PM (7 years ago)
Author:
jdalbey
Message:

add vds_intersect.py utility and results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/webapps/data_layers/prep_postmiles.py

    r318 r352  
    166166    #outFile = open("pairedDots.json","w") # put results here 
    167167    #[0xFF0000,0xFF4000,0xFF8000,0xFFBF00,0xFFFF00,0x00FF00,0x00FFFF,0x0080FF,0x0000FF,0x8000FF,0xFF00FF] 
    168     colorcode = ["red","salmon","deeppink","coral","orangered","yellow","khaki","purple", 
    169     "slateblue","lime","lightgreen","cyan","blue","slategray"] 
     168    colorcode = ["lime","red","salmon","deeppink","coral","orangered","yellow","khaki","purple", 
     169    "slateblue","lightgreen","cyan","blue","slategray"] 
    170170    colorindex=0 
    171171    for match in matches: 
     
    180180        id = north[match][0] + " " + north[match][1] + " " + north[match][2] 
    181181        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 color 
     182        # colorindex = (colorindex+1) % 14 # advance to next color 
    183183        # remove them from future consideration 
    184184        south.pop(match) 
Note: See TracChangeset for help on using the changeset viewer.