正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
@@ -101,9 +101,9 @@ void DmpTileServer::executeRequest(DmpServerRequest &request, DmpServerResponse | @@ -101,9 +101,9 @@ void DmpTileServer::executeRequest(DmpServerRequest &request, DmpServerResponse | ||
101 | 101 | ||
102 | bool DmpTileServer::publish(const std::string &serviceName, const std::string &title, unsigned int capability, const DmpProject &project) | 102 | bool DmpTileServer::publish(const std::string &serviceName, const std::string &title, unsigned int capability, const DmpProject &project) |
103 | { | 103 | { |
104 | - //DmpTileLayer *tileLayer = static_cast<DmpTileLayer *>(project.getLayer()); | ||
105 | - //std::string filePath=tileLayer->getDataSource(); | ||
106 | - std::string filePath="/mnt/d"; | 104 | + DmpTileLayer *tileLayer = static_cast<DmpTileLayer *>(project.getLayer()); |
105 | + std::string filePath=tileLayer->getDataSource(); | ||
106 | + | ||
107 | if(capability & DmpServiceType::WMTS) { | 107 | if(capability & DmpServiceType::WMTS) { |
108 | DmpService* wmtsservice = getService("WMTSService"); | 108 | DmpService* wmtsservice = getService("WMTSService"); |
109 | if(!wmtsservice) { | 109 | if(!wmtsservice) { |
请
注册
或
登录
后发表评论