|
XPBEProviderExporter Class
|
XDMCompManager로부터 PBE(Pixoneer Base Elevation)파일을 생성한다.
Planet에서 사용될 고도 데이터인 PBE파일을 XDMCompManager객체를 통해 DEM을 로딩하고 이를 이용하여 생성한다.
Inheritance Hierarchy
Namespace: Pixoneer.NXDL.NDFSAssembly: NXDLdfs (in NXDLdfs.dll) Version: 2.0.3.38
Syntaxpublic class XPBEProviderExporter : IDisposable
The XPBEProviderExporter type exposes the following members.
Constructors
Methods | Name | Description |
---|
 | Cancel |
현재 저장중인 프로세스를 취소한다.
|
 | Export2PBE |
SetSource 함수를 통해 설정된 입력 데이터를 이용하여 PBE(Pixoneer Base Elevation) 파일을 생성한다.
|
 | GetPercent | 저장 프로세스 공정 중 진행율을 백분율로 얻는다. |
 | SetSource(XDMBand, Int32, Double, Double, Double, Double) |
PBE 생성을 위한 입력으로 XDMBand 객체를 설정한다
|
 | SetSource(XDMCompManager, Int32, Double, Double, Double, Double) |
PBE 생성을 위한 입력으로 XDMCompManager객체를 설정한다.
XDMCompManager의 XDMComposite 중 Gray 색합성으로 설정되어 있고 설정된 밴드가 위경도 좌표계인 첫 번째 밴드를 가려서 이용한다.
|
Top
Exampleusing Pixoneer.NXDL;
using Pixoneer.NXDL.NDFS;
using Pixoneer.NXDL.NRS;
...
double lllat = 35.0;
double lllon = 127.0;
double urlat = 36.0;
double urlon = 128.0;
int startLevel = 5;
int endLevel = 7;
XPBEProviderExporter Exporter = new XPBEProviderExporter();
.....
XDMCompManager compMan = compLayer.GetXDMCompManager();
.....
Exporter.SetSource(ref compMan, ref endLevel, ref lllat, ref lllon, ref urlat, ref urlon);
if (Exporter.Export2PBE(startLevel, endLevel, lllat, lllon, urlat, urlon, "D:\\Sample.pbe"))
{
Console.WriteLine("Succeeded");
}
See Also