Skyline二次开发手册

合集下载

SkylineTerraexplorerPro系统操作手册中文资料全

SkylineTerraexplorerPro系统操作手册中文资料全

系统平台操作手册一、TerraExplorer Pro简介 (2)二、TerraExplorer Pro菜单 (3)1、File (3)2、Edit(第九章第二节) (4)3、View (6)4、Navigation (6)5、Layers (8)6、Creat (12)7、Measurements(第十八章) (15)8、Tools(第十九章) (16)collaboration (16)Extract terrain (16)GPS tracking (18)Duplicate Objects (18)Free hand drawing (18)Build power Aid (18)Multiple coordinate system (19)Mil-std-2525b (19)Make point cloud model (19)Data library (19)Snapshot (19)Save snapshot to file (19)Snapshot size (19)Project setting (19)Options (20)9、Help (22)三、TerraExplorer Pro工具栏(操作方法参考菜单中creat的操作方法) (23)Project: (23)measurements (23)Layer (24)2D Objects (24)3D—Objects (24)dynamic object (25)route (25)四、对象操作 (25)绑定(第九章最后一节) (25)一、TerraExplorer Pro简介TerraExplorer Pro:它是一个桌面应用程序,使得用户可以浏览分析空间数据,并可以对其进行编辑。

也可以在上面添加二维或者三维的物体、路径、场所以及地理信息文件。

TerraExplore与TerraBuilder所创建的地形库相连接,并且可以在网络上直接加入GIS图层。

Skyline二次开发V6-培训

Skyline二次开发V6-培训

ActiveX控件介绍
ITE3DWindow
三维场景
ITEInformationWindow
信息树
ITENavigationMap
二维导航图
ActiveX控件介绍(VB版)
ActiveX控件介绍(VB版)
ActiveX控件介绍(VB版)
ActiveX控件介绍(Visual C++ 版)
ActiveX控件介绍(Visual C++ 版)
TerraExplorer Pro API
• TerraExplorer API提供了一套强大的接口用来集成 TerraExplorer、TerraExplorer Pro 和用户自定义应用 。它提供了一些访问外部信息扩展的方法,比如:访问 数据库或基础地理空间数据。所有这些以COM协议为基 础的API接口都可以通过脚本语言操作(例如Javascript ),也可以通过非脚本语言来控制操作(例如:C++、 VB、delphi或者.net)。
Terrain Vector Image ……
.x .flt .dae
COM API SGAPI
SkylineGlobe Enterprise 产品结构图
SkylineGlobe Enterprise 产品结构图
TerraBuilder Family
TerraBuilder (单机版) TerraBuilder Multi-Processor Edition(企业版)
Freeze Major Minor Type
关闭工程 工程参数设置
功能开发:菜单功能实现
ICommand6接口
– – – – CanExecute GetValue IsChecked Execute 时间轴 指北 太阳 地下模式 缩放 判断命令是否可用 获取属性值 判断某个命令是否被激活

Skyline软件应用材料二次开发篇.ppt

Skyline软件应用材料二次开发篇.ppt

2.1 Skyline主要开发工具
HTML (VBScript, JavaScript)
VB/VC/Delphi
.NET
其它COM语言
COM 接口 TerraExplorer 框架体系
2.2 Skyline开发体系结构
内嵌式脚本开发 嵌入网页式开发 应用程序自定义开发 COM接口技术
程序网络发布开发 应用程序浏览器
2.3 Skyline的特点、特性
• 简单、便捷、单一实例开发思想 • 基于COM技术开发 • 基于OLE技术的ActiveX技术 • 嵌入式开发与组件式开发有机统一 • 具备内置开发及功能定制 • 。。。。。。。。。。。。。。。。
3. Skyline API 接口简介
整合TerraExplorer、TerraExplorer Pro和自定义应用等强大的技术方法,提 供访问外部信息的扩展的方法的创建, 如数据库或GIS文件;所有的接口都是基 于COM协议技术。
21skyline主要开发工具htmlvbscriptjavascriptvbvcdelphinet其它com语言com接口terraexplorer框架体系22skyline开发体系结构内嵌式脚本开发嵌入网页式开发应用程序自定义开发com接口技术程序网络发布开发应用程序浏览器23skyline的特点特性?简单便捷单一实例开发思想?基于com技术开发?基于ole技术的activex技术?基于ole技术的activex技术?嵌入式开发与组件式开发有机统一?具备内置开发及功能定制?
Set TempModel = TempObject If (TempModel.Visible = 0) Then
TempModel.Visible = True Else

基于Web的skylineTerraExplorerPro开发实例(源码)

基于Web的skylineTerraExplorerPro开发实例(源码)

基于Web的skylineTerraExplorerPro开发实例(源码)基于html和javascript脚本实现,把基本的TerraExplorer Pro⼆次开发的功能体现出来了。

