ArcGIS二次开发教程
ArcGIS二次开发教程,全书分两部分:基础篇和提高篇。基础篇通过 100 多个具体的实例详细地讲解了 ArcGIS 二次开发过程中涉及到的各个主要的知识点;提高篇则以实际项目开发为例,综合运用基础篇的各个知识点,详细地展示了 ArcGIS 二次开发的流程、方法和各种开发技巧。内容提要本书道过大量的实例,从专业开发者的角度系统而详细地讲解了如何进行ArcGIs二次廾发的编程,选材具有板强的针对性和实用性,内容翔实、基础、实用,旨在帮助开发人员能尽快掌握 ArcgIs的二次开发全书分两部分:基砷篇和提高篇。基础篇通过100多个具体的实例详细地讲解了 Arcgis二次开发过程中涉及到的各个主要的知识点;提高篇则以实际项目开发为例,综合运用基础篇的各个知识点,详继地展示了 Arcgis二次开发的流程、方法和各种开发技巧。本书适合从事 ArcGIs8.2/8.3二次开发的工程技术人员阅读本书附带光盘一片,内容包括了书中全部实例的原码及测试数据。前言目录前言1.基础篇开发环境1.如何在 ArcMap的VBA环境中编程1.1.2.如何在VB环境中利用 ArcObjects组件开发 Activex dll..51.1.3.如何在 Arcmap中加载利用Arc0 jects组件开发的 ActiveⅩDLL1.1.4.如何在WB环境中利用 ArcObjects控件开发EXE..8用户界面101.2.1.如何创建定制的按钮( Button)..1.2.2.如何创建定制的Too1..1.2.3.如何创建定制的工具条( Tool bar).141.2.4.如何创建定制的 Multiltem161.2.5.如何创建定制的菜单(Menu)1.2.6.如何创建定制的 ToolContro1..1.2.7.如何创建定、使用制的可停靠窗口( Dockable window)....221.2.8.如何创建、使用定制的 Extension..如何使用状态条( Statusbar)与进度条( ProgressBar).251.2.10.如何使用 ArcgIs的对话框.1.2.11.如何调用 ArcMap中现有的功能271.2.12.如何创建放人镜(虫眼)28GeoDatabase291.3.1.如何加载 Shape文件91.3.2.如何在 ArcMap中加入Text和 dBASE文件.,,,301.3.3.如何连接 GeoDataBase文件321.3.4.如何连接 Coverage文件341.3.5.如何连接栅格文件.1.3.6.如何创建 Shape文件.1.3.7.如何创建DBF文件1.3.8.如何创建 GeoDatabase文件421.3.9.如何创建 Coverage文件431.3.10.如何建立文件连接(Join/Link)1.3.11.如何浏览纪录(属性查询)..471.3.12.如何编辑记录...481.3.13.如何增加记录491.3.14.如何删除记录1.3.15.如何纪录排序( ITablesort)1.3.16.如何添加字段541.3.17.如何删除字段1.3.18.如何进行空问查询571.3.19.如何进行高级空间查询(两个层之间的空间查询)..591.3.20.如何进行层与层之间的逻辑运算.1.3.21.如何将 shape文件转化成 GeoDatabase(各种文件格式的转换)621.3.22.如何将Map中显小的图形转化成栅格文件651.3.23.如何打开选中的层或独立表的属性窗口·非1.3.24.如何拷贝属性表中的一行.1.3.25.如何为当前层或独立表创建一个 Summary表..701.3.26.如何利用用户定义的规则创建定制的排序1.3.27.如何实现在 ArcMap上进行属性杏询( Identify)791.3.28.如何设置和修改层的数据源82Display81.4.1.如何实现在 ArcMap中放大缩小地图831.4.2.如何实现在 ArcMap中移动地图..851.4如何实现在 ArcMap上画 Polygon..871.4.4.如何实现在 ArcMap上进行测量....891.4.5.如何实现在 ArcMap上选取中记录,,,,,,,,,,951.4.6.如何实现在 ArcMap中进行动作的撤销和重做..1.4.7.如何画 Polygon buffers图元编辑1.5.1.如何得到图形的基木属性.991.5.2.如何将选中的点集转换成 Polygon1.5.3.如何将 Multipoint转换成 Point1041.5.4.如何通过 Polygon中的多个Ring创建多个 Polygon106如何从 Polyline创建 Polygon1081.5.6.如何从 Polygon创建 Polyline如何将 Polygon/ Polycurve一般化( Generalize)1.5.8.如何获得 Polygon的中点...1141.5.9.如何判断图形间的逻辑运算.1.5.10.如何进行图形间的逻辑运算.··鲁1191.5.11.如何创建 Envelope的 Boundary.1221.5.12.如何通过鼠标移动图形.1251.5.13.如何为一个图形添加一个顶点1281.5.14.如何朋除个图形上的个顶点1.5.15.如何移动一个图形上的一个顶点,,,,,.,1331.6Element,,,,,,,,,,,,,,,,,,,,.1361.6.1.如何创建 Markerelement36如何创建 TextElement131.6.3.如何创建 Balloon callout1.6.4.如何创建 PolygonElement1401.6.5如何选中一个 Element..1.6.6.如何移动 Element.1421.6.7如何排列 Element146如何通过名字查询 Element1481.6.9.如何拷贝 Element.1501.6.10.如何沿着折线路径显示Text1.7Symbo1和 Renderer.1541.7.1.如何为一个层设置 Simple renderer..1541.7.2.如何为一个层设置 niquevalue renderer...1561.7.3.如何为一个层设置 ClassBreaks renderer1601.7.4.如何为一个层设置 Proportional symbol Renderer,,163如何为一个层设置 Chart renderer1.7.6.如何为一个层设置 DotDensity renderer.168Layout和打印.1701.8.1.如何在 Page Layout上添加lext1701.8.2.如何在 Page Layout上添加 Legend1711.8.3.如何在 Page layout上添加 North arrow.,,,,,,,1741.8.4.如何在 Page Layout上添加 Scale bar1751.8.5.如何在 Page Layout上添加 Scale text1.8.6.如何在 Page Layout上添加 Picture..,,,1.8.7.如何创建、删除地图网格( Map grid).1801.8.8.如何设置 Layout中 Mapframe的外观风格属性.1821.8.9.何设置 Layout中Page的边框( Border)和背景( Background)1841.8.10.如何设置打印纸张的大小和方向1.9坐标系统··1881.9.1.如何在 ArcMap中设置地理坐标系和投影坐标系1.9.2.如何修改层的坐标系统189如何把 Polygon的顶点从经纬度坐标转换到平面直角坐标.191Arcgis相关文件,,1931.10.1.如何夹载grf文件.1931.10.2.如何新建指向 Shape文件的lyr文件1941.10.3.如何新建指向 GeoDatabase文件的」yr文件1951.10.4.何加载mxd文件..,,1971.10.5.如何加载Apr文件( Arcvie32)1981.10.6.如何加载1yr文件1991.10.7.1yr文件的属性的改置..其他1.11.1.如何创建简单的 Column chart1.11.2.如何将数据输出到 Excel2041.11.3.如何把 Labels转换为 Annotation,,2061.11.1.如何把 Annotation转换为 Polygon Features..2101.11.5.如何设置 Featurelayer的 Label2131.11.6.如何设置图层显示的透明度.215如何过滤层中要显示的 Features..2151.11.8.如何在 MapControl中新建一个 Documen并且保存2162.提高篇219缩略图的实现FeatureLayer显示 Symbol的定制.2192.3.空问查询的综合应用··鲁2.4图形编辑的综合应用219夕元7⑦重合力世表示七印刷2.6.八y77如理228Voronio作成234数据处理加速一地图分块处理.2342.9.MapControl的使用..;···2352.10运用 PageLayout控件打印图形附录 ArcGiS的GUID一览表基础篇1.1.开发环境1.1.1.如何在 ArcMap的VBA环境中编程ArcMap是 ArcGIs家族的成员之一,它内置了一种集成编程环境一VBA( Visaul Basic for apllications)。通过VBA编程,用户不但可以扩展 ArcMap的菜单、工具条等,而且可以完成大多数用户的特定需求。ArcMap中VBA编程的方法有两种,一种是写VBA宏,另一种是创建 UNControl并在其事件中写入实现用户需求的代码。下面列出两种方法的一般步骤。方法∵:写ⅦBA宏(直接在VBA编辑器中编辑函数和过程1、如图1,单击菜单栏中的< Tools>命令,选择< Macros>的< Visual basicEditor>项,直接启动 ArcMap的VBA编辑器:或者选择< Macros>的< Macros>项,进入如图2所示 Macro对话框,在“ Macro name”文本框中输入要创建的宏的名称,并点< Create>按钮,启动WBA编辑器无标题一AMap- ArcInfoFlle EdIt vlew Insert Selecton Tools WIndow] Help?A?ar aphs日缪Layf+ Add Route Evertson occssinc wizardb Maos.at+roA:+F11Display sourceExtensorsB UADisplay the isla basic Editor15图1启动 Macro对话框/启动ⅤBA编辑器
- 2021-05-06下载
- 积分:1
ST FOC 5.0说明书 快速入门 SDK v5.0.pdf
ST FOC 5.0说明书 配合 开源库 https://download.csdn.net/download/hxinstar/10322042使用UM2374List of tablesList of tablesTable 1. List of acronymsTable 2Document revision history..23UM2374 Rey 13/24List of figuresUM2374List of figuresFigure 1. ST MC Workbench -Icon and installation folder treeFigure 2. ST MC Workbench-GUI expanded top viewFigure 3. ST Motor Profiler-GUI889Figure 5. ST Motor Profiler-SM-PMSM parameters exampleFigure 4. ST Motor Profiler- Hardware setup list examples1011Figure 6. ST Motor Profiler-l-PMSM parameters exampleFigure 7. ST Motor Profiler-Measurement results12Figure 8. ST Motor Profiler-Save window13Figure 9. ST MC Workbench - New Project window14Figure 10. ST MC Workbench -New Project Info window14Figure 11. ST MC Workbench -Project Settings15Figure 12. ST MC Workbench-Project Settings window.15Figure 13. ST MC Workbench -Project generation button16Figure 14. ST MC Workbench -Workspace selectionFigure 15. ST MC Workbench -Project generation build infoFigure19. ST MC Workbench- Use of the motor control and monitoring.∴、∴,"…,,∴…….17Figure 16. IDE-MC Project view example18Figure 17. STMC Workbench-Motor monitoring button.19Figure 18. ST MC Workbench -Motor monitoring GUI204/24UM2374 Rey 1/UM2374General informationGeneral informationThe Mc sDK is used for the development of motor-control applications running on STM3232-bit microcontrollers based on the arm Cortex-M processorTable 1 presents the definition of acronyms that are relevant for a better understanding ofthis documentTable 1. List of acronymsAcronymDescriptionGUIGraphical user interfaceIDEIntegrated development environmentFOCField-oriented controlFWFirmwareMotor controlMC WBMotor control Workbench(STMicroelectronics sw tool)MPMotor Profiler(STMicroelectronics software tool)PMSMPermanent-magnet synchronous motorPWMPulse-width modulationSDKSoftware development kitVCVector controlMore information about ST MC Workbench is provided in the stm32 motor control SDKv5.0toolsusermanual(um2380)availableatwww.st.comarmUM2374 Rey 15/24Motor control ecosystem setupUM23742Motor control ecosystem setupA suitable ST Motor Control ecosystem environment includesA PC running the needed Mc software toolsA third-party IDEa third-party ANSI C-compilerA JTAG/SWD interface for debugging and programmingAn STMicroelectronics application board with one of the STM32 microcontrollerssupported. It drives the power stage and featuresPWM outputs to gate driverADC channels to measure currentsDC bus voltageA three-phase PMsM motol· A power supplyRefer to the STM32 motor control software development kit(Mc sDk data brief(DB3548)atwww.st.comandtothereleasenoteformoredetails2.1Software tool setupThe STMicroelectronics motor-control ecosystem runs on a pc with Windows7The following Pc software tools are correctly installedST MC Workbench (v5.0.0 or later)STM32CubeMX(v4 24.0 or later)ST-LINK/2(v4.0.0 or later)Any supported IDEIAR Embedded Workbench@ for Arm(v7.80.4Keil MDK tools (v5.24.2 or later)Ac6 System Workbench(v2.3.0 or later)(a)Refer to the respective user manuals for proper installation. STMicroelectronics documentsareavailablefromtheinternetsiteatwwwst.comSTM32 motor control SDK v5.0 tools user manual (UM2380STM32 CubeMX for STM32 configuration and initialization c code generation usermanual (UM1718)STM32 ST-LINK utility software description user manual(UM0892)The AC6 tool framework is not supported in SDK v5.0 but in later versions6/24UM2374 Rey 1/UM2374Motor control ecosystem setup22Hardware setupThe connection of the STMicroelectronics application board to the pc requires a USBType-A connector. Refer to the description of the application board for details on the USBcableA dedicated description card is delivered with each STMicroelectronics application board forproper installation For more details, refer to the user manual of the board available atwww.st.comThe selected hardware can be one of the three setups· The complete MC KitOne of the complete inverter boardsAny STM32 evaluation board combined with one of the ST evaluation power stagesthat include the mc connectorUM2374 Rey 17/24Getting StartedUM23743Getting StartedWarning: Check that the board is correctly configured for the motorcontrol application and supplied with the expected inputvoltageNoteRefer to the user manual of the related hardware to setup the correct configuration, voltagerange, serial communication capabilities, and programming/debugging interface3.1Hardware connectionConnect a uSb cable between the pc and the stmicroelectronics application board andthe JTAG/SWD programming cable if it is different from the USB cable3.2Motor profilingLaunch the ST MC Workbench software tool either byclicking on its iconrunning it directly from the installation folder treeBoth ways of launching the ST MC Workbench are illustrated in Figure 1Figure 1. ST MC Workbench- Icon and installation folder treeI STMicroelectrorics感FOC SDKLv.3.0MotorControlv500WorkBenchST Motor Control Workbenchd ST Motor profileren the st motor profiler tool either byUsing its dedicated button in the St Mc Workbench GUl as illustrated in Figure 2Running it directly from the installation folder tree as illustrated in Figure 1Figure 2. ST MC Workbench-GUl expanded top viewFile Tools Help Documet ta ionNew ProjectLoad Project4 About HelpMotor ProfilRcGert ProJEcts己tdbrsDRpower board8/24UM2374 Rey 1/UM2374Getting StartedClick on the Select Boards button to display the list of supported boards as shown onFigure 3 and select the STMicroelectronics application board setup. Figure 4 on page 10presents examples from this listNoteThe ST Motor Profiler tool may be used only with ST hardware in the list of supportedsetups.Figure 3. ST Motor Profiler-GUI2 ST Motor Profile.l:e augmentedMotor ProfilersPole pairsPe row to detecbeed and Current /mitsMaκSpet1600FPMn7 Select Board∧pk02530pkMagnetic: SM-PMSN○-NSMMechanIcal mode lO CenElectrical modelOW000UM2374 Rey 19/24Getting StartedUM2374Figure 4. ST Motor Profiler-Hardware setup list examplesE ST Motor ProfiY Hideabsolete boarde arch Control board by narSe arch power boac bv nareControl boardower BoardxCancelHide boards with warningNUCLEO-F302R8X-NUCLEO-HMOTM1 3shNUCLEO-F302R8X-NUCLEO-HMOBM1 3shT2F302R8T6L6230PDSTM32F302R8T6STL22ON6FT●Acf8m:m3SELNRV2 Emiol connectorC Product Web PageG Product Web PageC Product Web PageC Product Web PageNUCLEO-F303RESTEVAL-IPMO5F 3ShNUCLEO.F303RESTEVAL-IPM108 3sh●Aiv命Ativ● Ac livSn Ngor ombreI connectorST-LINKV2C Product Web PageC Product Web PageC Product Web PageC Product Web PageClick on the sTmicroelectronics hardware setup to select it and configure the st motorProfiler toolAs an example, Figure 4 shows the selection of the P-NUCLEO-IHM001 motor controlNucleo pack with NucLEo-F302R8 and X-NUCLEO-IHMO7M1After hardware setup selection, fill in the parameter fields with the motor informationThe number of pole pairs of the motor(mandatory fieldThe Max Speed of the motor(optional field)by default, the st Motor Profiler tool searches for the maximum allowed speedmatching the motor and the hardware setup usedThe Max Current allowed by the motor(optional field)By default, it is the maximum peak current deliverable by the hardware setupThe nominal dC bus voltage used by the hardware setup(optional field)By default, it is the power supply stage as either the bus voltage for low voltageapplications(DC voltage), or the RMs value for high voltage application(Ac voltage)The magnetic built-in type(mandatory field)By default, the SM-PMSM is selectedThe Ld/Lq ratio(mandatory field only when l-PMSM built-in is selected as shown inFigure 6 on page 1110/24UM2374 Rey 1/
- 2020-11-29下载
- 积分:1