地理信息系统开发工具GISDK使用手册英文版第一部分WelcometoGISDKHelp.doc

上传人:豆**** 文档编号:17208467 上传时间:2022-05-22 格式:DOC 页数:23 大小:287KB
返回 下载 相关 举报
地理信息系统开发工具GISDK使用手册英文版第一部分WelcometoGISDKHelp.doc_第1页
第1页 / 共23页
地理信息系统开发工具GISDK使用手册英文版第一部分WelcometoGISDKHelp.doc_第2页
第2页 / 共23页
点击查看更多>>
资源描述

《地理信息系统开发工具GISDK使用手册英文版第一部分WelcometoGISDKHelp.doc》由会员分享,可在线阅读,更多相关《地理信息系统开发工具GISDK使用手册英文版第一部分WelcometoGISDKHelp.doc(23页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、【精品文档】如有侵权,请联系网站删除,仅供学习与交流地理信息系统开发工具GISDK使用手册英文版第一部分WelcometoGISDKHelp.精品文档.1 PrefaceTransCAD, out of the box, is a very powerful and versatile computer program. But, if you are an advanced user or a programmer, you may want to do more or different things that are offered by the standard user interf

2、ace. The Geographic Information System Developers Kit (GISDK) provides you with a tool kit that you can use to get outside the box and customize TransCAD in any way you desire.GISDK(tm) is a collection of software tools and documentation that come with TransCAD and make it possible to automate repet

3、itive TransCAD tasks, create user designed add-ins, integrate other programs, or build custom applications. GISDK also makes it possible to call the TransCAD functionality from other software applications.The primary component of the GISDK is a programming language called Caliper Script(tm). This is

4、 an easy-to-learn, BASIC-like 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 cod

5、e written in other languages such as C or FORTRAN can be intermixed with GISDK programs written in Caliper Script, facilitating compatibility 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 whi

6、ch 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 networks. In addition, the GISDK functions can be called

7、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

8、 complete, custom Windows interfaces for TransCAD applications.Caliper Script, in turn, is supported by three components: a compiler, a debugger and a toolbox for interacting with the compiler and debugger. The GISDK Compiler takes the Caliper Script code and creates a UI Database that can be run wi

9、th the TransCAD platform. Any errors in the code will be reported by the compiler, 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 d

10、oes 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 compiler and the debugger but also has tools to make interacting with the

11、 program faster and easier.The GISDK for Standard TransCAD has two additional components. 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 Visu

12、al 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 gener

13、ating 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 in

14、formation, see:About You About the Book and this On-Line Help Other GISDK Resources Licensing of GISDK Add-Ins and Applications GISDK Versions If You Need More Help About YouWe made several assumptions about you when we put the GISDK Programmers Guide and On-Line Help together:You are a frequent use

15、r of TransCAD and are familiar with the terms and concepts covered in the Users 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 Users Guide.You have some basic knowledge and experi

16、ence in programming, either in Basic, Visual Basic, C, or some other language.You want to automate or customize TransCAD to help you accomplish 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 a

17、nd this On-Line HelpThe GISDK Programmers 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 On-Line Help system. This comprehensive On-Line Help system gives you detailed background, instru

18、ctions, a complete listing of the GISDK functions, and samples in a clear and concise layout. Together, the GISDK Programmers Guide and this On-Line Help system describe everything you need to know to start using GISDK. In the GISDK Programmers Guide:Chapter 1, Introduction, provides an introduction

19、 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

20、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 come with GISDK, including the GIS

21、DK Toolbox and the GISDK Debugger, and how you use these tools to write and develop add-ins and custom applications, and access TransCAD as an application server.In addition, this On-Line Help system contains comprehensive information on calling GISDK functions, on creating GISDK macros, and on othe

22、r GISDK applications. This On-Line Help system includes a complete listing of the GISDK functions. The additional sections in this On-Line Help for GISDK include:Common Calling Conventions: standards that are used for arguments in GISDK functionsUsing GISDK Functions: overviews of GISDK functions by

23、 topic, including windows, maps, layers, editors, tables, and viewsUsing Projections and Coordinate Systems: details on setting a maps projection or coordinate system, including units, ellipsoids, datums, and transformationsListing of GISDK Functions: individual descriptions of the GISDK functions,

24、including syntax, return values, and examplesGISDK Mechanics: the compilation tools that come with GISDK and how you use them to write and develop add-ins and custom applications, how to use the debugger to help you find and fix runtime problems in your GISDK macros, and how to access TransCAD as an

25、 Automation ServerLanguage Elements: the syntax, organization, and elements of the Caliper Script languageResources: introduction to and explanation of the format and structure of the resource files that contain your add-in or custom applicationStandard Interface Macros: a listing of macros in the s

26、tandard interface useful in custom applications for closing files, setting styles, and other tasks, plus geocoding and other macrosBatch Mode, which comes with Standard TransCAD, is an easy way to create and run planning models as a set of Caliper Script macros, as well as to run some of the routing

27、 and logistics procedures. Batch Mode for transportation planning is described in the Travel Demand Modeling with TransCAD Users Guide and in the on-line Help for Planning. Batch Mode for routing and logisitics procedures is described in the Routing and Logistics with TransCAD Users Guide and in the

28、 on-line Help for Routing.If you have purchased TransCAD for the Web, the TransCAD for the Web Users Guide and the on-line Help for TransCAD for the Web explain how to use GISDK functions and GISDK macros in web mapping applications.Other GISDK ResourcesThe GISDK Programmers Guide and On-Line Help g

29、ive some examples of how you can use GISDK. More examples are available on the Caliper Corporation web site ( You are free to adopt and adapt these Caliper Script and Automation Server examples to meet your own needs. You are also encouraged to contribute to the growing list of examples, so that oth

30、ers can benefit.Licensing of GISDK Add-Ins and ApplicationsGISDK enables you to create add-ins, custom applications, or Automation Servers. GISDK also makes it possible for third parties to create and distribute add-ins and custom applications. We expect that many GISDK users will fall into one of t

31、hree classes:Individual users who want to automate or simplify tasks they routinely perform with TransCADInternal systems staff who develop add-ins and applications to be used by others within their organization Developers, resellers, and consultants who use TransCAD along with GISDK to provide cust

32、om end-user solutionsCaliper Corporation offers additional technology for the creation and distribution of run-time versions of custom applications. This technology enables us to create for you a complete stand-alone program (one that does not need the TransCAD program files) that incorporates all t

33、he required GIS functionality for your application. Run-time licensing involves the payment of a processing fee plus technology license fees that are negotiated on a case-by-case basis.When you develop an add-in or custom application using GISDK, the product is a user interface database (UI Database

34、) containing the add-in or custom application. Provided that you comply with the TransCAD license agreement, you may distribute, sell, or give away completed UI Databases containing your add-ins or custom applications. You may also distribute, sell, or give away Caliper Script source code that you c

35、reate for your GISDK programs.At the same time, the TransCAD license agreement imposes certain restrictions upon you. For example, you are not permitted to copy or distribute:The TransCAD program file (tcw.exe)The supporting dynamic link libraries (DLLs)Geographic and tabular data files that are pro

36、vided with Caliper GIS productsAny files that are part of the TransCAD product packageThe license agreement for TransCAD for the Web gives you rights to create, test, and publish web mapping applications that access TransCAD as an Automation Server. Other licensing arrangements (such as runtime lice

37、nses) are available for other forms of access to TransCAD as an Automation Server.If you have any questions about the above licensing information, please discuss them with us.GISDK VersionsThere are different versions of GISDK for each Caliper Corporation GIS package. All of the versions of GISDK sh

38、are a common language structure and syntax, and many common functions. However, products developed with one version of GISDK (such as TransCAD) cannot be delivered to users of a different product (such as Maptitude).The TransCAD version of GISDK includes a substantial number of additional functions

39、that support the map display and transportation analysis capabilities of TransCAD, including functions for creating and maintaining networks, route systems, surfaces, matrices, and transit schedules. If you have Standard TransCAD you also have access to Batch Mode and the Matrix DLLs.If You Need Mor

40、e HelpIf you find yourself stuck or in need of additional assistance, please contact our Technical Support department.NOTE: You must be a registered user to receive Caliper Technical Support Services. Register your software by faxing or mailing in the registration card that came with your software p

41、ackage, or by filling out the Caliper Corporation Internet registration form at Caliper Corporation software support services are subject to support fees and terms in place at the time the services are used.You can get technical support from Caliper Corporation in four ways:1.FAX your requests for h

42、elp to (617) 527-5113.2.Check the technical support notes at Caliper Corporations World Wide Web site ().3.Send e-mail via the Internet to support.4.Call Caliper Technical Support at (617) 527-8617.You can reach TransCAD Technical Support by telephone between 8:30 a.m. and 5:30 p.m., Eastern Time, M

43、onday through Friday.When you call, please be at your computer, have your documentation available, and be prepared to provide the following information:The product registration numberYour name and organizationThe version of the product you are using choose Help-About to check your version numberThe

44、exact wording of any messages that appear on your screenIntroductionAs an experienced TransCAD user, you may have thought about how nice it would be to automate some task that you perform on a regular basis, so you could accomplish it by clicking a single button or choosing a single menu item. Perha

45、ps you have thought about creating a custom application, one that has a subset of the capabilities of TransCAD, but organized and structured differently to appeal to a particular audience. You may also have thought about calling TransCAD from another programming environment, such as Visual Basic, to

46、 provide transportation analysis or mapping services to an application, such as finding a route or displaying a map around a location.If you have had these thoughts, the GIS Developers Kit is for you. GISDK lets you customize and extend the capabilities of TransCAD in almost any way you like. There

47、are three types of things you can do with GISDK:Create add-ins that extend the capabilities of TransCAD or that automate repeated operationsBuild custom applications that extend or replace the standard interface to provide customized program operationAccess TransCAD as an Automation Server to add ma

48、ps or transportation analysis functions to your own programsIn addition, the planning and the routing and logistics procedures in standard TransCAD offer Batch Mode as a way to build code for applications that you can then run repeatedly without the need for user intervention.For more information, see:About Add-Ins About Custom Applications About Batch Mode About Accessing TransCAD as an Automation Server GISDK System Requirements Starting GISDK Starting the GISDK Debugger About Add-InsAn add-in is a program that you can add to TransCAD tha

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 小学资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