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

上传人:b****1 文档编号:13691480 上传时间:2023-06-16 格式:DOCX 页数:36 大小:33.77KB
下载 相关 举报
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第1页
第1页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第2页
第2页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第3页
第3页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第4页
第4页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第5页
第5页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第6页
第6页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第7页
第7页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第8页
第8页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第9页
第9页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第10页
第10页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第11页
第11页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第12页
第12页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第13页
第13页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第14页
第14页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第15页
第15页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第16页
第16页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第17页
第17页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第18页
第18页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第19页
第19页 / 共36页
地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx_第20页
第20页 / 共36页
亲,该文档总共36页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

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

《地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx》由会员分享,可在线阅读,更多相关《地理信息系统开发工具GISDK使用手册英文版第一部分 WelcometoGISDKHelp.docx(36页珍藏版)》请在冰点文库上搜索。

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

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

1Preface

TransCAD®,outofthebox,isaverypowerfulandversatilecomputerprogram.But,ifyouareanadvanceduseroraprogrammer,youmaywanttodomoreordifferentthingsthatareofferedbythestandarduserinterface.TheGeographicInformationSystemDeveloper’sKit(GISDK)providesyouwithatoolkitthatyoucanusetogetoutsidetheboxandcustomizeTransCADinanywayyoudesire.

GISDK(tm)isacollectionofsoftwaretoolsanddocumentationthatcomewithTransCADandmakeitpossibletoautomaterepetitiveTransCADtasks,createuserdesignedadd-ins,integrateotherprograms,orbuildcustomapplications.GISDKalsomakesitpossibletocalltheTransCADfunctionalityfromothersoftwareapplications.

TheprimarycomponentoftheGISDKisaprogramminglanguagecalledCaliperScript(tm).Thisisaneasy-to-learn,BASIC-likeprogramminglanguagethatprovidesawaytointeractwiththeTransCADprogramanddata.CaliperScriptisaprogramminglanguagethatispowerful,buteasytouse.Itismoreflexibleandpowerfulthatthelanguagesprovidedwithothertransportationsoftware.AlsocodewritteninotherlanguagessuchasCorFORTRANcanbeintermixedwithGISDKprogramswritteninCaliperScript,facilitatingcompatibilitywithexistingsoftware.

TheprimaryuseoftheCaliperScriptistointeractwithTransCAD.ThereareoveronethousandGISDKfunctionsinTransCAD,allofwhichcanbecalledfromCaliperScript.Thesefunctionsgiveusersawidevarietyoftoolsthatrangefrommanagingmapsanddisplaycharacteristicstocreating,accessing,updatingandanalyzingdataanddatastructures,includingmatricesandnetworks.Inaddition,theGISDKfunctionscanbecalledusingWindowsAutomation,sinceTransCADcanactasbothanAutomationServerandClient.TransCADfortheWebusesthiswaytowritecodethatcanberunbyawebbrowserandcallTransCADtoprovidemaps,drivingdirectionsandotherservices.CaliperScriptalsoprovidesthecapabilitytoprogramcomplete,customWindowsinterfacesforTransCADapplications.

CaliperScript,inturn,issupportedbythreecomponents:

acompiler,adebuggerandatoolboxforinteractingwiththecompileranddebugger.TheGISDKCompilertakestheCaliperScriptcodeandcreatesaUIDatabasethatcanberunwiththeTransCADplatform.Anyerrorsinthecodewillbereportedbythecompiler,withdetailsaboutthetypeandlocationoftheerror.TheGISDKDebuggerrunstheCaliperScriptcodeintestingmodetomakesurethattherearenoerrors,suchaserrorsinlogicorvariablehandling.Ifthecodedoesnotbehaveasexpected,thedebuggerallowstheusertosetbreakpointsortostepthroughthecodeonelineatatime,tomakesurethatthecodeisexecutingasexpected.TheGISDKToolboxnotonlyhasbuttonstorunthecompilerandthedebuggerbutalsohastoolstomakeinteractingwiththeprogramfasterandeasier.

TheGISDKforStandardTransCADhastwoadditionalcomponents.ThefirstisBatchMode,whichisasimplerwayofautomatingtransportationanalysis.ThesecondistheabilitytoaccessTransCADMatrixDLLsdirectlyfromCandFORTRAN.TheMatrixDLLsareprovidedforVisualCandCompaqVisualFORTRAN.Forrunningtraveldemandapplicationsandforsomeroutingandlogisticsprocedures,TransCADhasaBatchModecapabilitythatmakesiteasytocreateautomatedmodelruns.CaliperprovidesthesourcecodeforthebatchmodelscriptsandTransCADhasatoolforgeneratingthescriptsinteractively.Thisgreatlyreducesthepossibilityoferrorenteringthemodelapplicationscripts.Thescriptscanbeeasilymodifiedbyusersandconsultants.Also,itiseasytoaugmentthescriptswithadditionalfunctionssuchasproducingspecificmapsorreports.

Formoreinformation,see:

AboutYou

AbouttheBookandthisOn-LineHelp

OtherGISDKResources

LicensingofGISDKAdd-InsandApplications

GISDKVersions

IfYouNeedMoreHelp

AboutYou

WemadeseveralassumptionsaboutyouwhenweputtheGISDKProgrammer’sGuideandOn-LineHelptogether:

∙YouareafrequentuserofTransCADandarefamiliarwiththetermsandconceptscoveredintheUser’sGuide.IfyouwishtouseBatchMode,whichispartofStandardTransCAD,youshouldalsobefamiliarwiththetermsandconceptscoveredintheTravelDemandModelingUser’sGuide.

∙Youhavesomebasicknowledgeandexperienceinprogramming,eitherinBasic,VisualBasic,C,orsomeotherlanguage.

