您的位置:首页 > 其它

How to use ArcGIS samples for help running the sample

2017-03-13 16:18 399 查看
1.Open the solution file in visual Studio and build the project.

    在vs中打开目标文件,并创建项目。

2.Start ArcMap,click the Customize drop-down menu,and click Customize Mode.The Customize dialog box appears.

打开ARCMap。点击“自定义--自定义模式”,出现自动义窗口。

3.Click the Commands tab,scroll to Add-in Controls in the categories list,and drag the Time Series Graph tool to a toolbar in ArcMap.

在自定义窗口中,选择“命令--Add-in Controls-- Time Series Graph”,把 Time Series Graph添加到工具栏中。

4.Move the timeseries.tee file from the sample folder to the<your ArcGIS for Desktop install location>/GraphTemplates folder.

从例子中移动timeseries.tee 文件到ArcGIS的安装路径下

5.Add the TimeSerTool.lyr to ArcMap.

6.Select the time Series Graph tool and click the point (gage station).A line graph is drawn in a new graph window.

7.To add lines to the same graph,keep the graph window open,and a new line is added into it.To draw lines on a new graph,close the graph window,and a new line is drawn in a separate graph window.

ArcGIS中的帮助真的炒鸡炒鸡详细,但是全英真的看得很费劲,一知半解的,觉得还是真正遇到工作时候自己的水平才能快速提高。
http://help.arcgis.com/zh-cn/arcgisdesktop/10.0/help/index.html#/na/002s00000007000000/    中文在线ARCGIS帮助链接。

打开ArcgisEngine下面的Simples,如何在vs中运行:

会出错“无法直接启动带有“类库输出类型”的项目”。

因为此例子生成的是一个类库项目,而不是一个程序。

应该建立Windows应用程序或者控制台应用程序才能运行。

1.发生“不包含适合于入口点的静态“Main”方法”,错误是因为项目的输出类型应改为类库;

2.项目的输出类型是类库,会发生“无法直接启动带有“类库输出类型”的项目”错误,搜索到的解决办法是输出类型改为Windows应用程序或控制台应用程序,然后就跑到1.....

cool:用vs打开ArcObjectsNet --ARControlDocumentProperties  --C#文件夹下的DocumentProperties.sln,在项目名称上右键,设为启动项目就可以运行。不知道是不是例子里的文件格式不同,之前好像这种办法行不通。文件夹下,AR开头的几个程序都能打开运行,其他的不能运行。


例子中的程序运行需要pmf格式的图片,用arcmap打包生成。But,我在使用ArcMap打开mxd格式的地图数据,再照着找到publisher的时候,工具栏publisher一直处于灰色无法操作状态。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