提交 8478d5181ef2399cdc740e7d3ac820d0506a84fa

作者 LJH 李佳桓
1 个父辈 77e35fb7

ljh

... ... @@ -101,9 +101,9 @@ void DmpTileServer::executeRequest(DmpServerRequest &request, DmpServerResponse
101 101
102 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 107 if(capability & DmpServiceType::WMTS) {
108 108 DmpService* wmtsservice = getService("WMTSService");
109 109 if(!wmtsservice) {
... ...
注册登录 后发表评论