ImageVerifierCode 换一换
格式:DOC , 页数:165 ,大小:1.68MB ,
资源ID:4055225      下载积分:5 金币
验证码下载
登录下载
邮箱/手机:
验证码: 获取验证码
温馨提示:
支付成功后,系统会自动生成账号(用户名为邮箱或者手机号,密码是验证码),方便下次登录下载和查询订单;
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/4055225.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  
声明  |  会员权益     获赠5币     写作写作

1、填表:    下载求助     索取发票    退款申请
2、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
3、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
4、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
5、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前自行私信或留言给上传者【丰****】。
6、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
7、本文档遇到问题,请及时私信或留言给本站上传会员【丰****】,需本站解决可联系【 微信客服】、【 QQ客服】,若有其他问题请点击或扫码反馈【 服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【 版权申诉】”(推荐),意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:4008-655-100;投诉/维权电话:4009-655-100。

注意事项

本文(地理信息系统开发工具GISDK使用手册英文版第二部分CallingGISDKFunctionsdoc资料.doc)为本站上传会员【丰****】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4008-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

地理信息系统开发工具GISDK使用手册英文版第二部分CallingGISDKFunctionsdoc资料.doc

1、此文档收集于网络,如有侵权请联系网站删除1 Common Calling Conventions31.1 Passing Null to Represent a Default Value41.2 Identifying Maps, Layers, and Selection Sets41.3 Identifying Views and Sets51.3 Identifying Fonts51.4 Identifying Windows61.5 Identifying Fields61.6 Using Boolean Values61.7 Using Options Arrays62 Usin

2、g GISDK Functions72.1 Windows82.1.1 Creating Windows92.1.2 Working with Windows102.1.3 Closing Windows112.1.4 Attaching Menus and Toolbars122.1.5 Window Macros122.1.6 Window Macros - An Example132.1.7 Saving and Loading Windows152.2 Maps172.2.1 Creating Maps182.2.2 Maps and Layers212.2.3 Layer Style

3、s and Settings262.2.4 User Interaction312.2.5 Themes322.2.6 Freehand Items (Annotations)372.2.7 Selection Sets382.2.8 Legends402.3 Geographic Data and Analysis412.3.1 Feature Coordinates412.3.2 Adding, Editing, and Deleting Features422.3.3 Importing and Exporting Geographic Data422.3.4 Working with

4、Geographic Files432.3.5 Spatial Analysis442.3.6 Triangulated Irregular Networks (TINs)462.4 Tables, Views, and Editors462.4.1 Tables and Views472.4.2 Editors492.4.3 Views, Layers, and Joined Views522.4.4 Reading and Writing Data572.4.5 Reading and Writing from Several Views642.4.6 Adding or Deleting

5、 Records652.4.7 Creating and Modifying Tables662.4.8 ODBC and Oracle Tables662.5 Networks672.5.1 Creating and Manipulating Networks682.5.2 Reading Information from a Network702.5.3 Networks and Network Settings712.5.4 Selecting Segments722.5.5 Updating a Network722.5.6 Solving Shortest Paths732.6 Ro

6、ute Systems752.6.1 Creating and Maintaining Route Systems762.6.2 Adding, Editing and Deleting Routes762.6.3 Getting Information About Routes and Stops772.6.4 Utility Functions for Developing Routes772.6.5 Route Display Settings772.6.6 Mileposts and Milepost Layers782.7 Matrices787.1 Creating and Man

7、aging Matrices797.2 Working with Matrix Editors847.3 Reading and Writing Matrix Data857.4 Working with Matrices877.5 User Interface Programming887.6 Math, String, and Array Manipulation947.7 Timers and Stopwatches977.8 Slide Shows & Snapshots987.9 Printing & Layouts997.10 Interprocess Communication1

8、013Using Projections and Coordinate Systems102Calling GISDK FunctionsThere are hundreds of GISDK functions that you can use to create maps, perform spatial analysis, and build custom applications. This section describes the common calling conventions, summarizes the GISDK functions by topic, and des

9、cribes them in detail alphabetically. There is also a discussion of how to use projections and coordinate systems.For more information, see.Common Calling Conventions Using GISDK Functions Using Projections and Coordinate Systems Listing of GISDK Functions 1 Common Calling ConventionsThis part of th

10、e on-line help identifies some common calling conventions that are shared by many GISDK functions.Function names begin with a verb, except:Some functions that would begin with Create and that return the named object have the Create dropped; for example, what would be CreateCircle() is just Circle()F

