📄 使用arcgis engine 开发自定义gis应用--第六部分(续实例二) - gis大讲堂.htm
字号:
href="http://bbs.esrichina-bj.cn/ESRI/viewpro.php?uid=5624">资料</A>
<A href="http://bbs.esrichina-bj.cn/ESRI/blog.php?uid=5624"
target=_blank>文集</A> <A
href="http://bbs.esrichina-bj.cn/ESRI/pm.php?action=send&uid=5624"
target=_blank>短消息</A> </DIV></DIV></TD></TR>
<TR>
<TD class=line style="PADDING-TOP: 10px" vAlign=top height="100%"><A
title="评分 0"
href="http://bbs.esrichina-bj.cn/ESRI/misc.php?action=viewratings&tid=6656&pid=33844"
name=pid33844></A><SPAN class=bold>使用ArcGIS Engine
开发自定义GIS应用--第六部分(续实例二)</SPAN><BR><BR>
<DIV style="FONT-SIZE: 12px">
<P align=left><FONT color=#000000><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">这么长时间没有在大讲尝来讲了,真是不好意思,由于时间关系,到今天才又开始写,尽快完成余下的部分,在</FONT></FONT><FONT
style="FONT-SIZE: 12pt"><FONT
face="Times New Roman">3D</FONT></FONT><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">的例子里我们也分不同的语言来讲,先讲一下</FONT></FONT><FONT
style="FONT-SIZE: 12pt"><FONT
face="Times New Roman">VB.NET</FONT></FONT><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">上进行</FONT></FONT><FONT
style="FONT-SIZE: 12pt"><FONT
face="Times New Roman">AE</FONT></FONT><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">的</FONT></FONT><FONT
style="FONT-SIZE: 12pt"><FONT
face="Times New Roman">3D</FONT></FONT><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">开发。</FONT></FONT><FONT
style="FONT-SIZE: 12pt"></FONT></FONT></P>
<P align=left><FONT face=TimesNewRoman><FONT
style="FONT-SIZE: 10pt"><FONT face="Times New Roman"><FONT
color=#000000></FONT></FONT></FONT></FONT></P>
<P align=left><FONT color=#000000><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">在这个例子当中,我们将操作</FONT></FONT><FONT
style="FONT-SIZE: 12pt"><FONT
face="Times New Roman">3D</FONT></FONT><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">控件,并且使用</FONT></FONT><FONT
style="FONT-SIZE: 12pt"><FONT
face="Times New Roman">API</FONT></FONT><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">来创建具有</FONT></FONT><FONT
style="FONT-SIZE: 12pt"><FONT
face="Times New Roman">3D</FONT></FONT><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">功能的应用程序。</FONT></FONT><FONT
style="FONT-SIZE: 10pt"></FONT></FONT></P>
<P align=left><B><I><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">第一步:导入工程并且进行许可授权</FONT></FONT></I></B><B><I><FONT
face=Arial><FONT size=9></FONT></FONT></I></B></P>
<P align=left><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">你先要建立一个标准的</FONT></FONT><FONT
style="FONT-SIZE: 12pt"><FONT
face="Times New Roman">VB.NET</FONT></FONT><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">应用程序并增加</FONT></FONT><FONT
style="FONT-SIZE: 12pt"><FONT
face="Times New Roman">ESRI</FONT></FONT><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">库的引用,并初始化</FONT></FONT><FONT
style="FONT-SIZE: 12pt"><FONT
face="Times New Roman">AE</FONT></FONT><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">的许可同时具有</FONT></FONT><FONT
style="FONT-SIZE: 12pt"><FONT
face="Times New Roman">3D</FONT></FONT><FONT face=宋体><FONT
style="FONT-SIZE: 12pt">分析扩展许可,当然程序关闭时自动释放许可,步骤如下:</FONT></FONT><FONT
style="FONT-SIZE: 12pt"></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>1)
</FONT></FONT></FONT><FONT face=TimesNewRoman><FONT
style="FONT-SIZE: 14pt"><FONT color=#000000>Click File > Open
> Project.</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>2)
</FONT></FONT></FONT><FONT face=TimesNewRoman><FONT
style="FONT-SIZE: 14pt"><FONT color=#000000>Browse to
\Student\DAAE\Exercise4\VBNET\Daae3DControls and
click</FONT></FONT></FONT></FONT><FONT color=#000000><FONT
face=宋体><FONT style="FONT-SIZE: 14pt"> </FONT></FONT><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
face="Times New Roman">Daae3DControls.vbproj.</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>3)
</FONT></FONT></FONT><FONT face=TimesNewRoman><FONT
style="FONT-SIZE: 14pt"><FONT color=#000000>In the Solution
Explorer, double-click
frm3DControls.vb.</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>4)
</FONT></FONT></FONT><FONT face=TimesNewRoman><FONT
style="FONT-SIZE: 14pt"><FONT color=#000000>In the frm3DControls.vb
code window, browse the code in
Form1_Load.</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>5)
</FONT></FONT></FONT><FONT face=TimesNewRoman><FONT
style="FONT-SIZE: 14pt"><FONT color=#000000>From the menu, click
Tools > ESRI LicenseInitializer. Check the
following:</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>a)
</FONT></FONT></FONT><FONT face=TimesNewRoman><FONT
style="FONT-SIZE: 14pt"><FONT color=#000000>ArcGIS
Engine</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>b) </FONT></FONT></FONT><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>3DAnalyst</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>6)
</FONT></FONT></FONT><FONT face=TimesNewRoman><FONT
style="FONT-SIZE: 14pt"><FONT color=#000000>Click OK to close the
dialog.</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>7)
</FONT></FONT></FONT><FONT face=TimesNewRoman><FONT
style="FONT-SIZE: 14pt"><FONT color=#000000>Review the code created
by the ESRI add-in.</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>8)
</FONT></FONT></FONT><FONT face=TimesNewRoman><FONT
style="FONT-SIZE: 14pt"><FONT color=#000000>Save and build the
solution.</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>9)
</FONT></FONT></FONT><FONT face=TimesNewRoman><FONT
style="FONT-SIZE: 14pt"><FONT color=#000000>Run the
solution.</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>10) </FONT></FONT></FONT><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>With the Scene tab visible, load an existing .sxd file
from \student\daae\data\.</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face="Times New Roman"><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>11) </FONT></FONT></FONT><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
color=#000000>Click the Globe tab and load an existing .3dd file
from</FONT></FONT></FONT></FONT><FONT color=#000000><FONT
face=宋体><FONT style="FONT-SIZE: 14pt"> </FONT></FONT><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 14pt"><FONT
face="Times New Roman">\student\daae\data\globedata\.</FONT></FONT></FONT></FONT></P>
<P align=left><FONT face=Arial><FONT
style="FONT-SIZE: 14pt"></FONT></FONT></P>
<P align=left><FONT face=宋体><FONT style="FONT-SIZE: 10pt"><FONT
color=#000000>详细如图所示:</FONT></FONT></FONT><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 10pt"></FONT></FONT></P>
<P align=left><FONT face=TimesNewRoman><FONT
style="FONT-SIZE: 10pt"></FONT></FONT></P><FONT
face=TimesNewRoman><FONT style="FONT-SIZE: 10pt"><FONT
color=#000000><FONT
face="宋体, MS Song"></FONT></FONT></FONT></FONT><BR><BR>[<I> 本帖最后由
北斗星 于 2007-3-13 11:22 PM 编辑 </I>]</DIV><BR><BR><IMG class=absmiddle
alt=""
src="使用ArcGIS Engine 开发自定义GIS应用--第六部分(续实例二) - GIS大讲堂.files/image.gif"
border=0><A title=查看积分策略说明
href="http://bbs.esrichina-bj.cn/ESRI/member.php?action=credits&view=getattach"
target=_blank>图片附件</A>: <A class=bold
href="http://bbs.esrichina-bj.cn/ESRI/attachment.php?aid=2733"
target=_blank>16.JPG</A> (2007-3-13 11:22 PM, 28.45 K)<BR><BR><IMG
onmousewheel="return imgzoom(this);"
onmouseover="if(this.resized) this.style.cursor='hand';"
onclick="if(!this.resized) {return false;} else {window.open('attachments/forumid_14/16_c1eHqagHROyj.jpg');}"
alt=""
src="使用ArcGIS Engine 开发自定义GIS应用--第六部分(续实例二) - GIS大讲堂.files/16_c1eHqagHROyj.jpg"
onload="if(this.width >screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='点击在新窗口查看全图\nCTRL+鼠标滚轮放大或缩小';}"
border=0> </TD></TR>
<TR>
<TD vAlign=bottom><BR><BR><BR><IMG alt=""
src="使用ArcGIS Engine 开发自定义GIS应用--第六部分(续实例二) - GIS大讲堂.files/sigline.gif"><BR>
<DIV class=signature
style="OVERFLOW: hidden; max-height: 20em; maxHeight: 245px">欢迎参加ESRI2007巡展</DIV></TD></TR>
<TR>
<TD align=right> <A
href="http://bbs.esrichina-bj.cn/ESRI/post.php?action=reply&fid=14&tid=6656&repquote=33844&extra=page%3D1">引用</A>
<A
href="http://bbs.esrichina-bj.cn/ESRI/misc.php?action=report&fid=14&tid=6656&pid=33844&page=1">报告</A>
<A onclick="fastreply('回复 #1 北斗星 的帖子')"
href="http://bbs.esrichina-bj.cn/ESRI/viewthread.php?tid=6656&extra=page%3D1###">回复</A>
<A onclick=scroll(0,0)
href="http://bbs.esrichina-bj.cn/ESRI/viewthread.php?tid=6656&extra=page%3D1###"><IMG
alt=顶部
src="使用ArcGIS Engine 开发自定义GIS应用--第六部分(续实例二) - GIS大讲堂.files/top.gif"
border=0></A> </TD></TR>
<TR class=t_infoline>
<TD class=line
style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px">[广告]
<A
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -