Changeset 291 in tmcsimulator for trunk/src


Ignore:
Timestamp:
03/02/2019 03:08:18 PM (7 years ago)
Author:
jdalbey
Message:

file cleanup and reorganization

Location:
trunk/src
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cptms/cptms_map_v55.html

    r286 r291  
    8282    // Dot colors used in traffic model to indicate free-flowing, slowed, and stopped traffic 
    8383    // and their associated zvalues so slower traffic dots are more visible. 
    84     var colorZvalues = {"lime":10,"yellow":20,"red":30}; 
     84    // white means a disabled spot 
     85    var colorZvalues = {"white":5,"lime":10,"yellow":20,"red":30}; 
    8586 
    8687    // Build a solid colored icon to use instead of the classic pin 
     
    116117        map.data.setStyle(function(feature)  
    117118        { 
    118             //console.log(feature.getId() + " " + feature.getGeometry().get()); 
    119119            // Get the postmile id  
    120120            var name = feature.getId(); 
     
    152152    function calcDistanceFactor() 
    153153    { 
    154         // 15 is maximum zoom, the point at which no adjusment is needed 
     154        // 15 is maximum zoom, the point at which no adjustment is needed 
    155155        return (.0005*(15-map.getZoom()));   
    156156    } 
     
    162162    function adjustCoords(adjAmount) 
    163163    { 
    164         //console.log("adjusting coordinates"); 
    165164        // Adjust the NB points a slight amount 
    166165        map.data.forEach(function(feature) 
     
    195194            // set zIndex for slowed traffic to a higher value so they overlap 
    196195            currentFeature.setProperty("zIndex", colorZvalues[newColor]); 
    197             //console.log(target+" updated to "+newColor); 
    198196        } 
    199197     } 
     
    341339            // fetch how much the map is currently zoomed 
    342340            currentZoom = map.getZoom();  
    343             //console.log("Zoom changed to ",currentZoom); 
    344341            // only bother adjusting within this range 
    345342            if ((currentZoom <16) && (currentZoom>10)) 
  • trunk/src/cptms/scaling_dotsize_prototype.html

    r284 r291  
    77      /* Set the size of the div element that contains the map */ 
    88      #mapdiv { 
    9         height: 550px;  // or  height: 100% 
     9        height: 550px;   
    1010        width: 100%;   
    1111       } 
  • trunk/src/tmcsim/application.properties

    r285 r291  
    1 #Thu, 28 Feb 2019 10:42:26 -0800 
     1#Sat, 02 Mar 2019 15:51:02 -0800 
    22 
    3 Application.revision=283 
     3Application.revision=289 
    44 
    5 Application.buildnumber=101 
     5Application.buildnumber=102 
  • trunk/src/tmcsim/utilities/BuildHighwayFile.java

    r283 r291  
    3030{ 
    3131    final public static String filepath = "config/vds_data/old_vds_data/"; 
    32     final public static String vdsFileName = "d12_vds_meta.txt"; 
     32    final public static String vdsFileName = "d12_vds_meta_triangle.csv"; 
    3333    final public static String loopFileName = "cleaned_chu_atms_loop_data.txt"; 
    3434    final public static String ldsFileName = "cleaned_chu_atms_lds_data.txt"; 
    35     final public static String highwayFile = "highways_fullmap.txt"; 
     35    final public static String highwayFile = "highways_triangle.txt"; 
    3636    /** A dictionary of ldsIDs to VDSids */ 
    3737    Map<String,StationAddr> ldsDict; 
Note: See TracChangeset for help on using the changeset viewer.