提交 db45031b4279a44d58211d7b65448ed84933efcc

作者 LJH 李佳桓
1 个父辈 ecc5a7b7

解析切片配置文件接口

... ... @@ -338,6 +338,8 @@ void DmpManagerApiHandler::GetTileServiceInfo(const DmpServerApiContext &context
338 338 std::string tileCols=pt_confxml.get<std::string>("CacheInfo.TileCacheInfo.TileCols");
339 339 std::string tileRows=pt_confxml.get<std::string>("CacheInfo.TileCacheInfo.TileRows");
340 340 std::string dpi=pt_confxml.get<std::string>("CacheInfo.TileCacheInfo.DPI");
  341 + std::string storageFormat=pt_confxml.get<std::string>("CacheInfo.CacheStorageInfo.StorageFormat");
  342 + pt.put("vendor",storageFormat);
341 343 pt.put("projectCrs.spatialrefsys.wkt",strWKT);
342 344 pt.put("projectCrs.spatialrefsys.srid",wkid);
343 345
... ...
... ... @@ -8,6 +8,7 @@
8 8 ***************************************************************************/
9 9 #include "dmptmstileprovider.h"
10 10 #include "dmpserverresponse.h"
  11 +#include <math.h>
11 12 namespace DmpTms
12 13 {
13 14 DmpTmsTileProvider::DmpTmsTileProvider(const std::string& root_path)
... ...
注册登录 后发表评论