Home

gis – tranplan interface project - Center for Transportation Research

image

Contents

1. 3 Run Utilities 4 Run Loaded 5 Into MapInfo These five steps can also be carried out through the use of the Join a Model Run in Progress pull down menu option Selecting Model Run begins the modeling process with step one and continues through step five By selecting Join a Model Run the user can pick a step that needs to be repeated Any one of the five steps of the modeling process can be selected with the modeling process being continued from there The procedures for completing the entire Model Run are identical to the steps required for completing all the Join a Model Run steps therefore see the section of Tranplan Model Run Join a Model Run in Progress for more details Quick Instructions 1 Select the Modeling Model Run pull down menu option 2 Enter into Mapnet the number of TAZ s and whether the model includes a turn prohibitor file If the model does include a turn prohibitor select yes then enter the name of the turn prohibitor file in the turn prohibitor file name input form 3 Select Yes if the interface is to write the Tranplan control files If No go to step six 4 Select the Default Tranplan control file option and press OK 5 Enter the required input into the Default Module Builder 6 Select Yes if the interface is to run Tranplan If No go to step nine 7 Select the Default Tranplan control file unless a user designed Tranplan control file exists and is preferr
2. selecting the incorrect coordinate system will cause a system error of this interface Page 9 of 21 Hcl wack Data Usni mr ivork Dir nos da j E Cork Di inks dal at nei Cvrk Dis hi FA Saat lt a Figure 4 1 Network Data User Input Form gt Production Attiaction Merge PSI E Figure 4 2 Production Attraction Merger Form Below is a sample of how each of the input files should be formatted see Figures 4 3 through 4 5 Tranplan demands data is formatted so as to exist in a particular column or range of columns Consult the Tranplan user s manual for more information on input data formatting Page 10 of 21 i Hodes dat Notepad Iols File Edt Search Help H 4466048 452077 H 446573 46527808 H 446714 46516608 H 4 4HGS16 4651312 Figure 4 3 Nodes dat Example See the Tranplan User s Manual Networks section page 1 9 large coordinates for more details on proper formatting Bj Links dat Notepad Pile ES File Edit Search Help 2 T1848 13371568 22f 831588 2 11938 1637568 5831588 2 11988 1137568 284231588 11868 1251500 236831568 Figure 4 4 Links dat Example See the Tranplan User s Manual Networks section page 1 11 for more details on proper formatting z Gm_pa Notepad _ lolx File Edit Search Help Figure 4 5 Gm pa Gravity Model Production Attraction Example See the Tranplan User s Manual Models section page 1 8 for more details on proper formatting P
3. use in the scenario s model For input in the interface the number of TAZ s includes both the internal and external TAZ s Turn Penalty A value assigned to a turning movement that begins at the origin or A node goes through the turning or B node and terminates at the destination or C node This value represents the number of minutes a turning vehicle must wait before making the turn divided by 100 For example a value of 70 would indicate that a turning vehicle must wait 0 70 minutes before an adequate gap in oncoming traffic occurs allowing the vehicle to execute the desired turning movement This value is part of a turn file described in the Default Module Builder section of this manual For more information see also the Tranplan user s manual in the Loading section page 4 1 Turn Prohibitor A line of data that indicates that a particular turning movement cannot be performed The syntax is similar to that of a turn penalty file however no value is entered in the last column This file is described in more detail in the Arcnet section of this manual For more information see also the Tranplan user s manual in the Network section page 1 9 Page 5 of 21 2 HOWTO USE THIS MANUAL As you work through the GIS Tranplan Interface there is a sequence of events that must be carried out in order for the process to be successful Below is a flowchart that shows the required sequence for carrying out a model run Each process in t
4. 12 Network Map Screen Page 13 of 21 5 Running Tranplan From MapInfo Modeling Once a network has been created in MapInfo the Tranplan modeling software can be utilized to create a loaded network The pull down menu Modeling has two new options for the user The first option Model Run allows the user to take advantage of the interface s programming to create all necessary files for the Tranplan modeling process All file loading has been automated providing a streamlined modeling process The second option Join a Model Run in Progress allows the user to return to a previously completed process in the Model Run and repeat the remainder of the modeling process The remaining options are FORTRAN based programs that had been created for a previous interface An example of the Modeling pull down menu options can be found below in Figure 5 1 MapInfo Professional 0 O O O File Edt Tools Objects Quem Table Options Map window Help TFP MI Modeling oe ee pi Model Rur 5 2 EE 0 Join a Model Run in Progress Visualization Plot Calibration Plot Tuming Movements Additional Tuming Movements Shortest Path Comparison plot About Exit Figure 5 1 5 1 Tranplan Model Run Model Run Description The Model Run options allows the user to easily execute Tranplan and display the output in MapInfo This is accomplished through the use of five steps 1 Run Netbld 2 Run Tranplan
5. 4 Turn Prohibitor File turn txt Example See the Tranplan user s manual Networks section page 1 10 for more details Input Default Mapnet requires that several files exist that are not input by the user Without the required default files the program will not operate The first default file is the directory tree file dirtree txt described in the Tranplan Text Network Registering section of this manual Figure 4 6 This file contains the name of the working directory This directory contains all the input and will receive all the output The next required file is taz txt which is described in Tranplan Text Network Registering also Figure 4 10 It contains the user s previously entered value for the number of TAZ s in the scenario s network Finally nodesout dat Figure 4 7 and linksout dat Figure 4 8 are the two final default inputs for running Mapnet Output Mapnet produces a text file net in txt which is used as a control file when running Tranplan This control file is created exclusively for the project scenario that is being worked on The module that Tranplan will execute when net in txt is run is the Build Highway Network module The output file that Tranplan will create when executing net in txt 1s net bin Default Module Builder Description The interface provides the user with the option to use a default Tranplan control file that is written specifically for the current scenario By selecting Yes w
6. NCTION SBUILD INTRAZONAL I MPEDANCES SFILES IHPUT FILE IZIH USER ID OUTPUT FILE 20UT USER ID SOPTION PRINT DETAIL SPARAMETERS HUMBER OF ADJACENT ZONES 2 SEND TP FUNCTION SHATRIX UPDATE SFILES INPUT FILE UPDIN USER ID OUTPUT FILE UPDOUT USER ID C WorkDir NET BINS SKIMOG SKI SSKINGO SKIS SSKINGH9O SKI SSKIMGHOG SKIS SKIMGH9G SK2 T2 fa 99999 73 73 99999 TH F4 99999 T5 y 5 99999 T 6 99999 TIHE1 ff Z7 99999 Figure 5 10 Sample of Default in Page 18 of 21 5 2 2 Run Tranplan Description The interface gives the user the option to run Tranplan from MapInfo Selecting Yes to Would you like the interface to run Tranplan Figure 5 11 prompts the user to select which control file for Tranplan to execute Selecting No sends the interface to step three Run Netcard exe When a control file has been specified the interface copies the control file into the Tranplan directory and writes a DOS batch file to execute Tranplan The copied control file is renamed to the default value of trnp n in overwriting any previous Tranplan model runs The batch file is stored in the scenario s working directory and is named tprun bat Figure 5 12 Tprun bat first navigates to the Tranplan directory then executes trnplnxt exe This Tranplan program creates a second batch file which is stored in the Tranplan directory This second batch file trnplnx bat gives directions on running the control
7. Page 1 of 21 GIS TRANPLAN INTERFACE PROJECT DOCUMENTATION MAPINFO GEOGRAPHIC INFORMATION SYSTEM DEVELOPED By Center for Transportation Research and Education IOWA STATE UNIVERSITY SPONSORED By IOWA DEPARTMENT OF TRANSPORTATION Page 2 of 21 TABLE OF CONTENTS 1 Introduction and Overview 3 1 1 Program Objectives 1 2 Questions Concerning the Interface 1 3 Definitions 2 Howto Use this Manual 5 3 Getting Started 6 3 1 Setting Up Folder Structure 3 2 Downloading amp Installing the Software 3 3 Opening the ArcView Project 3 4 Files Needed to get Started 4 Creating a Tranplan Network Registering 8 5 Running Tranplan From MapInfo Modeling 13 5 1 Tranplan Model Run Model Run 5 2 Tranplan Model Run Join a Model Run in Progress 5 2 1 Run Netbld 5 2 2 Run Tranplan 5 2 3 Run Utilities 5 2 4 Run Loaded 5 2 5 Into MapInfo 6 Index and References 21 Page 3 of 21 1 INTRODUCTION AND OVERVIEW Welcome to the Iowa Department of Transportation s MapInfo based GIS Tranplan Interface program The program was designed to be useful as well as user friendly To assist you the user in becoming familiar and comfortable with the interface program we suggest you read through this user s manual and keep it handy during the use of the programs Other useful materials include a Tranplan and MapInfo user s manual 1 1 Program Objectives The objective of this software
8. ample Figure 5 9 Friction dat Example This data must be formatted according to the Simple For more details see the Tranplan User s Manual Models format described in the Tranplan User s Manual Matrix section page 1 8 Utilities section page 6 4 Input Default The Default Module Builder program uses the same default files as the previously documented programs These include the dirtree txt file and taz txt file see Figures 4 6 and 4 9 respectively along with the nodesout dat file see Figure 4 10 Also required in the output of the Mapnet control file builder net in txt Output Only one file is produce from the Default Module Builder and similar to Mapnet this is a text file that is used as a control file for running Tranplan Called default in see Figure 5 10 for a portion of default in this control file will create the necessary data files for running the analysis tools associated with the Interface The modules that Default Module Builder uses as part of its control file include Highway Selected Summation Build Intrazonal Impedances Matrix Update Gravity Model Build Trip Table Matrix Manipulate Matrix Transpose Equilibrium Highway Load and Report Matrix B default in Notepad Eile Edit Search Help 61332 61933 8888832526 000001110000012 B68080646525276 00000100 SEND TP FUNCTION SHIGHWAY SELECTED SUMMATION SFILES INPUT FILE HWYHET USER ID OUTPUT FILE HWYSKIM USER ID SDATA TABLE TIHE 1 SEND TP FU
9. ault Map_Load requires that the directory tree file see Figure 4 6 and the linksout dat file see Figure 4 8 are present in the scenario s working directory Output Map_Load creates a new table containing the loaded volumes for the scenario s network All pertinent information that Tranplan produces about scenario s network links is written into the new table This table is called d_links tab and is used to create a map in MapInfo See Figure 5 16 for a d_links tab file example w Map Load User Input Input the name of the ASCII text file from the Tranplan Hun le Sternp out dat Browee Contin cance Figure 5 14 Map_Load Input Window Page 20 of 21 out dat Notepad ie x le Edt Search Help 443 688 4654117 448220 4653082 448 075 4653572 451883 4653612 2 d B 1801 1002 5 1 11680 2331588 BH 957831500 2 11840 1351500 8 227031500 2 11930 165171568 5331508 F H H H H T T T Figure 5 15 out dat Ofo sefe 2500 258 roam oss o Ofo sfs 280 248810800 sia aos 0 Ojiza 276 s asco 243 12000 274 sso Ofo sfs asco 2900 1000 a8 ver Ojiz 108s 2800 2483 12000 108 207 ofiz sfs asco 247 12000 20 se z 2 foso 2e6 s 2600 2500 0900 254 remo eaes s 2200 3600 18000 aera 17360 al k Figure 5 16 Portion of Ld_links tab Example 5 2 5 Into MapInfo At this point MapInfo displays d_links tab in the Ld_links map This is the last ste
10. ction page 1 7 or Figure 5 11 Gravity Model Production Attraction File for Network Data User Input form see Figure 4 9 Links data file for Network Data User Input form see Figure 4 amp Nodes dat Nodes data file for Network Data User Input form see Figure 4 7 Turn prohibitor only file for Arcnet see Figure 5 6 Turnpenpro txt Turn penalty prohibitor file for Default Module Builder see Figure 5 9 A The scenario s network may not have any prohibited turns therefore it is possible to omit these files B Required only if using Network Data User Input form New Network requires only links dat C A production attraction file is required however the productions and attractions may be in separate files then merged during the interface s process The maximum number of trip purposes allowed by the interface is ten however only one purpose is required Page 8 of 21 4 CREATING A TRANPLAN NETWORK REGISTERING Description The Network Data User Input form allows the user to convert text files containing node and link data into mappable MapInfo files The input files must be in Tranplan format and the number of TAZ s must include both the internal centroids and the external stations Quick Instructions 1 Select the menu option TP MI Registering 2 Fill in the text boxes in the window titled Network Data User Input TP_MI exe A Change in the name of the nodes data file if the default
11. e interface will continue creating the scenario s network Selecting No will terminate the progress of the interface but will not delete any data or prohibit any future usefulness of the interface to the scenario The program will then convert the output files into tables Both the nodes and links files are converted and are named nodes tab and links tab respectively Figure 4 10 shows an example of a nodes tab table while Figure 4 11 shows links tab Finally the tables are loaded into the Network map screen similar to Figure 4 12 Page 12 of 21 EE nodes Browser Of x HNjnodejx fv jji 2 3 als 6 7 8 9 1ojcjss 1ie 22 Figure 4 10 Portion of Nodes tab Example a a or s x w a finom els sveoeifo 2 fta e2 ts eapon Te rooe sera aese 100 ezer Jaera o ofe sam of 0 2 o o moam Tons ae aor a657 101 100a sasse faesema o safe seo o of o of o0 ns 453 054 257 824 1006 452700 4550500 o 255e sso o of ra o 0 2000 ime 452 700 4559590 1258 s2712 astora o safe sco o of ra o of 25000 asa arpez 28852248 1008 as3200fae82288 o orfe asco o of a o 0 120 Tne 453290 4552250 1008 ss8ars faes o safe sco o of a o of 12000 imo 456 454 assoesi 10 459900 aesoee1 o _277 s sso o o ra o 0 2000 ima 449427 54550 10a 49475 asomo o wale asco o of al o ol 12 000 Figure 4 11 Portion of Links tab Example B amp E nodes links Map Figure 4
12. e scenario s model The default file given is ext dat see Figure 5 10 The next input box Input the Name of the Network Friction File requires the network friction data see Figure 5 11 The final input box Input the Name of the Production Attraction File prompts the user to input the name of the Network Data User Input form s newly created production attraction file newgm pa w Default Module Builder Oy x Input the Turn PenaltyProhibitor File or Hit Continue if No Tur Restrictions Exist Browse Continue Input the Total Number of T Zs 73 Input the First External Zone Number Input the Last External Zone Number turnpenpro txt Notepad a al EJ Input the Name of the Trip Survey Data File File Edt ceh B elp fE work DinE stat pence 18 11 Input the Name of the Network Friction File 11 12 E SworkDinFriction dat Browse i i Input the Name of the Production Attraction File f2 1662 16635 E WorkDininewam pa Prowse 62 1683 1662 Press Enter to Continue or Cancel to Quit Cancel Figure 5 7 Turnpenpro txt Example For more details see the Tranplan user s manual Loading section page 4 12 Figure 5 6 Default Module Builder Input Window Page 17 of 21 Ext dat Notepad Iof x Friction dat Notepad Miel x File Edt Search Help File Edt Search Help 25562 3768 16072 23203 16979 15661 r904 11075 5900 o163 4522 6184 Figure 5 8 Ext dat Ex
13. ed 8 After Tranplan is completed the model run type EXIT in the DOS window or simply close the DOS window 9 Input the required file names and options into Netcard as shown in Figure 5 13 then close the DOS window Page 14 of 21 10 Enter the name of the Netcard output file into the Map_Load User Input form and press Continue A d_links tab and d_links map will be created 5 2 Tranplan Model Run Join a Model Run in Progress Description The Join a Model Run in Progress option of the Modeling pull down menu allows the user to return to one of the six modeling steps as listed in the Tranplan Model Run Model Run section of this manual In the event that one of the six steps in the modeling process was unsuccessful the user can select the Join a Model Run in Progress option This option displays a list of options see Figure 5 2 to specify the step that requires repeating M aplnfo Professional File Edt Tools Objects Quen Table Options Map Window Help TPM Modeling Beis OI ae gal of Run Netbld 8 Run Tranplan Run Utilities Run Loaded or Turns f Into Mapinfo Figure 5 2 5 2 1 Run Netbld Description Once a network has been built in MapInfo including both the tables see Figures 4 10 amp 11 and the visual data in a map see Figure 4 12 the Tranplan model run can begin Then the Tranplan control file for operating the Build Highway Network module is written by Mapnet The
14. ed default out Also created as part of the model run are the network file containing the loaded traffic volumes called out bin and the origin destination matrix file tot90x trp 5 2 3 Run Utilities Description By selecting the Run Utilities option the interface calls Netcard exe Netcard is a Tranplan program that converts the binary files used by Tranplan to text files in Tranplan format Figure 5 13 shows Netcard exe including defaults to the required inputs Page 19 of 21 2 NMETCARD Enter input File name sout bin Enter output file nametout dat Do you wish speeds to be output Crather than time Mote speeds will not be rounded CVAMOTy Enter speed factor e g 1 8 gt 1 Loaded volumes will be in the CAPACITY 2 field Do you wish CAPACITY 2 to output in the CAPACITY i field NO n Loaded network appears to have been created with BPR iterations Do you wish to average the iterations Hofy Enter factor to multiply the loaded volumes e g 1 81 Only one way Format on output lt H gt 7n Do you wish header and option records on output CY NTy Figure 5 13 Netcard Example Quick Instructions Begin on step nine of quick instructions in the Tranplan Model Run Model Run section Input User The critical input statement for Netcard exe is Enter input file name This file is the binary file created during the Tranplan model run During this stage of the interface the required binary file contain
15. examples then by using the TP MI Registering pull down menu option the interface will begin the modeling process See section 4 Creating a Tranplan Network for more details My Tranplan Network Data is Not Formatted Like the Example Files Tranplan requires proper data format This formatting is of column delimited text form which means that each column in the data file is reserved for a certain data set For example columns one through five may be reserved for a node number Therefore all numbers that are in columns one through five are considered to be part of the node number even if there happen to be letters spaces etc in these columns When Tranplan tries to read these columns an error will be generated when the data is incorrectly formatted Therefore references to the Tranplan user s manual are supplied to assist in the correct formatting of data I have the Network now What Do I Do By using the Modeling Model Run pull down menu the interface will begin the modeling process After the user completes the input windows the interface will proceed through the modeling process See section 5 1 for more details Do I want to let the Interface Create a Tranplan Control File If you are required to use an existing module for Tranplan or you have a working knowledge of Tranplan and would like to write your own module then select no Can I Use a Different Traffic Assignment Method If you are familiar with Tranplan control
16. file trnp n in The last command in tprun bat executes the newly created batch file trnplnx bat which caused Tranplan to execute the model run Once Tranplan has completed the model run the output file trnp n out is copied to the scenario s working directory and renamed to the original input file s filename but with out as an file extension Note The Tranplan DOS window must be closed manually Quick Instructions Begin on step six of quick instructions in the Tranplan Model Run Model Run section MapInfo B tprun bat Notepad OX Ci Do ou Want the Interlace to Run TranPlarn File Edit Search Help 2 chdir C Urbansys Co Urbansys trnpinst exe Ci Urbansys trnpink bat al J Figure 5 11 Figure 5 12 Tprun bat Input User The first required input from the user is whether or not to run Tranplan through the interface If the user chooses to allow the interface to operate Tranplan then the second input is to select which control file s to be used with Tranplan The user may either choose to use the default control file created in the Write a Tranplan Control File section of this chapter or choose to use previously written control file s for the scenario The filename and location of previously written control files must then be specified if the default control file is not selected Output A completed Tranplan model run results in an output file called trnp n out which is copied to the working directory and renam
17. files you may want to use a traffic assignment method other than the equilibrium method used in the default control file To do this select No when prompted if you would like the interface to create a Tranplan control file When prompted if you would like the interface to run Tranplan choose Yes Finally the interface will prompt for which control file to use Select the user created option and enter your control file s name There is a New Table Called Ld_links tab What happens next The Ld_links tab table is the same visual layer as the links tab file However the Ld_links tab table contains the output from Tranplan known as the loaded network This loaded network contains the speeds and capacities that make up the model when all Page 4 of 21 trips have been generated and distributed The creation of Ld_links tab is the last step of the modeling process Pve Made a Mistake Can I Go Back Yes by using the Modeling Join a Model Run in Progress pull down menu tool the interface allows you to go back to any part of the modeling process and repeat the entire procedure from the point where the interface program is returned to Section 5 2 describes the Join a Model Run in Progress options 1 3 Definitions Listed below is a set of terms that help describe the workings of the interface Loaded Network The output from Tranplan that includes the speeds and capacities on the links in the network when the trip assignment has been c
18. he flowchart has a chapter associated with it By identifying the process on the flowchart then finding the corresponding chapter in this user s manual the user can review an in depth discussion on each segment of the interface program Font Descriptions This manual uses different font styles to indicate that the phrase in question belongs in a distinct descriptive category Italics Indicates that the phrase is the name of a file used by the interface Bold Indicates that the phrase is the title of an input box located on an input window in the interface program Italic Quotes Indicates the name of a pull down menu option Page 6 of 21 3 Getting Started 3 1 Setting Up the Directory Structure Using the interface requires a directory to store the data files for each model scenario and second directory to store the Visual Basic executables and other files needed to run the interface For the directory in which the Visual Basic programs are stored it is recommended that the folder be on the computer s hard drive and named C TPMItools It is not necessary that this folder be stored on the hard drive or use the recommended name as it is possible to specify a unique path each time the MapBasic program is opened For the data directory keeping the path under thirty characters will allow MapInfo to execute the Tranplan model run If the path name exceeds thirty characters then one must complete the Tranplan run man
19. hen prompted to use a Visual Basic control file Figure 5 5 the Default Module Builder program is utilized Default Module Builder Figure 5 6 writes a text file that is used as the control file for Tranplan This control file ensures the user that all required output files from Tranplan will be created when performing a model run Quick Instructions Begin on step three of quick instructions in the Tranplan Model Run Model Run section Page 16 of 21 MapInfo 2 Default Control Files Q Do You Want the Intertace to Write the Figure 5 5 Input User Default Module Builder see Figure 5 6 requires the user input of two file names and three variables The first input box Input the Turn Penalty Prohibitor File or Hit Continue if No Turn Restrictions Exist requires the turn penalty prohibitor file see Figure 5 9 for an example file Hitting Continue or not selecting a file indicates that no turn penalties or turn prohibitors exist in the scenario s model The next input box Input the Total Number of TAZs will contain the default value found in TAZ txt Figure 4 13 for the scenario The following two boxes Input the First External Zone Number and Input the Last External Zone Number prompt the user to indicate the range of numbers that contain the external nodes of the scenario s network The input box Input the Name of the Trip Survey Data File requires the user to input the external nodes trip data file for th
20. is incorrect B Change in the name of the links data file if the default is incorrect C Change in the name of the production and attraction data file if the default is incorrect e If the production and attraction data are in separate files click MERGE Figure 4 3 e Use the BROWSE button to enter the name of the production data file e Use the BROWSE button to enter the name of the attractions data file e Click ENTER will create production and attractions file called combgm pa D Enter the number of TAZs including the external stations E Change the X and Y coordinate conversion factors if other than one F Choose the Tranplan coordinate system used for the nodes data file G Press OK 3 Press YES if Network Data User Input executes properly 4 Several status boxes will appear click OK to continue Input User The Network Data User Input form see Figure 4 1 prompts the user to input both data and network data files The first input Input the name of the nodes file prompts the user to identify the data file containing the nodes data for the particular scenario that the user opened the ArcView project in A default file name nodes dat is given in the file name box and a browse button allows the user to search for the file if the given default name is incorrect The same procedure is used for identifying both the links data file Input the name of the links file default value of links dat and the productions and attractions file I
21. is to provide a convenient method for transferring travel models and their data between MapInfo and Tranplan By automating formerly labor intensive steps the interface reduces user s computer time improves file management and assist in visualization of the traffic network data A key addition to the MapInfo Tranplan Interface is the help sensitive tool tips added to non MapInfo input windows Through the use of Visual Basic programming the user is given reference locations in either the Tranplan manual or the interface user s manual for information regarding required input 1 2 Questions Concerning the Interface Listed below are frequently asked questions and answers relating to the use and usefulness of the interface I have the Software Where Do I Start The section entitled How Do I Get Started Page 7 of the documentation details the procedure of copying the required files into a program file directory named TPMITools Once this is done a working directory should be created for each model scenario After placing all applicable data files Table 1 1 along with the provided MapBasic program TpMiExt mbx into the working directory the user is ready to begin the process The Software is Installed How do I Start the Process To begin the modeling process a network must exist or be created If the working directory has both a links data file and a nodes data file that are properly formatted for Tranplan use see figures 4 3 and 4 4 for
22. lease note that this interface requires the use of no more than ten productions or attractions If fewer than ten productions or attractions exist the Interface will fill remaining production and attraction columns with zeros to produce exactly ten productions and ten attractions The new file will be named Newgm pa and should be used whenever a production attraction file 1s required by the Interface See the Tranplan user s manual Model section page 1 7 for more details Input Default The Network Data User Input form requires that the directory tree file dirtree txt contain the file name of the working directory The working directory needs to contain all data files and will be the destination of all output files created Shown below is an example of a directory tree file Figure 4 6 E dirtree txt Notepad Mal ES File Edt Search Help C WorkDir Figure 4 6 Directory Tree File Example Page 11 of 21 Output The Network Data User Input form produces both hidden and visible file outputs The visible files are the nodesout dat file Figure 4 7 and linksout dat file Figure 4 8 These files which are written into the default working directory of the current project scenario are used by MapInfo to create tables of both the nodes and links that make up the scenario s network The hidden file that is created holds the number of TAZ s that were input into the program by the user This file also stored in the default directory i
23. model 8 Place a copy of the MapBasic program TpMiExt mbx in each model scenario s working directory 3 3 Opening the MapBasic Program Once all data files and the TpMiExt mbx file are placed in the working directory start MapInfo and then run the program TpMiExt mbx The TpMiExt mbx project is the working MapBasic program for the interface The interface will cause MapInfo to add a new pull down menu option Figure 3 1 shows the MapInfo toolbar after opening TpMiExt mbx Also upon opening the MapBasic program three prompts will appear to verify the MapInfo working directory Tranplan directory and the Visual Basic tools directory lt Maplnfo Professional Of x File Edit Tools Objects Query Table Options Map Window Help TPM oea e Zoom 19 78 mi 5 Editing Mone E Selecting nodes Figure 3 1 MapInfo Enhanced Pull Down Menu Page 7 of 21 3 4 Files Needed to get Started If a Tranplan network already exists in ASCII text format then a copy of several different files should be placed in the model scenario s working directory along with the MapBasic program TpMiExt mbx A list and description of the required data files is located in Table 1 1 Table 3 1 Required Data Files File Description TpMiExt mbx MapBasic program containing the Tranplan interface External data file for Default Module Builder see Figure 5 10 Friction data file for Default Module Builder see Tranplan user manual Models se
24. nput the name of the productions and attractions file default value of gm pa for the network If the production and attraction data is stored as separate files use the merge function see Figure 4 2 to combine the two files into combgm pa The fourth user input box is for inputting the number of Transportation Analysis Zones TAZs Input the number of TAZs and external stations This number is to include both the interior and exterior zones for the particular project scenario No default is given therefore the user should have some working knowledge of the project scenario network The value entered in this box will become the default value for succeeding programs so care in entering the correct value should be taken here Next are the input boxes that ask for the coordinate conversion factors The input box on the left of the input window labeled the Input the x coordinate conversion factor allows the user to alter the physical size of the network by scaling the entire network in the x direction The default value for the x coordinate factor 1 is given The input box on the right Input the y coordinate conversion factor 1 allows for the same type of scaling in the y direction The final input box Choose the proper Tranplan coordinate system allows the user to decide whether the network scenario s coordinates are stored in large or small coordinates Tranplan stores the coordinate data in either a five digit or nine digit variable therefore
25. ompleted This network is identical in graphical appearance to the unloaded or original network However the links in the network have had the Tranplan data added into the original data Model Included in a model is the scenario s network along with all data that is used to assist the user in making decision concerning the scenario Network Defined by the Tranplan user s manual as A description of the network in terms of nodes and links Nodes define a given point of physical location within the study area Each node must have a unique number and if plotting or graphic display is desired each node must be assigned an x y coordinate pair Links define a section of roadway or transit right of way between two nodes and the attributes such as speed and capacity that are to be associated with the link Scenario As part of the program package this interface allows the user to have multiple models running at one time In addition the same basic project can be opened and edited without having to close the original project Therefore each version of the interface that is running is called a scenario These scenarios may be completely separate models identical models with minor editing to the network or exactly the same network By setting each scenario in a unique working directory no data sharing issues should arise Traffic Analysis Zone TAZ A designated area where productions and attractions have been assigned for
26. p in loading the scenario s network All coordinates ground counts and Tranplan output are accessible by browsing through the d_links tab table Figure 5 17 shows the Ld_links map containing the d_links tab file Analysis of the scenario s network can now be done through the use of previously built analysis tools i Ld_links Map Figure 5 19 Interface with the Loaded Network Page 21 of 21 6 INDEX AND REFERENCES Batch files Network data out dat 19 20 model run batch file tprun bat 24 32 shortest path batch file sprun bat 92 Nodes data Directory Tree dirtree txt 10 MapInfo input nodesout dat 1 MapInfo maps 12 Example data J original data nodes dat 8 10 External data ext dat 7 16 17 Production attraction data Friction data friction dat 7 17 attraction file only att txt fi combined by interface Ccombgm pa 8 Links data reformatted by interface newgm pa 10 16 MapInfo input inksout dat 11 original data gm pa 7 8 10 MapInfo maps 12 production file only pro txt 7 original data links dat 8 10 Loaded links data 20 Setup exe 6 MapBasic program TpMiExt mbx 3 6 7 Traffic Analysis Zone Taz txt 11 14 17 Mapnet 13 15 Tranplan control files default in 17 Turn penalty prohibitor file turnpenpro txt 7 16 Netcard 18 19 Turn prohibitor file turn txt 7 15 Tranplan User s Manual URBAN SYS version 9 0 Urban Analysis Group Inc Danville California Copyright 1988 1998
27. s taz txt Figure 4 9 Below are examples of the output files from the Network Data User Input form eB Hodesout dat Notepad Miel File Edt Search Help H Hode X7 YZGP 8 71072737475767 2 f8 OF TBS GAS RATS 27 of 4 5 fos 2 8 9718 N 1 4465 76 8653 623 6P71 6 6 5824 070 07 Z Z Z O GAS 1 6155 7 9865 58247 070Z Z OS Z Z Nf 2 4846 64 6 4652 87 f SGP 1 986 1289 2952 7 07 0 OZ Z OZ Z OS GAS 1 985 S49 oe 2052 07 070Z Z Z Z H o e465 20 7 486527 68 SGP 17652 7 2167 14657 0 0 O Z Z B G AS 1 5 8o 2946 1465 07 Z Z Z Z Z Nf 478467147 5657668 SGP 4 1 5347 1479 228 07 0 B OZ Z OS OS GAS 1 51 42 228 O B 6 8 87 Z N 5 8469167 8657912 OP 217 F9d 729967 7 B77 07 070Z OS OS OS OS GAS TS 7d 12497 FO sO OS BS Z Z so Nf6 48473697465 7688 GP 41 6 67 29 0 Z Z O O B GAS 1 8 79 124 F297 O B OY 8 Z Figure 4 7 Nodesout dat Example Linksout dat Notepad File Edit Search Help ASAS AY B BA BY A D S O FS 1752 7 07 L 1S L2 SLo 01 02 SOP S30 7 54 02 L aS LS SLO CS C4 SUS ID 1688745329 67465225977 B09 SAS Bai 5 h65 22 84 0732175755 00 00 117 8 8 12 Bb OS 255 68s Z Z Of 8 12 68s Os 1 68 1 oe ae Figure 4 8 Linksout dat Example Taz txt Notepad Mel Fa File Edt Search Help Figure 4 9 Taz txt Example Once the Network Data User Input form is completed the program will ask the user whether to continue or not By selecting Yes th
28. s the loaded traffic volumes along with either the speeds or times on each network link The default values for the remaining input statements are shown in Figure 5 13 Output Netcard exe produces a text file containing the loaded network This file is Tranplan formatted and contains nodes turn prohibitors and the loaded links for the scenario s network An example of the Netcard output is shown in Figure 5 15 5 2 4 Run Loaded Description The Run Loaded option converts Tranplan formatted Netcard output into MapInfo tables The interface uses the Map_Load form Figure 5 14 to make the data conversion Map_Load creates an updated table to display the Tranplan output in the interface The output from Netcard is joined with the original inksout dat file to create a loaded links file called d_links tab This new file contains both the actual counted volumes and the applied Tranplan volumes for each link along with a percent difference column for analysis purposes Quick Instructions Begin on step ten of quick instructions in the Tranplan Model Run Model Run section Input User The user is prompted to input the name of the output file from Netcard Input the name of the ASCII text file from the Tranplan Run The default name is out dat however the file name must be identical to the output name specified in Netcard The input window can be found in Figure 5 16 A sample of out dat is pictured in Figure 5 17 Input Def
29. second input screen is the Default Module Builder The instructions for the Default Module Builder begin on page 16 Quick Instructions Begin on step two of quick instructions in the Tranplan Model Run Model Run section Mapnet Input User Mapnet s input window see Figure 5 3 calls for both the number of TAZ s and for the existence of a turn prohibitor file The TAZ input box Please input the number of TAZ s that are a part of this model has listed as the default the value from TAZ txt Figure 4 9 The turn prohibitor input box Does this model include a turn prohibitor lists the choices of No or Yes The default is No so in the event of no input the program assumes that no turn prohibitor file exists By selecting Yes then hitting Continue a second input window will appear prompting the user for the name of the turn prohibitor file name A browse button is provided to allow navigation to the required file Once the turn prohibitor file Figure 5 4 is located pressing Continue executes the program or Cancel returns the original Mapnet input window Page 15 of 21 w Mapnet Input OFX Please input the number of TAZ that are a part of this model 73 Does this model include a tum prokibitor E YES Press Continue to proceed Clear to Reset Data Fields or Cancel to Gutt Continue Clear uit Figure 5 3 Mapnet Input Window turn txt Notepad Piel E3 File Edt Search Help Figure 5
30. ually 3 2 Downloading amp Installing the Software One version of the Tranplan MapInfo interface is available it interacts with both Tranplan 8 0 and Tranplan 9 0 This download contains a self extracting zip file that will expand the Visual Basic programs and install several DLL files onto the computer s hard drive To download the software go to the project s homepage at http www ctre iastate edu Projects tp_is Enhance Web download html After the self extracting zip file has been saved follow the instructions below to install the programs 1 Click on the link 2 Choose the option SAVE FILE It is recommended that the self extracting zip file be saved to a temporary directory 1 e C temp 3 Double click on the self extracting zip file 4 If not already the default set the extraction location to the same folder of the self extracting zip file 5 Press EXTRACT or UNZIP 6 After all files have been extracted double click on Setup exe Carefully read and follow the instructions on each help screen Note that the default location where the program is going to be installed at Itis suggested that this default location be changed to a recognizable folder on the local drive 1 e C TPMITools 7 After completing Setup exe all the needed files are stored in a single directory including the provided MapInfo program TpMiExt mbx along with a data folder containing all required files to run a demo

Download Pdf Manuals

image

Related Search

Related Contents

Samsung GS89F-1SP Benutzerhandbuch  第10期定時株主総会招集ご通知(インターネット開示情報を含む)  Schuhregal für die Tür, Platz für 36 Paar Schuhe  User Manual - SIRS-E  V-2500  Manuel de maintenance    gebruiksaanwijzing koelkast mode d'emploi réfrigérateur      

Copyright © All rights reserved.
Failed to retrieve file