# Bruce Peterson, ORNL, 865-946-1352 # 2004 Jan 27 # You may run program RHA to reformat the native ASCII network files # into a GIS-ready form, with your selection of attributes. RHA is # provided as both Fortran source code and a Microsoft Windows executable. # # To run RHA, # 1. Edit this CFG file with link and node variables to be included # in output, the output format ("TYPE"), and replace file names of # input and output. # 2. In a DOS window, type \path\RHA RHASHAPE.txt # ie, executable filename with optional path followed by [this] # configuration file's name. # # The CFG file contains the program's instructions; RHA is batch, not # interactive. To import the data into your GIS, you may have to further # specify to the GIS the nature of the data, eg, with an AML in Arc/Info # or a dictionary file in Maptitude. The list of variables below will # help you construct these instructions. # # The executable RHA.EXE was produced by the Digital Visual Fortran # compiler under WinNT using compiler libraries and the accompanying # RHAMAIN.FOR and RHASUBS.FOR source code files only. # # The list of possible output variables for highways (DSYSTM='h') # is included below. Add or remove comment symbols ('#') for the # variables you want. Order is irrelevant to the program. # # # RHA config file for US type V-shapefiles (A-arc P-maptitude M-mapinfo T-transcad2) dsystm h blnkcv "_" # to avoid all blank character variables output d:\tmp\hpu # output file names will be extensions of this root, # eg, hpul.mdf, hpun.mif, etc input d:\tmp\hp40us.lkr jexcl U # exclude unused nodes (of incidence zero) #lincl LSEQ i 6 # Ie, 1,2,3,4,... #lincl LID i 8 lincl ALID c 8 #lincl LTYP c 1 #lincl SR c 18 lincl SR1 c 6 lincl SR2 c 6 #lincl SR3 c 6 lincl MILES f 6,2 lincl HDNG c 1 lincl ONEWAY c 1 lincl RURB c 1 lincl MEDIAN c 1 lincl ACCESS c 1 lincl NLANE i 2 lincl STATUS c 1 lincl TRFCTL c 1 lincl TOLL c 1 lincl BIT1 c 1 lincl TRKRT c 1 lincl STRHNT c 1 lincl BITTNL c 1 lincl ADMIN c 1 lincl FUNC c 2 lincl LSRC c 1 lincl LUPDAT c 1 lincl SUBNET c 1 lincl JA i 7,7 lincl JB i 7,7 lincl STREET c 13 #lincl PAVMNT c 1 #lincl FFUNC c 1 #lincl NPOINT i 4 #lincl GLEN f 6,2 #lincl DSTRAT f 7,3 #lincl EFUNC f 4,1 #lincl DIRCTN c 2 #lincl PHYSCL c 5 #lincl SHIELD c 1 #jincl JSEQ i 6 jincl JID i 7,7 #jincl AJID c 7 #jincl JLON f 10,5 #jincl JLAT f 10,5 #jincl JTYP c 1 jincl FACIL c 1 jincl ASTATE c 2 jincl JNAME c 26 jincl INCID i 1 #jincl JICHG c 1 #jincl JSRC c 2 #jincl JQID i 6 #jincl AJQID c 6 #jincl BSTAT1 i 2 #jincl BSTAT2 i 2 # END