Ignore:
Timestamp:
03/21/2019 08:55:34 AM (7 years ago)
Author:
jdalbey
Message:

Add items to adhoc_incidents.xml, add unavailable image for cctv files not found - and corresponding code in cctvLayer.js. Make HAR messages upper case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/utilities/BuildHighwayFile.java

    r291 r338  
    2929public class BuildHighwayFile 
    3030{ 
    31     final public static String filepath = "config/vds_data/old_vds_data/"; 
    32     final public static String vdsFileName = "d12_vds_meta_triangle.csv"; 
     31    final public static String dirpath = "config/vds_data/old_vds_data/"; 
     32    final public static String vdsFileName = "d12_vds_meta.txt"; 
    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_triangle.txt"; 
     35    final public static String highwayFile = "highways_complete.txt"; 
    3636    /** A dictionary of ldsIDs to VDSids */ 
    3737    Map<String,StationAddr> ldsDict; 
     
    5454        try 
    5555        { 
    56             PrintWriter hwyWriter = new PrintWriter(new File(filepath+highwayFile)); 
     56            PrintWriter hwyWriter = new PrintWriter(new File(dirpath+highwayFile)); 
    5757            hwyWriter.print(feplines.size()+"\n"); 
    5858            // for each fep line 
     
    108108        try 
    109109        { 
    110             Scanner loopScanner = new Scanner(new File(filepath+loopFileName)); 
     110            Scanner loopScanner = new Scanner(new File(dirpath+loopFileName)); 
    111111             
    112112            loopScanner.nextLine();  // Skip the column headers 
     
    217217        try 
    218218        { 
    219             Scanner vdsScanner = new Scanner(new File(filepath+vdsFileName)); 
     219            Scanner vdsScanner = new Scanner(new File(dirpath+vdsFileName)); 
    220220             
    221221            // Read the tab-delimited vds file 
     
    252252        try 
    253253        { 
    254             Scanner ldsScanner = new Scanner(new File(filepath+ldsFileName)); 
     254            Scanner ldsScanner = new Scanner(new File(dirpath+ldsFileName)); 
    255255             
    256256            ldsScanner.nextLine();  // Skip the column headers 
Note: See TracChangeset for help on using the changeset viewer.