正在显示
2 个修改的文件
包含
3 行增加
和
0 行删除
| ... | ... | @@ -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) | ... | ... |
请
注册
或
登录
后发表评论