能给skyline 开发的初学者⼀个很好的范例: <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>lianxi</title></head><body OnLoad="Init();"><object id="TEInformationWindow" classid="CLSID:3a4f9193-65a8-11d5-85c1-0001023952c1" width="300" height="400"><embed width="300" height="400"></embed></object><object ID="TE3DWindow" classid="CLSID:3a4f9192-65a8-11d5-85c1-0001023952c1" width=650 height="400"></object><object ID="TE" CLASSId="CLSID:3a4f9191-65a8-11d5-85c1-0001023952c1"></object><hr/><br><table width="100%" height="133" border="1" align="center" bordercolor="#00FF33"><tr><td width="16%" height="29" align="center"><input type="button" name="createline" value="创建线" onClick="Createpolyline()"><input type="button" name="Container" value="弹新窗⼝" onClick="Container()"></td><td width="16%" align="center"><input type="button" name="ITerraExplorer" value="pro属性" onClick="ProInfo()"><input type="button" name="ITerraExplorer" value="pro⽅法" onClick="MethedInfo()"></td><td width="16%" align="center"><input type="button" name="typeInfo" value="ITerrain属性测试" onClick="ITerrainProInfo()"></td><td colspan="3" align="center">&nbsp;<input type="button" name="typeInfo" value="IStartPosition的属性" onClick="IIStartPositionInfo()"><input type="button" name="typeInfo" value="IRender的属性" onClick="IRenderProInfo()"><input type="button" name="addprograme" value="添加⼯程⽂件" onClick="AddG()"></td></tr><tr><td height="25" colspan="2"><label>创建路径操作:</label><input type="button" name="createdynamic" value="创建" onClick="CreateDynamic()"><input type="button" name="dynamicPlay" value="播放" onClick="DynamicPlay()"><input type="button" name="dynamicstop" value="停⽌" onClick="DynamicStop()"><input type="button" name="dynamicP" value="暂停" onClick="DynamicP()"> </td><td colspan="2" align="center">&nbsp;<input type="text" name="text" value="新建组" id="CG" width="120"><input type="button" name="createGroup" value="建⽤户组" id="GN" onClick="CreateGroup1()" ></td><td width="15%" align="center"><input type="button" name="kuaizhao" value="快照" onClick="Menu.Invoke(32783)"><input type="button" name="kzsaveas" value="⿏标模式" onClick="GetMouseMode()"></td><td width="20%">&nbsp;<input type="checkbox" name="showlaler" checked id="chk1" onClick="LayerVis()"> <label>显⽰和隐藏层</label></td></tr><tr><td height="21" colspan="4">名称:<input name="Name" id="flyName" type="text" value="克拉玛依" size="12" width="100">经度:<input name="flyJD" id="flyJD" type="text" value="87" size="10" width="100">纬度:<input name="flyWD" id="flyWD" type="text" value="43" size="10" width="100">&nbsp;<input type="button" value="起飞" name="FlyToSomeWhere" onClick="FlyToSomeWhere()"></td><td><input type="button" name="deleteobj" value="删除选定的对象" id="delobj" onClick="DelObj()"></td><td align="center"><input type="button" name="infortree" id="iftv" value="信息树的遍历" onClick="InformationTreeVist()"></td> </tr><tr><td height="19"><input type="button" name="createpolygon" value="创建棱锥"onClick="CreateP()"></td><td>&nbsp;</td><td>&nbsp;</td><td width="17%">&nbsp;</td><td>&nbsp;</td><td><input type="button" name="loadsave" value="加载我的操作" onClick="LoadFromSaved()"></td></tr><tr><td height="25" colspan="3">经度:<span id="jd"></span>纬度:<span id="wd"></span></td><td colspan="3">&nbsp; <input type="button" value="保存" name="save" onClick="SaveAs()"> &nbsp; <input type="file" value="E:\a.fly" name="saveas" id="adr" width="10">&nbsp;<input type="button" value="fly另存为" name="save" onClick="SaveAsOther()"><label></label></td></tr></table></body><script language="javascript">var ITerraExplorer = null;var IInformationTree = null;var Polylineflag = false;var Dynamicflag = false;var IRender = null;var IPolyline = "";var isLine = false;var isRoute = false;var IObiectManager = null;var IStartPosition = null;var Route = "";var IContainer = null;var IPlane = null;var ITerrain = null;var IStartPosition = null;var ITerrain = null;var Menu = null;var ISnapShot = null;var ItemID = "";var curItemID = "";var groupID = "";var createpolygoyflag = false;var isPolygon = false;var IPolygon = "";function Init(){ITerraExplorer = TE.interface("ITerraExplorer5");IInformationTree = TE.interface("IInformationTree5");IRender = TE.interface("IRender5");IObjectManager = TE.interface("IObjectManager5");IStartPosition = TE.interface("IStartPosition");IContainer = TE.interface("IContainer2");IPlane = TE.interface("IPlane5");ITerrain = TE.interface("ITerrain4");IStartPosition = TE.interface("IStartPosition");IRender = TE.interface("IRender5");Menu = TE.interface("IMenu");ISnapShot = TE.interface("ISnapShot2");ITerraExplorer.load("c:\\a.fly");window.setTimeout("test()",800);}function test(){IInformationTree.LoadFlyLayerEx("[TE Application Data]\\本⼈上次的操作记录.fly",0);IInformationTree.LoadFlyLayerEx("[TE Application Data]\\本⼈上次创建的动态路径.fly",0);}function SaveAs(){ITerraExplorer.Save();alert("保存成功");}function SaveAsOther(){var txt = document.getElementById("adr").value;if(txt!=""){ITerraExplorer.SaveAs(txt);alert("保存成功");}elsealert("请输⼊要存储的位置!");}function Createpolyline(){Polylineflag = true;IRender.SetMouseInputMode(1);}function CreateDynamic(){Dynamicflag = true;IRender.SetMouseInputMode(1);}function TE::OnLButtonDown(flag,X,Y,Handled){if(Polylineflag)CreatePolylineVB(X,Y);if(Dynamicflag)CreateDynamicVB(X,Y);if(createpolygoyflag)CreatePolygonVB(X,Y)}function TE::OnRButtonDown(flag,X,Y,Handled){Polylineflag = false;Dynamicflag = false;isLine = false;isRoute = false;IRender.SetMouseInputMode(0);curItemID = "";createpolygoyflag = false;}function Container(){//欢迎使⽤本产品!!的地⽅也可使⽤ URL定位IContainer.HTMLPopup (0, 50,50,350,350,"容器窗⼝", "欢迎使⽤本产品!!" ,2, -1 ); }function ProInfo(){alert(ITerraExplorer.TYPE);alert(ITerraExplorer.FlyName);alert(ITerraExplorer.DisplayErrorMessages = 1);}function MethedInfo(){alert(ITerraExplorer.GetUserUnits(0,3,5,7));alert(ITerraExplorer.GetTEVersion("5","00","38"));}function ITerrainProInfo(){alert("mpt的⽂件名:"+ITerrain.MPTName);alert("SystemKey的⽂件名:"+ITerrain.SystemKey);alert("GroupKey的⽂件名:"+ITerrain.GroupKey);alert("DatumKey的⽂件名:"+ITerrain.DatumKey);alert("UnitKey的⽂件名:"+ ITerrain.UnitKey);alert("EPSG的⽂件名:"+ ITerrain.EPSG);alert("Description的⽂件名:"+ ITerrain.Description);}function IIStartPositionInfo(){alert("开始坐标X"+IStartPosition.StartX);alert("开始坐标Z"+IStartPosition.StartZ);}function IRenderProInfo(){alert(IRender.HudMode = 6);}function CreateGroup1(){var groupID = null;var GroupName = document.getElementById("CG").value;if(GroupName!="")groupID = IInformationTree.CreateGroup(GroupName,0);elsealert("请输⼊要创建组的名字!");}function TE::OnInfoTreeAction(ItemID,Action,ActionParam){curItemID = ItemID;}function LayerVis(){if (document.getElementById("chk1").checked)IInformationTree.SetGroupVisibility(IInformationTree.FindItem("0"),true); elseIInformationTree.SetGroupVisibility(IInformationTree.FindItem("0"),false); }function FlyToSomeWhere(){var tName,tX0,tZ0tName = document.getElementById("flyName").value;tX0 = document.getElementById("flyJD").value;tZ0 = document.getElementById("flyWD").value;CreateLabelFlyTo(tName,tX0,tZ0);}function CreateLabelFlyTo(txt,x1,z1){var LabelInfo = new Object();LabelInfo.Text = txt;LabelInfo.Scale = 1;LabelInfo.bgColor = 0xff00;IObjectManager.CreateLabel(LabelInfo,x1,z1,2000.0);IPlane.FlyTo(x1,z1,2000.0,117.98,0,-35,"Oval");}function DelObj(){if(curItemID ==""){alert("请选定你要删除的对象!");}else{IInformationTree.DeleteItem(curItemID);alert("删除成功!");curItemID ="";}}function InformationTreeVist(){var groupID = IInformationTree.GetNextItem(0, 11);if (groupID == 0){alert("信息树中⽆对象!");return 0;}elseInformationTreeAll(groupID);}function InformationTreeAll(groupID){var a,b,c;if (groupID == 0)return 0;else{b = confirm(IInformationTree.GetItemName(groupID)+"__ID:"+groupID); if(b == false){return 0;}a = groupID;groupID = IInformationTree.GetNextItem(groupID,11);if(groupID == 0){groupID = IInformationTree.GetNextItem(a,13);if(groupID == 0){groupID = IInformationTree.GetNextItem(a,15);c = groupID;groupID = IInformationTree.GetNextItem(c,13);groupIDwhile(groupID == 0 ){groupID = IInformationTree.GetNextItem(c,15);groupID = IInformationTree.GetNextItem(groupID,13);if (groupID == 0)return 0;}}}InformationTreeAll(groupID);}}function LoadFromSaved(){alert(IInformationTree.LoadFlyLayerEx("[TE Application Data]\\e.fly",0)); }/*function CreateP(){createpflag = true;IObjectManage.CreatePyramid(x,y,);}*/</script><script language="vbscript">function CreatePolylineVB(x,y)dim outX,outY,outH,ObjectIDIRender.ScreenToWorld x,y,63,outX,outH,outY,ObjectIDif curItemID<>"" thenif IInformationTree.IsGroup(curItemID) thenif isLine = false thenisLine = trueSet IPolyline = IObjectManager.CreatePolyline(0,16744555,2,curItemID,"创建线") elseIPolyline.AddVertex outX,outH,outY,0end ifIInformationTree.SaveFlyLayer "本⼈上次的操作记录.fly",curItemIDelsemsgbox "你选择的是对象不能容纳对象,请选择组!"end ifelsemsgbox "请选择容纳对象的组!"end ifend functionfunction CreateDynamicVB(x,y)IRender.ScreenToWorld X,Y,63,outX,outH,outY,ObjectIDif curItemID<>"" thenif IInformationTree.IsGroup(curItemID) thenif isRoute = false thenset Route = IObjectManager.CreateRoute (empty,0,curItemID,"动态路径")isRoute = trueelseRoute.AddWaypoint outX,outH,outY,0,-45,0,-45,0,100,""end ifIInformationTree.SaveFlyLayer "本⼈上次创建的动态路径.fly",curItemIDelsemsgbox "你选择的是对象不能容纳对象,请选择组!"end ifelsemsgbox "请选择容纳对象的组!"end ifend functionfunction DynamicPlay()Route.Playmsgbox "播放动态路径"end functionfunction DynamicP()Route.Pausemsgbox "暂停播放动态路径"end functionfunction GetMouseMode()msgbox IRender.GetMouseInputModeend functionfunction TE_OnFrame()dim x1,y1IRender.GetMouseInfo 1,x1,y1ObjType = 0IRender.ScreenToWorld x1,y1,ObjType,WorldX,WorldHeigth,WorldY,ObjectIDdocument.getElementById("jd").innerHTML = WorldXdocument.getElementById("wd").innerHTML = WorldYend function</script></html>。

二次开发手册

二次开发手册

二次开发手册业务流程定制1.基础业务单据方案定义基础业务单据适用于采用主-明细结构的业务流程,主表和明细表为一对多的关系,并通过一个字段关联(一般为DJID),如采购入库单、处方划价单等。

如图:1.1方案总体方案编号:业务方案的编号,每个方案都有一个编号,编号不能重复。

方案名称:方案的名称,同时也是方案窗体的标题。

单据标识: 单据编号的开头部分单据编号长度: 单据编号的总长度单据编码格式: YYYY 代表四位的年,YY代表两位的年,MM:两位月,DD:两位日,CZY:操作员编号,用'+'号连接各个部分也可使用固定字符。

如:'SFD'+YYYY+MM+DD ,设置编码格式后单据标识不起作用,但同样受到编号长度的约束。

主明细关键字段: 定义主表和明细表的关键字段,一般为'DjID'明细序号字段: 定义明细表的序号字段,一般为'Xh'(如图:)1.2基础业务单据方案主要构成要素:主表SQL: 定义单据数据主表的数据来源的SQL语句。

主表用来存储单据主体数据,如单据编号、日期、操作员、以及明细表的汇总信息等。

明细表SQL: 定义单据明细数据来源的SQL语句。

明细表用来存储明细数据一次检索SQL: 定义辅助明细数据输入的检索数据来源的SQL语句;一次检索数据只作为数据的来源,不存储数据。

插入明细数据时,扫描明细数据字段和检索数据字段,如果字段名称相同则将检索数据写入该字段。

二次检索SQL: 定义在一次检索完成之后的辅助明细数据输入的检索数据来源的SQL语句;是一次检索的补充。

比如做门诊收费功能时用做选择处方。

保存执行SQL: 定义单据在保存时执行的SQL语句。

1.3相关设置:显示一次检索:设置是否显示检索栏。

(有的业务单据不需要检索栏)数字码字段:当输入框中输入纯数字时,将以设置的数字码字段进行动态查找汉字码字段:当输入框中含有汉字时,将以设置的汉字码字段进行动态查找拼音码字段:当输入框中为字母时,将以设置的拼音码字段进行动态查找条形码字段:当输入框中为输入条码时,将以设置的条形码字段定位检索数据二次检索输入提示:设置二次检索时的输入提示二次检索后结束输入:设置是否在二次检索后结束输入(具体参看图形)1.4打印设置报表名称:打印样式的文件名,不用加后缀单据SQL语句:打印数据来源的SQL语句保存后默认打印:设置保存后是否默认为打印1.5颜色设置明细网格显示选项背景色:指定明细网格的背景色,默认为白色行醒目显示条件:定义明细数据行醒目显示的条件,当满足条件时,该行将以指定的颜色显示。

skyline_API详细使用说明手册

skyline_API详细使用说明手册

1 T erraExplorer API 简介TerraExplorer API 提供了一套强大的接口用来集成 TerraExplorer、TerraExplorer Pro 和用户自定义应用。

它提供了一些访问外部信息扩展的方法,比如:访问数据库或基础地理空间数据。

所有这些以COM 协议为基础的API 接口都可以通过脚本语言操作(例如 Javascript),也可以通过非脚本语言来控制操作(例如:C++、VB、delphi 或者.net)。

TerraExplorer 也提供了一套ActiveX 控件,可将3D 窗口、信息树和导航图以控件对象的方式嵌入到用户自定义的可视化界面中,其中,Runtime 模块使得用户自定义的应用程序更易分发。

1.1 ITerraExplorer5描述用户接口的相关细节,例如当前用户使用的软件版本信息、单位参数(长度单位、速度单位等)、工程文件加载和保存等。

(1)Load 方法:HRESULT Load([in] BSTR URL) 其中URL 是fly 或mpt 文件的完整路径。

C# :(第一次举例是完整代码,主要部分为粗体部分,以后的例子只写主要部分,下面接口例子的其他代码与此例类似,其中加载保存路径读者可以自行设定)using System;usingSystem.Windows.Forms;using TerraExplorerX;namespace Load_Test{public partial class Form1 : Form{private TerraExplorerClass objTerraExplorer;public Form1(){InitializeComponent();}private void Loadbutton_Click(object sender, EventArgs e){objTerraExplorer = new TerraExplorerClass();objTerraExplorer.Load(@"E:\Skyline Pro Interface\ 数据\ 数据\Default.fly");}}}VBscript:(其中黑体部分是主要部分)<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>Load</title></head><script type="text/vbscript">Sub Load()set ITerraExplorer5=TE.interface("ITerraExplorer5")ITerraExplorer5.load "E:\Skyline Pro Interface\数据\数据\Default.fly"end Sub</script><body leftmargin="0" topmargin="0"><input type="button" value="Load" onClick="Load()"><table width="100%" height="100%" border="1"><tr><td><OBJECT ID="TerraExplorerInformationWindow" CLASSID="CLSID:3a4f9193-65a8-11d5-85c1-0001023952c1"width="200" height="760"></OBJECT></td> <td><OBJECT ID= "TerraExplorer3DWindow"CLASSID="CLSID:3a4f9192-65a8-11d5-85c1-0001023952c1"width=800 height=760></OBJECT></td></tr></table><OBJECT ID= "TE" CLASSID="CLSID:3a4f9191-65a8-11d5-85c1-0001023952c1"></OBJECT></body></html>(2)Save 方法:只能保存fly 工程,mpt 工程不能保存C#:objTerraExplorer = new TerraExplorerClass(); objTerraExplorer.Save();VBScript :Sub Save()SetITerraExplorer=TE.interface("ITerraExplorer5") ITerraExplorer.SaveEnd Sub(3)Save As 方法:HRESULT SaveAs([in] BSTR FileName)工程另存为C#:objTerraExplorer = new TerraExplorerClass();objTerraExplorer.SaveAs(@"E:\Skyline Pro Interface\数据\数据\Default88.fly "); VBScript :Sub SaveAs()Set ITerraExplorer=TE.interface("ITerraExplorer5")ITerraExplorer.SaveAs "E:\Skyline Pro Interface\数据\数据\Default88.fly" End Sub1.2 IPlane5控制飞机和摄像机的操作,对于对象的飞行方式、观看视角、视野高度进行控制,可按照需求控制摄像机的方向、倾角产生复杂的运动,例如飞机起飞模拟。

SkylineGlobe Server v7.0用户操作手册

SkylineGlobe Server v7.0用户操作手册
3 基本概念 ..................................................................................................................................................... 21 3.1 什么是 SkylineGlobe Server ........................................................................................................................21 3.2 什么是 SkylineGlobe Server Manager.........................................................................................................22 3.3 SkylineGlobe Server Manager 页面.............................................................................................................23 3.4 什么是 Terrain Service(地形服务) ........................................................................................................28 3.5 什么是 Feature Service(矢量服务) .......................................................................................................28 3.6 什么是 Maps Service(栅格服务) ...........................................................................................................29 3.7 什么是 3D Mesh Service (3DML).................................................................................................................29 3.8 什么是 Point Cloud Service(点云服务) .................................................................................................30 3.9 什么是 TerraExplorer for Web (TE4W) .......................................................................................................30

skyline开发资料汇总

skyline开发资料汇总
iTerrainPolyline=terraExplorerClass.CreatePolyline(null,Color,HeightStyleCode.HS_ON_TERRAIN, groupID,“线的名称”);
方法二:
IObjectManager51iObjectManager51 = (IObjectManager51)terraExplorer;
路线转移功能,可以通过鼠标画一个转移的路线,双击鼠标结束画线。创建好路线之后,再创建一个动态对象,动态对象以之前创建好的路线作为运动的轨迹。
1、创建私有变量
privateTerraExplorerClassterraExplorerClass;
ITerrainPolylineiTerrainPolyline=null;
本文包括两方面的内容,一方面是介绍skyline开发帮助文档,另一方面是根据帮助文档编写一个skyline的例程。
一、帮助文档介绍
安装好skyline pro后,在安装目录下可以找到开发帮助文档ProgrammersGuide.chm
我是把软件安装在C盘,C:\Program Files\Skyline\TerraExplorer Pro\Help。
/// <param name="doubleY">Y坐标</param>
/// <param name="pbHandled"></param>
private void TE_OnLButtonDown(int L, int doubleX, int doubleY, ref object pbHandled)
stringfilename =@".\data\小车.xpc";

Skyline软件二次开发初级——3如何在WEB页面中的三维地图上创建几何对象

Skyline软件二次开发初级——3如何在WEB页面中的三维地图上创建几何对象

Skyline软件⼆次开发初级——3如何在WEB页⾯中的三维地图上创建⼏何对象1.在地⾯上绘制⼀条折线:<html><head><title>Create Polyline</title><object id="SGWorld" classid="CLSID:3a4f91b1-65a8-11d5-85c1-0001023952c1" style="visibility:hidden;height:0 "></object><script type="text/javascript">function Init(){// geometry creator can work on WKT, WKB or array of x,z,y coordinatesvar geometry = SGWorld.Creator.GeometryCreator.CreateLineStringGeometry([-114.73656, 36.01659,0, -115.14515, 36.15498,0, -118.24834, 34.05090,0]);var color = SGWorld.Creator.CreateColor(255, 0, 0, 0.7);// 2 in AltitudeTypeCode means on terrain, 0 means add to rootvar line = SGWorld.Creator.CreatePolyline(geometry, color, 2, 0, "my poly on terrain");line.LineStyle.Width = 15000; // 15000m (15km)line.Position.Distance = 600000.0; // set max viewing distance in metersSGWorld.Navigate.FlyTo(line);}</script></head><body onload="Init();"></body></html>2. 在空中绘制⼀条折线:<html><head><title>Create Polyline</title><object id="SGWorld" classid="CLSID:3a4f91b1-65a8-11d5-85c1-0001023952c1" style="visibility:hidden;height:0 "></object><script type="text/javascript">function Init(){var geometry = SGWorld.Creator.GeometryCreator.CreateLineStringGeometry([-114.73656, 36.01659, 10000, -115.14515, 36.15498, 300000, -118.24834, 34.05090, 700000]);// 3 in AltitudeTypeCode means absolute, 0 means add to rootvar line = SGWorld.Creator.CreatePolyline(geometry, "#ff0000", 3, 0, "my poly");line.Position.Distance = 900000.0; // set max viewing distance in metersSGWorld.Navigate.FlyTo(line);}</script></head><body onload="Init();"></body></html>3.绘制多边形:<html><head><title>Create Polygons</title><object id="SGWorld" classid="CLSID:3a4f91b1-65a8-11d5-85c1-0001023952c1" style="visibility:hidden;height:0 "></object><script type="text/javascript">function Init(){var pointsUtah = SGWorld.Creator.GeometryCreator.CreateGeometryFromWKT("POLYGON((-114.03822 41.99547,-111.04795 41.99626,-111.05028 40.99663,-109.04763 40.99847,-109.04782 36.99664,-114.04313 36.99656,-114.03822 41.99547))");// 2 in AltitudeTypeCode means on terrain, 0 means add to rootvar polyUtah = SGWorld.Creator.CreatePolygon(pointsUtah, "#ff0000", SGWorld.Creator.CreateColor(0, 255, 255, 40), 2, 0, "Utah"); //polyUtah.LineStyle.Width = 5000; // 5000m (5km)var pointsWyoming = SGWorld.Creator.GeometryCreator.CreateGeometryFromWKT("POLYGON((-111.05265 44.99576,-104.05934 44.99734,-104.05120 41.00322,-111.05028 40.99663,-111.05265 44.99576))");// 2 in AltitudeTypeCode means on terrain, 0 means add to rootvar polyWyoming = SGWorld.Creator.CreatePolygon(pointsWyoming, SGWorld.Creator.CreateColor(255, 255, 0, 10), null,2,0, "Wyoming"); polyWyoming.LineStyle.Width = 20000; // 20000m (20km)polyWyoming.Position.Distance = 1600000;SGWorld.Navigate.FlyTo(polyWyoming);}</script></head><body onload="Init();"></body></html>4.绘制圆形:<html><head><title>Create Circle</title><object id="SGWorld" classid="CLSID:3a4f91b1-65a8-11d5-85c1-0001023952c1" style="visibility:hidden;height:0 "></object><script type="text/javascript">function Init(){var circle = SGWorld.Creator.CreateCircle(SGWorld.Creator.CreatePosition(-71.00864, 42.36229,0,2), // Pivot1000.0, // Radius (1000m)SGWorld.Creator.CreateColor(0, 0, 0, 0), // Outline color (in this sample, transparent/no outline)SGWorld.Creator.CreateColor(200, 50, 50, 128) // Fill color);circle.Position.Distance = 3000;SGWorld.Navigate.FlyTo(circle);}</script></head><body onload="Init();"></body></html>5.创建⽂本标签:<html><head><title>Create Basic Labels</title><object id="SGWorld" classid="CLSID:3a4f91b1-65a8-11d5-85c1-0001023952c1" style="visibility:hidden;height:0 "></object><script type="text/javascript">function Init(){var labelPos = SGWorld.Creator.CreatePosition(-122.41519, 37.74346, 100, 2);// Default labelvar label1 = SGWorld.Creator.CreateTextLabel(labelPos, "Default label",SGWorld.Creator.CreateLabelStyle());var labelStyle = SGWorld.Creator.CreateLabelStyle();labelStyle.Bold = true;labelStyle.LineToGround = true;labelStyle.TextColor = SGWorld.Creator.CreateColor(255, 0, 0);// Label 2labelPos.X += 0.001;var label2 = SGWorld.Creator.CreateTextLabel(labelPos, "Bold Red label\r\nwith line to ground", labelStyle);// Labe 3labelStyle.BackgroundColor = SGWorld.Creator.CreateColor(255, 255, 255);labelStyle.Italic = true;labelStyle.LineToGround = false;labelPos.x += 0.001;var label3 = SGWorld.Creator.CreateTextLabel(labelPos, "Red bold italic label\r\nwith white background", labelStyle);// Labe 4labelStyle.BackgroundColor = SGWorld.Creator.CreateColor(255, 255, 255, 0.5);labelStyle.Underline = true;labelPos.y += 0.001;var label4 = SGWorld.Creator.CreateTextLabel(labelPos, "Underlined italic with\r\nsemi transparent background", labelStyle);// Labe 5labelStyle.FontSize = 24;labelStyle.FontName = "Times New Roman";labelStyle.Bold = false;labelStyle.Italic = false;labelStyle.Underline = false;labelPos.x -= 0.002;var label5 = SGWorld.Creator.CreateTextLabel(labelPos, "Font:Times New Roman\r\nSize:24px", labelStyle);SGWorld.Navigate.FlyTo(label1);}</script></head><body onload="Init();"></body></html>6.创建带图⽚的⽂本标签:<html><head><title>Create Image Labels</title><object id="SGWorld" classid="CLSID:3a4f91b1-65a8-11d5-85c1-0001023952c1" style="visibility:hidden;height:0 "></object><script src="abspath.js" type="text/javascript"></script><script type="text/javascript">function Init(){var labelPos = SGWorld.Creator.CreatePosition(-122.46875, 37.72467, 10, 2);var label1 = SGWorld.Creator.CreateLabel(labelPos, "", toAbspath("data/Roundabout-large.gif"),SGWorld.Creator.CreateLabelStyle()); SGWorld.Navigate.FlyTo(label1);labelPos.X += 0.001;labelPos.Altitude += 60;var label2 = SGWorld.Creator.CreateLabel(labelPos,"Under Constructions.\r\nThis label will not be visible\r\nabove ~800000 meters",toAbspath("data/Underconstruction-2.gif"),SGWorld.Creator.CreateLabelStyle());label2.Style.TextOnImage = false;label2.Style.Bold = true;label2.Style.LineToGround = true;label2.Style.MultilineJustification = "left";label2.Style.TextAlignment = "right";label2.Visibility.MaxVisibilityDistance = 800000;}</script></head><body onload="Init();"></body></html>7.创建三维模型:<html><head><title>Create Model</title><object id="SGWorld" classid="CLSID:3a4f91b1-65a8-11d5-85c1-0001023952c1" style="visibility:hidden;height:0 "></object> <script src="abspath.js" type="text/javascript"></script><script type="text/javascript">function Init(){var pos = SGWorld.Creator.CreatePosition(-122.38050, // x37.62331, // y40.0, // height3, // absolute297.0, // yaw15.0); // pitchvar model = SGWorld.Creator.CreateModel(pos, toAbspath("data/747.xpc"), 0.2);SGWorld.Navigate.FlyTo(model);}</script></head><body onload="Init();"></body></html>。

Skyline三维地图二次开发

Skyline三维地图二次开发

一, 如何快速把Skyline控件嵌入到现有系统中一、s kyline提供了这样一个控件:二、<OBJECT ID="TerraExplorer3DWindow"CLASSID="CLSID:3a4f9192-65a8-11d5-85c1-0001023952c1" ></OBJEC T>三、我们在程序开发中,只要把它嵌入到现有的WEB页面中即可。

四、这个控件主要是用来装载三维场景的。

五、如果用户想要实现一些功能,比如说定位到某一个指定位置,则需要通过skyline提供的TerraExplorer里面的接口来实现:六、七、f unction CreateTE(){var TEObj = document.createElement("object");document.appendChild(TEObj); = "SGAPITEObj";TEObj.id = "SGAPITEObj";TEObj.classid = "clsid:3a4f9191-65a8-11d5-85c1-0001023952c1";return TEObj;}function test(){var TE= CreateTE();var IInformationTree = TE.interface("IInformationTree5");var IPlane = TE.interface("IPlane5");IPlane.SetPosition(mypos.x,mypos.y,mypos.h,mypos.yaw,-90,mypo s.roll,0,0,0);}八、九、很多用过skylinesoft的人觉得:用skyline做二次开发确实很简单。

TerraExplorer+Skyline+Pro中文用户手册

TerraExplorer+Skyline+Pro中文用户手册

TerraExplorer® Pro™中文用户手册Version 4.6.2传输数字地球北京时空信步科技有限公司北京大学城市模拟与政策分析实验室引言关于本手册本手册是Skyline公司的TerraSuite软件系列的TerraExplorer Pro的中文用户手册。

本手册介绍的软件版本是4.6.2。

阅读说明引言:简单介绍skyline的TerraSuite软件系列和本系统的功能特性。

第一章:介绍了skyline软件的TerraSuite系列,TerraExplorer Pro功能特点,运行环境及软件的安装与卸载。

第二章:介绍了TerraExplorer Pro的场景漫游操作和软件的快捷键。

第三章:详细介绍了TerraExplorer Pro菜单功能和操作编辑方法以及系统设置的选项。

对于平台用户来说,仔细阅读本章是非常必要的,对于参与三维应用设计的人来说,仔细阅读这部分会使你的工作达到事半功倍的效果。

第四章:详细介绍了TerraExplorer Pro的所有扩展模块的功能及操作。

第五章:适用于本系统的三维建模规范,详细说明了利用最少的数据量表达真实世界和精确模型的建立与导入方法。

对于需要导入美观的3ds max模型的用户来说,应该仔细阅读本章。

第六章:技术支持参考资料《TerraExplorer Pro UserManual_v4.6.2》目录引言 (2)关于本手册 (3)阅读说明 (3)参考资料 (3)第一章TerraSuite简介 (6)TerraSuite简介 (6)TerraExplorer Pro简介 (7)TerraExplorer Pro功能特点 (9)运行环境 (10)1.4.1 硬件环境 (10)1.4.2 软件环境 (10)TerraExplorer Pro的安装与卸载 (10)第二章TerraExplorer Pro基本操作 (11)系统界面简介 (11)场景漫游操作 (12)快捷键 (13)第三章TerraExplorer Pro功能介绍 (14)系统设置和选项设置 (14)3.1.1 系统设置 (14)3.1.2 选项设置 (19)信息栏窗口的编辑 (19)对象编辑 (22)3.3.1 二维对象编辑 (22)3.3.2 三维对象编辑 (23)量测分析工具 (29)动态对象编辑 (29)漫游路线设置 (30)观测位置 (31)第四章系统工具应用 (32)Find Object 和Duplicate Object (33)4.1.1 对象查找 (33)4.1.2 对象复制 (34)Free Hand Drawing (35)Create Power Line (35)MapInfo MapMaker Geocoding Client (36)Navigation Aid (37)Multi Coordinate Systems (38)Make Point Cloud Model (38)Data Library (39)Snapshot (39)第五章三维建模规范 (40)建模流程 (40)贴图纹理 (41)第六章技术支持 (41)第一章TerraExplorer Pro简介1.1TerraSuite简介Skyline TerraSuite软件是利用航空影像、卫星数据、数字高程模型和其它的2D或3D 信息源,包括GIS数据集层等创建的一个交互式环境。

skyline中文开发帮助(内部开发文档)

skyline中文开发帮助(内部开发文档)

Skyline软件开发接口分类ITerraExplorerIPlaneIObjectManagerIInformationTreeITerrainIContainerIRenderISnapShotIStartPositionITerraExplorerEventsICoordSys_ITerraExplorerEvents5_ITerraExplorerEvents5主要功能是为ITerraExplore提供事件信息处理功能. 这个开发接口代替了以前的_ITerraExplorerEvents, _ITerraExplorerEvents2,_ITerraExplorerEvents3,_ITerraExplorerEvents4接口, 并扩展了通用事件,双击事件及HUD事件。

什么是HUD?HUD是Head UP Display的英文缩写,又译成抬头显示器(Head Up Display),以下简称HUD,是目前普遍运用在航空器上的飞行辅助仪器。

抬头的意思是指飞行员不需要低头就能够看到他需要的重要资讯。

抬头显示器最早出现在军用飞机上,降低飞行员需要低头查看仪表的频率,避免注意力中断以及丧失对状态的控制。

在skyline软件中HUD指在应用软件时基于地形视窗监视飞行状态及视角图形及文字信息辅助工具。

OnLoadFinished 这种方法在TerraExplorer在加载完成Fly文件时被调用。

OnFileClosing, 这种方法在TerraExplorer关闭Fly文件前通知客户文件关闭前被调用。

OnFrame, 这种方法获取TerraExplorer在飞行时每一个Frame的状态。

OnTerraExplorerMessage 这种方法可以得到交互式触发带有massage对象massage中的内容。

OnObjectAction这种事件当特定对象某一种状态发生变化时被触发语法: OnObjectAction([in] BSTR ObjectID,[in] int Action)ObjectID指特定对象的唯一IDAction 指动态的状态标识o AC_FLYTO = 0飞行标识o AC_CIRCLEPATTERN = 1环绕标识o AC_OVALPATTERN = 2椭圆标识o AC_LINEPATTERN = 3线状标识o AC_ARCPATTERN = 4弧状标识o AC_FOLLOWBEHIND = 5在对象的后面o AC_FOLLOWABOVE = 6在对象的上方o AC_FOLLOWBELOW = 7在对象的下面o AC_FOLLOWRIGHT = 8在对象的右边o AC_FOLLOWLEFT = 9在对象的左边o AC_FOLLOWBEHINDANDABOVE = 10在对象的后上方o AC_FOLLOWCOCKPIT = 11以座舱方式o AC_FOLLOWFROMGROUND = 12以地面的位置观看对象o AC_STOP = 13The object was stopped being played (i.e., after a fly to operation).停止操作o AC_JUMP = 14Jump to the object operation was started.跳跃至对象o AC_DELETE = 15删除对象o AC_EDIT_FINISHED = 16对象完成编辑时o AC_OBJECT_ADDED = 17对象增加到视图中o AC_PLAY = 18运行执行对象o AC_EDIT_STARTED = 20对象开始编辑时OnFileSaveTerraExplorer 在fly文件保存进,执行这个文件语法:OnFileSave()附:用户在保存fly时更新相关信息的数据库可用些事件OnRenderQualityChanged实时地反馈用户浏览更新时地形效果质量值,一般用于loading功能语法OnRenderQualityChanged([in] int Quality)参数:Quality–用户浏览时地形效果质量值. 这个参数是0到100之间以10递增的数据。

Skyline平台二次开发中文教材

Skyline平台二次开发中文教材

<!--定义 TerraExplorer 对象--> <object ID="TE"
CLASSId="CLSID:3a4f9191-65a8-11d5-85c1-0001023952c1"> </object> </html>
<script language="javascript">
var ITerraExplorer = null; var IPlane = null;
方法: FlyTo:此方法是飞行的动作,根据得到 x 坐标,z 坐标,,视景 的高度设定,设置不同运动方式(偏航(Yaw) ,斜度(Pitch),运 动的方式)的设置,飞到并定位到目的地,还可以对目的地进行 距离的设置。
[in] double X, 地形上的 x 坐标的位置 [in] double Z, 地形上的 z 坐标的位置 [in] double Height, 飞行对象与地形的高度 [in] double Distance,
言 :javascript/jscript,vbscript, 使 用 的 开 发 的 工 具:UltraEdit,Editplus 等等,根据自己爱好) 网络开发环境 :在服务器上进行开发和调试 ,但在服务器上 必须安装 internet lic+TerraGate 的情况下,才能应用,本机 只需安装 TE 即可;
用户接口 API:是对标准 TerraExplorer Pro API 的扩充。利 用其强大功能, 开发人员可控制和激活大多数 TerraExplorer Pro 的工具和函数。如: 1、 控制飞行和视景 2、 对象的创建 3、 信息树和管理 4、 层和对象管理 5、 事件处理 6、 在网页和 windows 应用程序中添加 ActiveX 控件 另外,TerraExplorerPro 的 API 还允许常用的一些操作,比 如控制容器中的内容,查询地形高度信息,获取快照,查找对象 等更多操作。

terraeplorer+skyline+pro中文用户手册

terraeplorer+skyline+pro中文用户手册

TerraExplorer® Pro™中文用户手册Version 4.6.2传输数字地球北京时空信步科技有限公司北京大学城市模拟与政策分析实验室引言关于本手册本手册是Skyline公司的TerraSuite软件系列的TerraExplorer Pro的中文用户手册。

本手册介绍的软件版本是4.6.2。

阅读说明引言:简单介绍skyline的TerraSuite软件系列和本系统的功能特性。

第一章:介绍了skyline软件的TerraSuite系列,TerraExplorer Pro功能特点,运行环境及软件的安装与卸载。

第二章:介绍了TerraExplorer Pro的场景漫游操作和软件的快捷键。

第三章:详细介绍了TerraExplorer Pro菜单功能和操作编辑方法以及系统设置的选项。

对于平台用户来说,仔细阅读本章是非常必要的,对于参与三维应用设计的人来说,仔细阅读这部分会使你的工作达到事半功倍的效果。

第四章:详细介绍了TerraExplorer Pro的所有扩展模块的功能及操作。

第五章:适用于本系统的三维建模规范,详细说明了利用最少的数据量表达真实世界和精确模型的建立与导入方法。

对于需要导入美观的3ds max模型的用户来说,应该仔细阅读本章。

第六章:技术支持参考资料《TerraExplorer Pro UserManual_v4.6.2》目录引言 (2)关于本手册 (3)阅读说明 (3)参考资料 (3)第一章 TerraSuite简介 (6)TerraSuite简介 (6)TerraExplorer Pro简介 (7)TerraExplorer Pro功能特点 (9)运行环境 (10)1.4.1 硬件环境 (10)1.4.2 软件环境 (10)TerraExplorer Pro的安装与卸载 (10)第二章 TerraExplorer Pro基本操作 (11)系统界面简介 (11)场景漫游操作 (12)快捷键 (13)第三章 TerraExplorer Pro功能介绍 (14)系统设置和选项设置 (14)3.1.1 系统设置 (14)3.1.2 选项设置 (19)信息栏窗口的编辑 (19)对象编辑 (22)3.3.1 二维对象编辑 (22)3.3.2 三维对象编辑 (23)量测分析工具 (29)动态对象编辑 (29)漫游路线设置 (30)观测位置 (31)第四章系统工具应用 (32)Find Object 和Duplicate Object (33)4.1.1 对象查找 (33)4.1.2 对象复制 (34)Free Hand Drawing (35)Create Power Line (35)MapInfo MapMaker Geocoding Client (36)Navigation Aid (37)Multi Coordinate Systems (38)Make Point Cloud Model (38)Data Library (39)Snapshot (39)第五章三维建模规范 (40)建模流程 (40)贴图纹理 (41)第六章技术支持 (41)第一章TerraExplorer Pro简介1.1TerraSuite简介Skyline TerraSuite软件是利用航空影像、卫星数据、数字高程模型和其它的2D或3D信息源,包括GIS数据集层等创建的一个交互式环境。

敏捷批量调度开拓者二次开发手册说明书

敏捷批量调度开拓者二次开发手册说明书

敏捷批量调度开拓者,开启批量调度工具化时代敏捷调度技术平台v7二次开发手册成都塔斯克信息技术有限公司产品网站:1前言 (4)1.1文档目的 (4)1.2读者对象 (4)2开发总述 (5)2.1开发环境 (5)2.2开发模式 (6)2.3编译链接 (7)2.4关于D EMO (8)3应用开发 (9)3.1事件开发模式应用开发 (9)3.1.1功能描述 (9)3.1.2处理流程 (9)3.1.3代码实现 (10)3.1.4编译运行 (16)3.2核心数据访问模式开发 (17)3.2.1功能描述 (17)3.2.2处理流程 (17)3.2.3代码实现 (18)3.2.4编译运行 (21)4开发函数包说明 (23)4.1平台连接与断开 (23)4.1.1概述 (23)4.1.2函数说明 (23)4.2事件类 (24)4.2.1概述 (24)4.2.2相关结构与定义说明 (24)4.2.3函数说明 (26)4.3核心数据-流程基本信息类 (28)4.3.1概述 (28)4.3.2相关结构与定义说明 (28)4.3.3函数说明 (30)4.4核心数据-流程私有变量类 (33)4.4.1概述 (33)4.4.2相关结构与定义说明 (33)4.4.3函数说明 (33)4.5核心数据-流程任务节点类 (36)4.5.1概述 (36)4.5.2相关结构与定义说明 (37)4.5.3函数说明 (38)4.6EBASE基础操作类 (41)4.6.1概述 (41)4.6.2字串处理类 (41)4.6.3时间处理类 (44)1前言1.1文档目的TASKCTL不仅是一个独立技术平台,同时也是一个开放的技术平台,它提供一整套完整的二次开发接口,用户可以在该接口基础上,开发一系列应用程序,以满足项目的一些特殊需求。

本文旨在通过对二次开发相关知识的详细介绍,指导用户进行调度应用二次开发。

1.2读者对象《TASKCTL7.0二次开发》主要适合以下读者对象:技术开发人员2开发总述应用开发主要针对一些特殊任务程序、比如翻牌任务、特色监控程序(短信监控)以及对核心控制等应用的开发。

【0002(基础)】Skyline二次开发入门经典系列教程——目录

【0002(基础)】Skyline二次开发入门经典系列教程——目录

【0002(基础)】Skyline⼆次开发⼊门经典系列教程——⽬录这段时间由于个⼈事务太多,以⾄于没有按照时间更新系列教程,本⼈将尽快补上所⽋章节,在此说声抱歉!这⼀章在我⼼⽬中占有很重要的地位,因为我想通过这⼀章的内容来确定整个系列的⼤致⾛向。

然⽽在整理的过程中,发现现实远⽐想象要复杂得多:⾸先想尽可能介绍较多的知识点,其次⼜要考虑学习的简易程度,再次⼜要确定顺当的知识体系流程……由于暂时的考虑⽆论如何也是不可能完备的,因此为了不影响后⾯教程的编写,暂定把这⼀章作为⼀个【流动性质】的可变章节,在编写每⼀章时,动态根据实际情况修改(添加、移动、修改)系列内容。

下⾯列出系列教程⽬录(20150921版本):基础部分:【0003(基础)】Skyline Globe v6.6.1产品体系介绍【0004(基础)】Skyline Globe v6.6.1软件安装与配置【0005(基础)】Skyline TerraExplorer Pro功能介绍与交互⽅式(及快捷键)【0006(基础)】搭建我们的第⼀个Skyline窗体应⽤程序——了解控件【0007(基础)】搭建我们的第⼀个Skyline窗体应⽤程序——使⽤Open()⽅法打开三维场景【0008(基础)】搭建我们的第⼀个Skyline窗体应⽤程序——注意事项【0009(基础)】获取Skyline TerraExplorer版本信息——IVersion接⼝【0010(基础)】获取已打开的三维场景的基本信息——IProject接⼝【0011(基础)】快速搭建⾃⼰的TerraExplorer Pro应⽤程序——ICommand接⼝【0012(基础)】⽂件操作——打开、关闭、保存、另存为【0013(基础)】了解地下模式的点点滴滴【0014(基础)】巧⽤ICommand接⼝实现场景控制、漫游控制【0015(基础)】漫游控制之江湖正统——INavigate接⼝【0016(基础)】篡权运动之⾃定义状态栏——OnFrame事件【0017(基础)】篡权运动之屏蔽右键菜单——OnRButtonUp事件【0018(基础)】篡权运动之其他⼩伙伴们——你不是⼀个⼈在战⽃【0019(基础)】了解电脑的“双⼿”——⿏标【0020(基础)】三维世界建模——点对象【0021(基础)】点对象之XYZ——与空间位置的⼀⼀对应【0022(基础)】点对象之位置——说说点⾃⼰的⾓度【0023(基础)】点对象之位置——创建⽂本【0024(基础)】点对象之位置——创建图⽚【0025(基础)】三维世界建模——线对象【0026(基础)】线对象之点——端点、变向点、位置【0027(基础)】线对象之“魔⿁⾝材”——“S型”样条线【0028(基础)】线对象之伪装——闭合线【0029(基础)】线对象之伪装——“线⾯”【0030(基础)】线对象之伪装——“贴图”【0031(基础)】线对象之伪装——线条样式【0032(基础)】三维世界建模——⾯对象【0033(基础)】⾯对象之点——顶点、位置【0034(基础)】⾯对象之线——环Rings、边框Envelope【0035(基础)】⾯对象之“魔⿁⾝材”——“S型”样条线【0036(基础)】⾯对象之伪装——“线体”【0037(基础)】⾯对象之伪装——“贴图”【0038(基础)】三维世界建模——体对象【0039(基础)】三维场景保存——快照【0040(基础)】对象操作——IProjectTree接⼝&AxTEInformationWindow控件【0041(基础)】对象操作——获取、选中、删除、编辑【0042(基础)】对象操作——控制对象现实/隐藏【0043(基础)】对象操作——移动对象路径【0044(基础)】对象操作——组对象【0045(基础)】对象操作——事件让你可以做得更多【0046(基础)】基础篇章总结中级部分:【0005(中级)】篡权运动之修改AxTEWindow控件键盘快捷键【0012(中级)】⽂件操作——如何屏蔽Ctrl+O快捷键【0012(中级)】⽂件操作——事件让你可以做得更多【0020(中级)】三维世界建模(点)——动态添加模型【0020(中级)】三维世界建模(点)——动态添加视频投影【0025(中级)】三维世界建模(线)——动态创建线对象【0025(中级)】线对象之空间⾓度(AimTo)【0025(中级)】线对象之空间距离(DistanceTo)【0025(中级)】三维世界建模(线)——绘制⾃由线条【0025(中级)】创建动态对象并漫游【0032(中级)】三维世界建模(⾯)——动态创建⾯对象(简单四边形⾯)【0032(中级)】三维世界建模(⾯)——动态创建圆【0032(中级)】三维世界建模(⾯)——动态创建矩形【0032(中级)】三维世界建模(⾯)——动态创建正多边形【0032(中级)】三维世界建模(⾯)——动态创建箭头【0032(中级)】三维世界建模(⾯)——动态创建椭圆【0032(中级)】三维世界建模(⾯)——动态创建弧形【0038(中级)】三维世界建模(体)——动态创建3D多⾯体【0038(中级)】三维世界建模(体)——动态创建⽴⽅体【0038(中级)】三维世界建模(体)——动态创建圆柱体【0038(中级)】三维世界建模(体)——动态创建球体【0038(中级)】三维世界建模(体)——动态创建圆锥体【0038(中级)】三维世界建模(体)——动态创建四棱锥【0038(中级)】三维世界建模(体)——动态创建3D箭头【0040(中级)】对象操作——如何屏蔽信息树右键菜单【0047(中级)】说说AxTENavigationMap控件的那些事⾼级部分:【0022(⾼级)】点对象之位置——捕获点击点对象(如模型、⽮量、多边形等)【0022(⾼级)】点对象之位置——拓扑关系【0022(⾼级)】点对象之位置——空间检索【0022(⾼级)】篡权运⾏之【坡度查询】【0022(⾼级)】篡权运动之【⽬标】【0025(⾼级)】线对象之位置——拓扑关系【0025(⾼级)】线对象之位置——空间检索【0025(⾼级)】篡权运动之【⽔平距离】【0025(⾼级)】篡权运动之【空间距离】【0025(⾼级)】篡权运动之【垂直距离】【0025(⾼级)】篡权运动之【最佳路径分析】【0025(⾼级)】篡权运动之【地形剖⾯分析】【0025(⾼级)】篡权运动之【视线分析】【0025(⾼级)】篡权运动之【带有遮挡距离的视线分析】【0032(⾼级)】⾯对象之位置——拓扑关系【0032(⾼级)】⾯对象之位置——空间检索【0032(⾼级)】篡权运动之【⾯积量测】【0032(⾼级)】篡权运动之【等⾼线分析】【0032(⾼级)】篡权运动之【坡度分析】【0032(⾼级)】篡权运动之【洪⽔淹没分析】【0032(⾼级)】篡权运动之【视域分析】【0038(⾼级)】篡权运动之【3D视域分析】【0038(⾼级)】篡权运动之【空间威胁分析】【0038(⾼级)】篡权运动之【复制对象】【0038(⾼级)】篡权运动之【电⼒线】【0038(⾼级)】篡权运动之【管线】【0038(⾼级)】篡权运动之【栅栏和围墙】【0040(⾼级)】篡权运动之【⾃定义信息树控件】【0048(⾼级)】说说AxTEWindowEx控件的那些事其他:【精华001】数据处理——⽮量数据动态添加【精华002】数据处理——⽮量数据属性信息转换为DataTable【精华003】数据处理——⽮量数据之定位与⾼亮显⽰【精华004】数据处理——栅格数据动态添加【精华005】数据处理——坐标转换【精华006】数据处理——数据发布与调⽤【精华007】未完待续…整理如上的内容的确很花费脑⼒,现在再仔细阅读,发现还有很多知识点没有包括进去,姑且也就先暂时这样吧。

SkylineGlobe软件快速入门手册

SkylineGlobe软件快速入门手册

TerraExplorer Quick Start GuideBasic ConceptsOpening, Creating, and Saving .. 1Navigating in the 3D Window .... 1 Using the Project Tree . (2)System Requirements (2)Project SettingsControlling Date and Time . (3)Basic Project Settings (3)ToolsMeasurement and Line of Sight. 4 Terrain Analysis.......................... 6 Comparison . (7)PresentationsCreating and Editing ................... 8 Creating Movies . (8)Working with ObjectsBasic Objects...............................9 Advanced Objects .....................10 Multi Resolution City Model .. (10)Working with Raster LayersLoading Raster Layers .............. 11 Creating Resolution Pyramids .. 11Working with Feature and3DML LayersLoading Feature Layers ............ 12 Loading 3D Mesh Layers .......... 12 Feature Layer Operations .. (13)Additional CapabilitiesTerraCatalog .............................14 Collaboration ...........................15 .Fly and KML/ KMZ Files .. (15)PublishingPublishing TerraExplorer Kits (16)Basic ConceptsOpening, Creating, and Saving a ProjectTerraExplorer basic commands are available from the TerraExplorer button located at the upper-left corner of the application.Opening an Existing ProjectClick and then click Open > browse to an existing .Fly file. You can open a US demo project by clicking the link on the Start page.Saving a Project as a FLY FileA .Fly file is a compressed binary file that contains all the project settings and content, and pointers to terrain databases (MPT) or other loaded files. Clickand then click Save or Save As …Creating a New ProjectClick and then click New > In dialog, browse to required terrain database (MPT), and click OK > Define project settings.Navigating in the 3D WindowNavigate through the 3D World in the way you find most natural and intuitive: navigate freely using on-screen Navigation controls or any of the three mouse modes, or fly to predefined locations or objects.Viewing or Flying to a Location or Object (Using the Project Tree)1. In the Project Tree , double-click the location or object, or right-click and select Fly to , Jump to , or View . If you view the object, you can select one of the pre-defined flight patterns that compass about the object.2. To stop a flight to a location right-click in 3D Window , and select Stop or press the Spacebar .Free FlightUsing the mouse to navigate∙ Navigation tab > > click a Navigation mode to determine how the mouse controls navigation. In Drag mode , do thefollowing:∙ To pan – Click and drag the mouse to the sides, forward, or backward. ∙ To zoom in and out – Roll the middle mouse wheel.∙ To change direction and tilt – Click and drag the middle mouse wheel. Using HUD Navigation Controls:1. View tab > select Graphic HUD to display.To change plane tilt - Click and drag tilt slider. To look North - Click Northindicator.To free fly in all directions - Use blue joystick. To zoom in and out – Click and drag zoom slider. To change plane direction - Click and drag compass ring.To slide right, left, forward or back Underground Navigation1. Home tab > Underground Mode .2. Navigate in the 3D environment. You can freely go through the terrain surface in any direction.Following a Dynamic Object∙ In the Project Tree > double-click the required dynamic object.Basic Concepts—Using the Project TreeThe Project Tree provides a list of elements in the terrain that can be sorted and arranged into groups. Using this list, you control the appearance of information in the 3D Window.Showing and Hiding Objects or Layers in the 3D WindowIn Project Tree , click the object or layer’s show/ hide icon to display or hide it inthe 3D Window.Selecting a Tree ItemIn Project Tree , click the item. Double –clicking performs the item’s activation action (fly to, jump to, circle/ oval/ line pattern, etc.) that was set in its property sheet.Creating and Working with Groups1. Right-click blank area (root) of Project Tree (for subgroup, right- click parent group) > select Create Group .2. Type the name of the new group and press ENTER .3. To move an item into a new group, click and drag it onto group folder.4. To add a new element to a group,right-click group > point to New > select Location , Presentation or Message . 5. To set group properties, right click <group> > Properties . In property sheet , setparameters.Creating Locations1. In the Project Tree right-click > New > Location . Type a name for the location and click.2. Open property sheet to set activation action or add a message: in Project Tree right-click location > Properties .System RequirementsSystem requirements for installing and using TerraExplorer.∙ Operating System - Windows® XP/ Vista/ 7.∙ System Memory – 1GB of RAM (4 GB or more recommended).∙ Video Card - 128MB of video memory (512 MB or more recommended). Pixel and vertex shader v3.0 is required for dynamic water effects, animated cloud map, and sky texture. ∙ Processor – Pentium IV or equivalent.∙Internet Connection - Broadband connection (recommended). ∙ Browser - Microsoft Internet Explorer 7 or higher.Project SettingsBasic Project SettingsProject Settings, including general settings, terrain parameters, flight model, and application layout are saved in the .Fly file and applied each time this file is used.To open Settings dialog: Home tab > click Project Settings > Click required tab.Environment tab∙ Select a Sky Color and Fog Color.∙ Enter a Visual Range (largest visible distance to the horizon).∙ Select Sky texture and Clouds map to apply. Select Clouds speed and if to enable water effects.Terrain Database tab∙ Select the local or remote Terrain (MPT) Database currently used by this project.∙ Enter the Number of Terrain Imaginary (resolution) Levels that are used to enhance the visual quality when the camera is close to the ground.∙ Set the project’s Terrain Coordinate System .Date and Light tab∙ Control the sun display and the startup date and time.∙ Select the Use Sunlight check box if you want the sun to serve as the light source for the project. ∙ Select a range and Date and Time for the Startup Time Slider.General tab∙ Set basic parameters for the .Fly file, including startup message parameters.∙ Click Set as Home to set the current camera location as the default startup position for this .Fly file.∙ Click Add Message to determine the message to be shown when the project is opened. ∙ Click Wait to set the number of seconds TerraExplorer waits at the beginning of the session.Controlling Date and TimeWhen the sun is used as a project’s light source, displayed light on the terrain corresponds to the date / time selected on the Time Slider. Project data containing timespan tags displays on the terrain according to the timespan set.1. View tab > select Time Slider . The Time Slider displays in the 3D Window. Drag the blue marker and yellow arrow together to the required date and time on the slider. If you want to display data whose timespans fall anywhere in a time range, drag the blue marker to the start point of the time range and theyellow arrow to the endpoint of the time range .2. Click Date and Time Settings icon to the right of the slider to select a timezone, and time slider range. (When a one year range is selected, two sliders display, one for the date, and one for the time of day). Note :Project startup settings for the date and time can be set in the Date and Light tab in the Project Settings dialog box and are saved in the .Fly file. Any date and time settings made using the Date and Time Settingsicon are not saved to the .Fly.ToolsTerraExplorer measurement and terrain analysis tools deliver extensive topographical and strategic information, enabling a more accurate geospatial understanding of the terrain.Measurement, Line of Sight, and Shadow ToolsHorizontal/ Aerial/ Vertical Distance1. Analysis tab>Click Horizontal/ Aerial/ Vertical Distance.2. Click any point in the terrain or on an object to define the start point and other segments. Right-click to finish.Terrain Area (and Perimeter) 1. Analysis tab>Click Terrain Area.2. Click to define start point. Drag to additional points and click to define a region. Right-click to finish. > In open dialog select either: ∙ Horizontal Plane (for horizontal projection).∙ Terrain Surface (for surface area)> enter Sample interval> click Calculate .3D Plane Area and Perimeter (of a polygon on an arbitrary plane) 1. Analysis tab>Click 3D Plane Area.2. Click to define start point. Drag to additional points and click to define a region. Right-click to finish.Line of Sight - Indicates whether specific locations in the 3D World can be seen (green line) from a selected position or not (red). 1. Analysis tab>Click Line of Sight.2. In property Sheet , set parameters > In 3D Window , click to define observer viewpoint, then click additional times for targets. Right click to finish.Viewshed - Indicates which areas on the entire selected terrain are visible from the viewpoint (colored in green), and which areas cannot be viewed (red).1. Analysis tab>Click Viewshed.2. In property Sheet , set parameters > In 3D Window , click to define observer viewpoint, then click for endpoint.ToolsMeasurement, Line of Sight, and Shadow Tools – cont.3D Viewshed – Create a 3D viewshed on buildings/ models and on bare terrain. 1. Analysis tab>click 3D Viewshed .2. In 3D Window , click to define your viewpoint for the 3D viewshed, and then click again to define your desired end point.3. In property sheet , set parameters such as visible/hidden area color and viewshed Distance and FOV .Dynamic 3D Viewshed - Create a graphical representation of the view froma moving object.1. Analysis tab>click 3D Viewshed >select Dynamic 3D Viewshed .2. In dialog box, set the viewshed parameters, such as Speed and FOV.3. Select a method of designating the area for the dynamic 3D viewshed (Follow Line , Selected Group , or From Clipboard .Viewshed Query - Analyze the visibility from multiple viewshed observer viewpoints to a selected area.1. Analysis tab > click 3D Viewshed > select Viewshed Query .2. In the dialog box, set the Query parameter defining which viewsheds are taken into account, and all other parameters.3. Select a method of designating the area for the viewshed query (Follow Line , Fill Area , Selected Group , From Clipboard , or Viewshed Area ).Threat Dome - Indicates the volume visible from a given point on the terrain.1. Analysis tab > Click Threat Dome.2. In property Sheet , set parameters > In 3D Window , click to define pivot point.Selection Shadow - Display a shadow effect for selected objects. 1. Select the objects from which you want to cast a shadow. 2. Analysis tab > click Show Selection Shadow .Shadow Query - Calculate and graphically represent overall shadow coverage or a particular object’s shadow effect in a specified area. 1. Analysis tab > click Shadow Query .2. In the dialog box, set the Query parameter defining which objects’ shadows are taken into account, and all other parameters.3. Select a method of designating the area for the shadow query (Follow Line , Fill Area , Selected Group , or From Clipboard .ToolsAnalysis ToolsSlope Map - Apply palette colors according to degree of slope and slope arrows to indicate slope direction. 1. Analysis tab > click Slope Map . 2. Select Slope Colors / Slope Arrows .3. In property sheet , set parameters such as palette and coverage area,4. Click in 3D Window to add opposite corners of the coverage rectangle.Contour Map -Apply palette colors to each elevation level and connect points of equal elevation with contour lines.1. Analysis tab > click Contour Map .2. Select Contour Colors / Contour Lines .3. In property sheet , set parameters such as contour palette and coverage area.4. Click in 3D Window to add opposite corners of the coverage rectangle.Flood Tool - Calculate land covered by flooding. 1. Analysis tab > click Flood .2. In 3D Window , click center of coverage area.3. In property sheet , set single instance of water level rising or continuous and related parameters.4. Drag mouse to required radius size and click.Volume Tool - Analyze amount of terrain removed from or added to the terrain surface.1. Analysis tab > click Volume .2. Objects tab > click Modify Terrain > Draw a polygon in the 3D Window to define the terrain area for which you want to modify elevation values.3. On Analysis tab click Volume Tool. In dialog box select checkboxes of objects to analyze and click Calculate .Best Path - Calculate best path without exceeding definable climb and descent slope limits.1. Analysis tab > click Best Path .2. In property Sheet , set parameters > In 3D Window , click to define start and end point.ToolsComparison ToolsSnapshot Comparison - Create and compare snapshots showing different versions of the area in view in the 3D Window by showing or hiding objects in the Project Tree1. Navigate to required area and click Snapshot Comparison2. Show/hide objects in the Project Tree, and click Compare .3. Mode selection – Choose between four clipping modes and Transparency mode.4. Slider control – Define the clipping or transparency level extent.Imagery Comparison - C ompare 2 imagery layers or an imagery layer to the base terrain by dynamically clipping or modifying transparency of an overlaying layer. 1. Zoom in on an area with a visible imagery layer. 2. Analysis tab>Click Imagery Comparison .2. Mode selection – Choose between four clipping modes and Transparency mode.3. Slider control – Define the clipping or transparency level extent.PresentationsEasily share your 3D visualization with others by creating a multi-step presentation that can be replayed, in which you combine a customized flight route with a particular display of the project.Step 1: Create a flight route – Animate movement over the terrain by recording your navigation or by adding locationsCreating a Recorded Route1. Presentation tab> Record Flight .2. Navigate freely in the 3D Window to any location or point of interest. Adjust zoom, tilt, etc.3. Presentation tab> Stop Record . Creating a Locations Route∙ Fly to the required location, and then Presentation tab> Add Location OR∙ Presentation tab> Add Location > Select Location . Select a location from the list of project locations.1. Presentation tab> Edit Presentation .2. Add captions when required: right-click step> Add Caption .3. Use Move Up and Move Down commands to reorder steps.4. To delete a step, select it and click Delete .5. For each step, select mode for advancing the step: Continue trigger >∙ Immediate - Next step follows immediately. ∙ Click Button – Next step follows when Next command on the Ribbon is clicked.Step 4: View PresentationClick Presentation tab > Play . Use thetoolbar to start, stop, pause, rewind, and fast forward.Creating MoviesShare your 3D visualization even with people who do not have TerraExplorer installed, by creating a movie in AVI format from any presentation in your project. Your movie can then be shown using any standard AVI Viewer.1. Create a presentation.1. Presentation tab > Movie group > set frame size and number of frames per second.2. Presentation tab > Movie group >Create Movie .3. Browse to location for movie file.4. Set Video Compression properties.Working with ObjectsBasic ObjectsAdd and edit graphic entities, each with its own styling properties. Objects include: labels, lines, polygons, 2D/ 3D shapes, 3D models, and buildings. Available objects depend on TerraExplorer level. Objects can be organized in Project Tree groups.Creating an Object1. Objects tab> click <required object>.2. Click and draw the object in the 3D Window . Right-click to finish. For 2D and 3D shapes, left-click to finish.Selecting an ObjectAfter selecting a single object, a yellow frame surrounds the object and the object’s property sheet opens. When selecting multiple objects, a yellow frame surrounds each of the selected objects and the Multi Edit property sheet opens. Selecting a Single Object∙ From Project Tree : In the Project Tree , select the object > On the Home tab, click Properties . OR ∙ From 3D Window : On the Home tab, click Select> In the 3D Window , select the object.Selecting Multiple Objects∙ From Project Tree : In the Project Tree , select the required objects (Use SHIFT and CTRL to select sequential and non-sequential tree items) > On the Home tab, click Properties .∙ From 3D Window : On the Home tab, click Select > Press and hold the CTRL key > In the 3D Window , select each of the objects you want > On the Home tab, click Properties .∙ From 3D Window (all objects in a selected area): On the Home tab, click Select Area > In the 3D Window , draw the area polygon by clicking the mouse (at least three points) and right-click to finish > On the Home tab, click Properties .Editing an Object1. Project Tree > Right-click object and select Properties . On the top of the property sheet, click: ∙To edit the entire object. Then: ∙ To move object. Then drag to required location.∙To changethe object’s altitude. Then drag to required height.∙ To edit object nodes , click. Then:Note : Only polylines, 2D polygons, and 3D polygons (added in TE Plus or Pro) have object nodes.∙ to move a node. Thenclick required node and drag to new location.∙ to change node’s altitude. Then click required node and drag to new height.∙ To delete a node, point to the node, right-click, and select Delete.∙ To add a node, point to one of the object’s lines, and click anywhere a red node appears.Note : Object position and nodes can also be modified from object’s property sheet.2. Set properties such as color, altitude, timespan, tooltip, and texture in the object’s property sheet.Adding 3D Models1. Objects tab > click 3D Model .2. In dialog, browse to the required file to load.3. In 3D Window , click mouse to define position o f model’s pivot point on terrain.4. Adjust the model’s position and size in the 3D Window or from property sheet. See: “Editing an Object .”5. Using the property sheet , set the parameters of the 3D object.6. Drag any of the three arrow resizers in/ out to adjust any of the model’s dimens ions.Working with ObjectsCreate advanced objects: dynamic objects, modify terrain objects, video, buildings, and 3D models.Creating and Editing Dynamic Objects1. Objects tab> Video , 3D Objects, or Dynamic Objects group> click <required object >.2. Property sheet > File Name field > browse for a model file.3. In the property sheet, set Motion Style and other properties.4. In 3D Window , click mouse to define waypoints. Right-click to finish.5. For editing, see: “Editing an Object .” Note that object nodes correspond to object’s route waypoints.Creating Buildings1. Objects tab > click Building .2. In 3D Window , click the mouse to define roof polygon. Right-click to finish.3. If there is no horizontal offset between roof and base, right click to finish. If there is an offset, drag base to place and left-click.4. In property sheet , set building’s properties including heig ht, texture, and roof style.Video on Terrain and Video BillboardPlay a video file on an area of the terrain or on a floating billboard.1. Objects tab > Video on Terrain / Video Billboard .2. Browse to a video file. For a streaming video, click Cancel , and in property sheet ,type the URL .3. Set location of video:∙ In property sheet , set Use Telemetry File to Yes , and browse to file∙ In property sheet , set Use Telemetry File to Yes , and in 3D Window , click todefine location.4. In property sheet , set projector properties and other video parameters.5. To play, pause, and stop video, right-click in Project Tree and select required option.– Make XPLCreates a set of files where each file contains data for one Level of Detail (LOD). TerraExplorer dynamically loads and displays the LOD file based on the viewer position in relation to the object, improving performance and download rate.1. Tools tab > click Make XPL .2. Browse to required Source directory and Output directory.3. Select the required settings, including the following:∙ To save all the textures of each of the model’s faces in asingle file, select Merge textures to a single texture .∙ To create LOD files for model geometry in addition totextures, select Create multi-resolution models .4. To create a single XPL file for multiple models (good forsmall models) > a. Select the Enable grouping check box.Then browse to the required Shape input file and select aFile name attribute .b. In the Output shape file type a path to a file that willstore new model s’ coordinates.c. Select required check boxes.d. Select a Maximum group size .TerraExplorer will create an XPL file that groups the maximum number of models together in each area without exceeding the designated group size.5. Click Go .Working with Raster LayersLoading Raster LayersRaster layers include imagery layers containing geo-referenced, satellite or aerial images that overlay the terrainimagery, and elevation layers containing geo-referenced elevation raster that replaces the elevation data of the terrain.1. Home tab > click Raster Layer > select Elevation/ Imagery Layer from file or from server.2. In the dialog, browse to the required file, and click Open .3. If loading from server, select the required server, and click Select .In the dialog that displays, enter the information required for theselected server, and select the required layer.Note : If the source file is geo-referenced it is positionedaccordingly on the terrain. Otherwise, it is placed atthe center of the 3D Window. You can then manuallyedit its position, or reproject it.4. If the source file does not include coordinate system informationor TerraExplorer cannot read it from the file, the CoordinateSystem dialog box opens. Specify the coordinate system of thelayer. TerraExplorer then reprojects (converts) the layer data tothe project’s coordinate system. Although the source file retainsits original coordinate system, it is placed on the terrainaccording to the reprojection parameters.5. After the object has been placed on the terrain, you can change itsproperties using the property sheet. To clip a subsection of theraster, click the Draw button in the Imagery/ Elevation section of the property sheet. Place at least three polygon points in the 3D Window by clicking in the desired location. Finish by right-clicking.Creating Resolution PyramidsTo enable the display of a layer at different altitudes, TerraExplorer requires a number of resolution levels per layer, also known as a resolution pyramid. If a layer does not have sufficient resolution levels, TerraExplorer can create them.1. In Project Tree , select layers that require a resolution pyramid.2. Tools tab > clickResolution Pyramid .3. In dialog, select layers, and click Create Pyramid .Working with Feature and 3DML LayersA feature layer is a visual representation of a geographic data set using geographic features such as points, lines, and polygons. In contrast to objects, all the features in a layer share the same properties and behavior. These properties can be modified from the layer’s property sheet.1. Home tab > click Feature layer .2. If loading from file, in dialog, browse to required file andclick Open .3. If loading from server, select the server type, and clickConnect . Fill in the required Connection parameters forthe specific server or database, and click Connect .4. Select a layer from the Select Layer dialog box and clickNext .5. Set the layer’s General Settings . Then click Next .a. If the layer’s coordinate system is different from theterrain ’s , select the Reproject check box. Then clickthe Set Coordinate System button to open theCoordinate System dialog page to specify thecoordinate system of the layer.b. Select Stream to retrieve layer informationdynamically based on the camera’s position. SelectEntire Layer to load the entire layer when the .Fly fileopens.c. Select the Annotation Symbol check box toautomatically add a point annotation object in thecenter of each layer feature.d. In the Predefined Visibility section, select the viewer altitude from which visibility distance and scale is set to optimum.5. Select the attribute fields to load. In the property sheet , set layer parameters, and apply different properties such as line color or cylinder height, based on the attribute field values of the objects.A 3D mesh layer (3DML) is a fully textured urban model that has been compressed and stream-optimized toaccelerate loading speed and efficiently handle memory. 3DMLs are created in TerraBuilder CityBuilder by merging 3D mesh models generated by TerraBuilder PhotoMesh and/or layers with individually referenced 3D models.1. Home tab > click 3D Mesh Layer .2. If loading from file, in dialog, browse to required file and click Open .3. If loading from SFS, TerraCatalog or CSW, select the server type, andclickSelect . Fill in the required Connection parameters, and click Connect .4. After the layer has been placed on the terrain, you can change itsproperties using the property sheet.Working with Feature and 3DML LayersFeature and 3DML Layer OperationsSpatial operations on a layer’s features include: merging features into a single feature, clipping one polygon from another, exploding a multi-part feature into its individual component features, and exporting selected features to a new file. Feature layer operations are only enabled for TerraExplorer Pro users. Most operations are also available for 3DML layers.Selecting Features (Individual Selection or by Spatial Query)1. In Project Tree , select required layer.2. Select the individual features required: a. Layer Edit tab > click Select Feature .b. In the 3D Window , select the required feature. To select multiple features, press and hold the CTRL key. OR3. Select features based on their spatial relationship with a polygon, line or point you draw, or with an existing object: a. Layer Edit tab > click Spatial Query . Select Area (polygon), Line , Point or Object .b. In the Type dropdown list >select Intersect to select all features whose geometry intersects at any point with the selection geometry. Select Completely Within to select only features whose entire geometry falls within the selection geometry.c. In the Buffer dropdown list >enter a buffer radius outside the selection.d. In the 3D Window , click to draw a polygon, line or point or select the required object for feature selection.Using the Attribute Table: Searching for Features and Editing FeatureAttributes1. In Project Tree , select required layer. Then Layer Edit tab > Attribute Table .2. In the Query builder section, enter an attribute, condition, and value and click Insert String .3. If you want to include additional strings in your search expression, click one of theconnector buttons: (And, Or, ()) and repeat step 2 for the next condition. Then click Search .4. To display on the terrain only filtered features, click Operation > select Show Exclusive .5. To create a new layer of filtered features, click Operation > Add as new layer entry .6. To save the selected features to a new .Shp or .Fly file, click Operation > select Save As .7. To modify attribute properties, double-click the attribute value and modify as required. Exporting Selected Features to a New File1. Select the required features. See: “Select Features .”2. Layer Edit tab > click Export Layer >select Save Selected Features As .3. In dialog, type a File name. Browse to the required Save location and click Save .Adding a Feature to a Layer1. Select the layer. Then Layer Edit tab > click Add [Polyline, Point, or Polygon].2. In property sheet , set the parameters of the geographic feature. In 3D Window , place the object’s points . Right-click to finish. Editing Features (Merge, Clip, Intersection, Explode)1. Select required features (Merge : Only polylines/ polygons, Intersection , Clipping : Only polygons).2. On the Layer Edit tab > click Editing and select one of the following:∙ To merge features into one feature: select Merge > in 3D Window , click feature whoseattributes should be used for merged object.∙ To clip : select Clip > in the 3D Window , click the polygon to clip from the other polygons.∙ To create a new feature from intersection of features: select Intersection > in the 3D Window ,click the polygon that should determine the attributes.∙ To explode a multi-part feature into component features: Layer Edit tab > click Editing > To explode all features: select Explode All . To separate out only specific features: select Explode . Then, in 3D Window , select features to separate out. Saving a Layer∙ On the Layer Edit tab, click Save Layerto save changes to original layer or Click Export Layer> Save As to save to a new file.Layer Edittab onribbon。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
相关文档
最新文档