XPBEProviderExporter Class |
Namespace: Pixoneer.NXDL.NDFS
public class XPBEProviderExporter : IDisposable
The XPBEProviderExporter type exposes the following members.
Name | Description | |
---|---|---|
XPBEProviderExporter | XPBEProviderExporter 객체를 생성하는 기본 생성자 |
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 색합성으로 설정되어 있고 설정된 밴드가 위경도 좌표계인 첫 번째 밴드를 가려서 이용한다. |
using 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(); // Get XDMCompManager from NXImageLayerComposites. file must be geographic coordinate system. ..... XDMCompManager compMan = compLayer.GetXDMCompManager(); ..... // Set source to Exporter. Exporter.SetSource(ref compMan, ref endLevel, ref lllat, ref lllon, ref urlat, ref urlon); // Save to pbi file. if (Exporter.Export2PBE(startLevel, endLevel, lllat, lllon, urlat, urlon, "D:\\Sample.pbe")) { Console.WriteLine("Succeeded"); }