11、unctions that would begin with Convert or Compute have that dropped as well; for example, what would be ConvertRealToInt() is just RealToInt()Boolean functions take the form of a declaration rather than a command, such as CoordInMap()In addition, the following abbreviations are used:TermAbbreviation

12、IntegerIntGeographyGeoMinimumMinMaximumMaxDatabaseDB (for geographic files only)Dialog BoxDboxDescriptionDescInformationInfoFor more information, see.Passing Null to Represent a Default ValueIdentifying Maps, Layers, and Selection SetsIdentifying Views and SetsIdentifying FontsIdentifying WindowsIde

13、ntifying FieldsUsing Boolean ValuesUsing Options Arrays1.1 Passing Null to Represent a Default ValueMany GISDK functions interpret a null value for an argument to indicate that a default value should be used. For example, most GISDK functions that take a map name as an argument interpret null to mea

14、n the current map. The same applies to GISDK functions that take an editor name, a layout name, or a layer name. GISDK functions that affect display characteristics interpret null to mean no change. For example, calling SetIconColor() on a selection set with a null value for the color indicates that

15、 the color of features in the set should not be changed from the default for the layer.1.2 Identifying Maps, Layers, and Selection SetsGISDK functions that change layer styles accept several types of strings that identify the map, layer, and selection set to be modified. These strings use a vertical

16、 bar to separate the different parts of the string. Any of the following is acceptable:Syntax. What it means.mapname|layername|setnameModify the style of features in the named map, layer, and selection set layername|setnameModify the style of features in the named layer and selection set in the curr

17、ent mapsetnameModify the style of features in the named selection set for the current layer in the current map layername|Modify the style of features in the named layer in the current map nullModify the style of features in the current layer in the current mapA similar set of options is available fo

18、r setting the style of a theme class. The following are acceptable:Syntax. What it means.layername|themename|class_idModify the style of features in the named layer, theme and class themename|class_idModify the style of features in the named theme and class on the current layerSome display character

19、istics affect an entire layer and cannot be used on individual selection sets. For example, SetLayerVisibility() determines whether a layer is drawn in a map or not. For layer-wide display GISDK functions, you specify the map and layer you are changing in one of three ways:Syntax. What it means.mapn

20、ame|layernameModify the named layer in the named map layernameModify the named layer in the current map nullModify the current layer in the current map1.3 Identifying Views and SetsMany GISDK functions work with views and sets. For example, GetFirstRecord() gets the first record in a particular set

21、in a particular view. You specify which view and set you are using with a string that can have one of four formats:Syntax. What it means.viewname|setnameThe named view and selection setsetnameThe named selection set in the current viewviewname|All records in the named viewnullAll records in the curr

22、ent view 1.3 Identifying FontsSome GISDK functions require a font as an argument. In Caliper Script, a font specification is a string of the form:font_family_name|font_sizefont_family_name|Bold|font_sizefont_family_name|Italic|font_sizefont_family_name|Bold|Italic|font_sizeFont sizes are expressed i

