正在显示
3 个修改的文件
包含
0 行增加
和
18 行删除
... | ... | @@ -86,21 +86,6 @@ void DmpMainServer::HandleRequest(DmpServerRequest &request, DmpServerResponse & |
86 | 86 | } |
87 | 87 | // const DmpServerParameters params = request.serverParameters(); |
88 | 88 | std::shared_ptr<DmpServerApi> api = nullptr; |
89 | - // if (params.Service().empty()) | |
90 | - // { | |
91 | - // if (api = serverManager_->apiForRequest(request)) | |
92 | - // { | |
93 | - // DmpServerApiContext context{&request, &responseDecorator, serverManager_}; | |
94 | - // api->executeRequest(context); | |
95 | - // } | |
96 | - // else | |
97 | - // { | |
98 | - // LOGGER_DEBUG("DmpMainServer: getCapabilities"); | |
99 | - // std::string capsJson = serverManager_->getCapabilities(); | |
100 | - // response.writeJson(capsJson); | |
101 | - // } | |
102 | - // } | |
103 | - | |
104 | 89 | std::shared_ptr<DmpServer> server = serverManager_->serverForRequest(request); |
105 | 90 | if (server) |
106 | 91 | { | ... | ... |
... | ... | @@ -69,7 +69,6 @@ void DmpTileServer::executeRequest(DmpServerRequest &request, DmpServerResponse |
69 | 69 | std::string queryString = what[3].str(); |
70 | 70 | request.setQuery(queryString); |
71 | 71 | } |
72 | - std::string queryString = what[3].str(); | |
73 | 72 | DmpService *service = services_[serverType]; |
74 | 73 | if(service) { |
75 | 74 | DmpServerProject * serverProj = getServerProject(serviceName); | ... | ... |
... | ... | @@ -28,7 +28,6 @@ namespace DmpWmts |
28 | 28 | //restful风格的path,例如:/10/12/13.png;/1.0.0/WMTSCapabilities.xml |
29 | 29 | DmpWmtsParameters::DmpWmtsParameters(const std::string &path) |
30 | 30 | { |
31 | - // params_ = params.parameters(); | |
32 | 31 | std::vector<std::string> vec; |
33 | 32 | boost::split(vec, path, boost::is_any_of("/"), boost::token_compress_on); |
34 | 33 | std::string last = vec.back(); |
... | ... | @@ -46,7 +45,6 @@ namespace DmpWmts |
46 | 45 | add("FORMAT", vec2[1]); |
47 | 46 | } |
48 | 47 | } |
49 | - | |
50 | 48 | } |
51 | 49 | |
52 | 50 | int DmpWmtsParameters::TileMatrix() const | ... | ... |
请
注册
或
登录
后发表评论