【正文】
tware applications. The primary ponent of the GISDK is a programming language called Caliper Script(tm). This is an easytolearn, BASIClike programming language that provides a way to interact with the TransCAD program and data. Caliper Script is a programming language that is powerful, but easy to use. It is more flexible and powerful that the languages provided with other transportation software. Also code written in other languages such as C or FORTRAN can be intermixed with GISDK programs written in Caliper Script, facilitating patibility with existing software. The primary use of the Caliper Script is to interact with TransCAD. There are over one thousand GISDK functions in TransCAD, all of which can be called from Caliper Script. These functions give users a wide variety of tools that range from managing maps and display characteristics to creating, accessing, updating and analyzing data and data structures, including matrices and works. In addition, the GISDK functions can be called using Windows Automation, since TransCAD can act as both an Automation Server and Client. TransCAD for the Web uses this way to write code that can be run by a web browser and call TransCAD to provide maps, driving directions and other services. Caliper Script also provides the capability to program plete, custom Windows interfaces for TransCAD applications. Caliper Script, in turn, is supported by three ponents: a piler, a debugger and a toolbox for interacting with the piler and debugger. The GISDK Compiler takes the Caliper Script code and creates a UI Database that can be run with the TransCAD platform. Any errors in the code will be reported by the piler, with details about the type and location of the error. The GISDK Debugger runs the Caliper Script code in testing mode to make sure that there are no errors, such as errors in logic or variable handling. If the code does not behave as expected, the debugger allows the user to set breakpoints or to step through the code one line at a time, to make sure that the code is executing as expected. The GISDK Toolbox not only has buttons to run the piler and the debugger but also has tools to make interacting with the program faster and easier. The GISDK for Standard TransCAD has two additional ponents. The first is Batch Mode, which is a simpler way of automating transportation analysis. The second is the ability to access TransCAD Matrix DLLs directly from C and FORTRAN. The Matrix DLLs are provided for Visual C and Compaq Visual FORTRAN. For running travel demand applications and for some routing and logistics procedures, TransCAD has a Batch Mode capability that makes it easy to create automated model runs. Caliper provides the source code for the batch model scripts and TransCAD has a tool for generating the scripts interactively. This greatly reduces the possibility of error entering the model application scripts. The scripts can be easily modified by users and consultants. Also, it is easy to augment the scripts with additional functions such as producing specific maps or reports. For more information, see: About You About the Book and this OnLine Help Other GISDK Resources Licensing of GISDK AddIns and Applications GISDK Versions If You Need More Help About You We made several assumptions about you when we put the GISDK Programmer’s Guide and OnLine Help together: ?? You are a frequent user of TransCAD and are familiar with the terms and concepts covered in the User’s Guide. If you wish to use Batch Mode, which is part of Standard TransCAD, you should also be familiar with the terms and concepts covered in the Travel Demand Modeling User’s Guide. ?? You have some basic knowledge and experience in programming, either in Basic, Visual Basic, C, or some other language. ?? You want to automate or customize TransCAD to help you acplish your work more efficiently, or to provide assistance to other users. ?? You want to get started quickly, without weeks of training or hard work. About the Book and this OnLine Help The GISDK Programmer’s Guide gives you the essential background information that you need to start using GISDK. The full GISDK documentation is provided electronically as part of this OnLine Help system. This prehensive OnLine Help system gives you detailed background, instructions, a plete listing of the GISDK functions, and samples in a clear and concise layout. Together, the GISDK Programmer’s Guide and this OnLine Help system describe everything you need to know to start using GISDK. In the GISDK Programmer’s Guide: Chapter 1, Introduction, provides an introduction to GISDK and an overview of its capabilities, along with instructions for starting the GISDK Toolbox and the GISDK Debugger. Chapter 2, Quick Start, provides a concise overview of how you use GISDK to build applications to automate repetative tasks. If you are an experienced developer, this chapter provides most of the information you need to get started. If you are less experienced at software and application development, it will give you a good overview of the process and a feel for how the language works. Chapter 3, GISDK Mechanics, describes the tools that e with GISDK, including the GISDK Toolbox and the GISDK Debugger, and how you use these tools to write and develop addins and custom applications, and access TransCAD as an application server. In addition, this OnLine Help system contains prehensive information on calling GISDK functions, on creating GISDK macros, and on other GISDK applications. This OnLine Help system includes a plete listing of the GISDK functions. The additional sections in this OnLine Help for GISDK include: ?? Common Calling Conventions: standards that are used for arguments in GISDK functions ?? Using GISDK Functions: overviews of GISDK f