You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
881 B
C++
34 lines
881 B
C++
#ifndef MAPDATAMANEGER_H
|
|
#define MAPDATAMANEGER_H
|
|
|
|
#include <QString>
|
|
|
|
#include <Workspace/UGWorkspace.h>
|
|
#include <Engine/UGDataset.h>
|
|
#include "Scene/UGLayer3D.h"
|
|
using namespace UGC;
|
|
|
|
class MapDataManeger
|
|
{
|
|
public:
|
|
MapDataManeger();
|
|
|
|
//工作空间另存为
|
|
UGbool saveWorkSpace(UGWorkspace* m_pWorkspace,UGString filePath);
|
|
|
|
//创建数据源
|
|
UGDataSource* createDataSource(QString dsAlias,UGEngineType nEngineType,QString filePath = "");
|
|
|
|
//创建矢量数据集
|
|
UGDatasetVectorPtr createVectorSet(UGDataSource* ds,UGDataset::DatasetType m_nType,UGString alias,int ProjEPSGCode = 4326);
|
|
|
|
// //创建栅格数据集
|
|
// UGDatasetRasterPtr createRasterSet();
|
|
|
|
//创建三维临时图层
|
|
// UGLayer3D* createTemporaryLayer3D(UGDataSource* ds, UGLayer3Ds* pLayers, UGint nUGLayerType, UGString datasetName);
|
|
|
|
};
|
|
|
|
#endif // MAPDATAMANEGER_H
|