∙YouwanttoautomateorcustomizeTransCADtohelpyouaccomplishyourworkmoreefficiently,ortoprovideassistancetootherusers.

∙Youwanttogetstartedquickly,withoutweeksoftrainingorhardwork.

AbouttheBookandthisOn-LineHelp

TheGISDKProgrammer’sGuidegivesyoutheessentialbackgroundinformationthatyouneedtostartusingGISDK.ThefullGISDKdocumentationisprovidedelectronicallyaspartofthisOn-LineHelpsystem.ThiscomprehensiveOn-LineHelpsystemgivesyoudetailedbackground,instructions,acompletelistingoftheGISDKfunctions,andsamplesinaclearandconciselayout.Together,theGISDKProgrammer’sGuideandthisOn-LineHelpsystemdescribeeverythingyouneedtoknowtostartusingGISDK.IntheGISDKProgrammer’sGuide:

Chapter1,Introduction,providesanintroductiontoGISDKandanoverviewofitscapabilities,alongwithinstructionsforstartingtheGISDKToolboxandtheGISDKDebugger.

Chapter2,QuickStart,providesaconciseoverviewofhowyouuseGISDKtobuildapplicationstoautomaterepetativetasks.Ifyouareanexperienceddeveloper,thischapterprovidesmostoftheinformationyouneedtogetstarted.Ifyouarelessexperiencedatsoftwareandapplicationdevelopment,itwillgiveyouagoodoverviewoftheprocessandafeelforhowthelanguageworks.

Chapter3,GISDKMechanics,describesthetoolsthatcomewithGISDK,includingtheGISDKToolboxandtheGISDKDebugger,andhowyouusethesetoolstowriteanddevelopadd-insandcustomapplications,andaccessTransCADasanapplicationserver.

Inaddition,thisOn-LineHelpsystemcontainscomprehensiveinformationoncallingGISDKfunctions,oncreatingGISDKmacros,andonotherGISDKapplications.ThisOn-LineHelpsystemincludesacompletelistingoftheGISDKfunctions.TheadditionalsectionsinthisOn-LineHelpforGISDKinclude:

∙CommonCallingConventions:

standardsthatareusedforargumentsinGISDKfunctions

∙UsingGISDKFunctions:

overviewsofGISDKfunctionsbytopic,includingwindows,maps,layers,editors,tables,andviews

∙UsingProjectionsandCoordinateSystems:

detailsonsettingamap'sprojectionorcoordinatesystem,includingunits,ellipsoids,datums,andtransformations

∙ListingofGISDKFunctions:

individualdescriptionsoftheGISDKfunctions,includingsyntax,returnvalues,andexamples

∙GISDKMechanics:

thecompilationtoolsthatcomewithGISDKandhowyouusethemtowriteanddevelopadd-insandcustomapplications,howtousethedebuggertohelpyoufindandfixruntimeproblemsinyourGISDKmacros,andhowtoaccessTransCADasanAutomationServer

∙LanguageElements:

thesyntax,organization,andelementsoftheCaliperScriptlanguage

∙Resources:

introductiontoandexplanationoftheformatandstructureoftheresourcefilesthatcontainyouradd-inorcustomapplication

∙StandardInterfaceMacros:

alistingofmacrosinthestandardinterfaceusefulincustomapplicationsforclosingfiles,settingstyles,andothertasks,plusgeocodingandothermacros

BatchMode,whichcomeswithStandardTransCAD,isaneasywaytocreateandrunplanningmodelsasasetofCaliperScriptmacros,aswellastorunsomeoftheroutingandlogisticsprocedures.BatchModefortransportationplanningisdescribedintheTravelDemandModelingwithTransCADUser'sGuideandintheon-lineHelpforPlanning.BatchModeforroutingandlogisiticsproceduresisdescribedintheRoutingandLogisticswithTransCADUser'sGuideandintheon-lineHelpforRouting.

IfyouhavepurchasedTransCADfortheWeb,theTransCADfortheWebUser'sGuideandtheon-lineHelpforTransCADfortheWebexplainhowtouseGISDKfunctionsandGISDKmacrosinwebmappingapplications.

OtherGISDKResources

TheGISDKProgrammer’sGuideandOn-LineHelpgivesomeexamplesofhowyoucanuseGISDK.MoreexamplesareavailableontheCaliperCorporationwebsite(YouarefreetoadoptandadapttheseCaliperScriptandAutomationServerexamplestomeetyourownneeds.Youarealsoencouragedtocontributetothegrowinglistofexamples,sothatotherscanbenefit.

LicensingofGISDKAdd-InsandApplications

GISDKenablesyoutocreateadd-ins,customapplications,orAutomationServers.GISDKalsomakesitpossibleforthirdpartiestocreateanddistributeadd-insandcustomapplications.WeexpectthatmanyGISDKuserswillfallintooneofthreeclasses:

∙IndividualuserswhowanttoautomateorsimplifytaskstheyroutinelyperformwithTransCAD

∙Internalsystemsstaffwhodevelopadd-insandapplicationstobeusedbyotherswithintheirorganization

∙Developers,resellers,andconsultantswhouseTransCADalongwithGISDKtoprovidecustomend-usersolutions

CaliperCorporationoffersadditionaltechnologyforthecreationanddistributionofrun-timeversionsofcustomapplications.Thistechnologyenablesustocreateforyouacompletestand-aloneprogram(onethatdoesnotneedtheTransCADprogramfiles)thatincorporatesalltherequiredGISfunctionalityforyourapplication.Run-timelicensinginvolvesthepaymentofaprocessingfeeplustechnologylicensefeesthatarenegotiatedonacase-by-casebasis.

Whenyoudevelopanadd-inorcustomapplicationusingGISDK,theproductisauseri

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 自然科学 > 物理

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2