23、n points and can be real numbers, as in Times New Roman|Bold|17.5. Font family names must exactly match the names returned by GetFontNames().1.4 Identifying WindowsWhen you call a GISDK function that can be used on all types of windows (e.g., MinimizeWindow(), you must specify the window type as wel

24、l as the window name, as in Map|My First Map or Editor|Sales Data. To use one of these GISDK functions with the TransCAD program window, call the GISDK function with Frame| as the argument (e.g., MaximizeWindow(Frame|).1.5 Identifying FieldsAs described in more detail in Tables and Views, GISDK uses

25、 both field names and field specs (specifications) to identify fields in a view. Some GISDK functions require field names, while others require field specs. In general, GISDK functions that operate on a single view (e.g., GetFirstRecord() take field names. GISDK functions that operate on a layer (e.

26、g., CreateTheme() or on any view (e.g., JoinViews() take field specs. Refer to the documentation of an individual GISDK function to determine whether it takes field names or field specs.1.6 Using Boolean ValuesMany GISDK functions take boolean values (True or False) as arguments. Others return boole

27、an values. When passing a boolean value to a GISDK function, either as a parameter or as the value of an option, pass a string containing the word True or False. In general, a GISDK function that returns a boolean value returns a string, either True or False, but there are some GISDK functions that

28、return a different value, such as On or Off. Refer to the documentation for an individual GISDK function to determine its possible return values.1.7 Using Options ArraysMany GISDK functions take an array of options as a parameter. Each element in an options array is an array of two (or more) element

29、s. The first element in each sub-array is a string specifying the name of the option. The second (and subsequent) elements of a sub-array give the values for the option. For example, the following options array contains two options (Layer Name and Label) and their associated values:options_array =La

30、yer Name, CountiesLabel, Counties of the NortheastYou can use a dot notation to get, set, add, and remove options in options arrays. For more information, see Options Arrays and Dot Notation in Arrays.If you dont need to pass any options to a GISDK function, you can pass null for the options array.S

31、ome GISDK functions also return options arrays. In general, you should not rely on the order in which options appear in a returned options array. Instead, to locate specific options within an options array, use the GISDK functions:GISDK FunctionSummaryFindOption()Finds a particular option and its se

32、tting in an array of name-value pairsFindOptionValue()Finds the value of a particular option in an options arrayIn addition, some GISDK functions, like AddAnnotation() and GetAnnotation() accept or return information in the same format as an options array. You can use these same GISDK functions to m

33、anipulate these arrays.2 Using GISDK FunctionsThis section contains overviews of how you use GISDK functions to work with windows, maps, layers, editors, tables, and views, well as overviews GISDK functions for geographic data and analysis, networks, routes systems, matrices, and other tasks. Also a

34、ddressed are the key differences between the terminology used in TransCAD and the terminology used in GISDK.For more information, see.WindowsMapsGeographic Data and Analysis Tables and Views Networks Route Systems Matrices Other GISDK Functions2.1 WindowsGISDK lets you create, manipulate, and close

35、windows of five different types. You can control the location, size, and other settings for each window, save the contents of a window to a file, or open a file and create a window from its contents.You can also attach menus and toolbars to each and every window, and create macros that run automatic

36、ally either when a user clicks in a window to activate it, or when a user closes the window. These capabilities let you separately customize the interface for each window in your application. The Standard Interface, however, has only one menu system for all windows, and only one toolbar for each win

37、dow type.GISDK supports five types of windows: maps, editors (including dataviews), figures, layouts, and a special type of window called the frame. The frame is the TransCAD program window as it appears when no maps, editors, figures, or layouts are open.Every map, editor, figure, and layout has a

38、name that distinguishes it from all other windows of the same type. For example, your application could have six different windows as shown in the table:WindowTypeName1MapUS Streets2MapStates3MapUS Streets:14EditorUS Streets5 EditorState Data6LayoutUntitledNo two maps, editors, figures, or layouts c

39、an have the same name, although as indicated in the above example, a window of one type can have the same name as a window of another type. The windows in GISDK are also identified by name, where the window name is of the form window type|window name. For example, Map|US Streets, Editor|State Data,

40、and Layout|Untitled are all valid window names in the above example.Most window management GISDK functions can accept a null value for the window name. In this case, GISDK applies the function to the most recently activated map, editor, figure, or layout window. In addition, GISDK functions that wor

41、k on only one type of window (e.g., CloseMap() take the window name without the window type.For more information, see.Creating WindowsWorking with WindowsClosing WindowsControlling Window Size and LocationAttaching Menus and ToolbarsWindow MacrosSaving and Loading Windows2.1.1 Creating WindowsWindow

42、s are created by the following GISDK functions:GISDK FunctionSummaryCreateMap()Creates a new, empty map windowCreateEditor()Creates a new editor windowCreateEditorByQuery()Creates an editor displaying the results of an SQL queryCreateMatrixEditor() Creates a new matrix editor windowCreateFigure()Cre

43、ates a new figure windowCreateLayout()Creates a new layout windowOpenMap()Opens a map file and displays it in a map windowOpenMapFromAnnotation()Creates a new map window from a map that appears in a layoutOpenEditor()Creates an editor from a fileOpenEditorFromAnnotation()Creates a new editor window

44、from an editor that appears in a layoutOpenFigure()Creates a figure from a fileOpenFigureFromAnnotation()Creates a new figure window from a figure that appears in a layoutOpenLayout()Creates a layout from a fileThese GISDK functions all return the name of the map, editor, figure, or layout window th

45、at was created. These GISDK functions have numerous options that control how the window operates. Here is a quick summary:OptionWhat it doesMenuNames the menu that is associated with the windowToolbarNames the toolbar that is associated with the windowPositionSets the location of the upper-left corn

46、er of the window within the application windowSizeSets the size of the window within the application windowActivate MacroSpecifies the name of a macro that is run automatically when the window is activatedClose MacroSpecifies the name of a macro that is run automatically when the user closes the win

47、dow by choosing the Close option from the System menuSome of these options can be changed after a particular window is created. These options are described in detail in the topics that follow. The following GISDK functions are used to manage window options:GISDK FunctionWhat it doesGetMapOptions()Gets the value of options for a map windowSetMapOptions()S

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2024 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服