正在显示
5 个修改的文件
包含
22 行增加
和
3 行删除
| 1 | 1 | |
| 2 | 2 | find_package(Boost 1.75 REQUIRED COMPONENTS log_setup) |
| 3 | 3 | find_package(Boost 1.75 REQUIRED COMPONENTS log) |
| 4 | - | |
| 4 | +link_libraries("cairo") | |
| 5 | 5 | ############################################################ |
| 6 | 6 | # sources |
| 7 | 7 | |
| ... | ... | @@ -110,8 +110,10 @@ SET(DMAP_CORE_HDRS |
| 110 | 110 | INCLUDE_DIRECTORIES( |
| 111 | 111 | ${CMAKE_CURRENT_SOURCE_DIR} |
| 112 | 112 | ${CMAKE_CURRENT_BINARY_DIR} |
| 113 | + ${CMAKE_SOURCE_DIR}/pgsql/include | |
| 113 | 114 | geometry |
| 114 | 115 | symbology |
| 116 | + renderer | |
| 115 | 117 | ) |
| 116 | 118 | |
| 117 | 119 | ADD_LIBRARY(dmap_core SHARED ${DMAP_CORE_SRCS} ${DMAP_CORE_HDRS}) | ... | ... |
| ... | ... | @@ -33,7 +33,7 @@ class CORE_EXPORT DmpRectangle |
| 33 | 33 | |
| 34 | 34 | double xmax() const { return xmax_; } |
| 35 | 35 | double xmin() const { return xmin_; } |
| 36 | - double ymax() const { return ymin_; } | |
| 36 | + double ymax() const { return ymax_; } | |
| 37 | 37 | double ymin() const { return ymin_; } |
| 38 | 38 | double width() const { return xmax_ - xmin_; } |
| 39 | 39 | double height() const { return ymax_ - ymin_; } | ... | ... |
| ... | ... | @@ -4,12 +4,26 @@ |
| 4 | 4 | |
| 5 | 5 | SET (MAPSERVER_SRCS |
| 6 | 6 | dmpmapserver.cpp |
| 7 | + dmppgsql.cpp | |
| 8 | + dmppgsqlpool.cpp | |
| 9 | + dmppgsqlsourcepools.cpp | |
| 10 | + wms/dmpwmsrenderer.cpp | |
| 7 | 11 | wms/dmpwms.cpp |
| 12 | + wms/dmpwmsparameters.cpp | |
| 13 | + wms/dmpwmsgetcapabilities.cpp | |
| 14 | + wms/dmpwmsgetmap.cpp | |
| 8 | 15 | ) |
| 9 | 16 | |
| 10 | 17 | SET (MAPSERVER_HDRS |
| 11 | 18 | dmpmapserver.h |
| 19 | + dmppgsql.h | |
| 20 | + dmppgsqlpool.h | |
| 21 | + dmppgsqlsourcepools.h | |
| 22 | + wms/dmpwmsrenderer.h | |
| 12 | 23 | wms/dmpwms.h |
| 24 | + wms/dmpwmsparameters.h | |
| 25 | + wms/dmpwmsgetcapabilities.h | |
| 26 | + wms/dmpwmsgetmap.h | |
| 13 | 27 | ) |
| 14 | 28 | |
| 15 | 29 | ######################################################## |
| ... | ... | @@ -21,9 +35,11 @@ INCLUDE_DIRECTORIES( |
| 21 | 35 | ${CMAKE_SOURCE_DIR}/src/core/ |
| 22 | 36 | ${CMAKE_SOURCE_DIR}/src/core/geometry |
| 23 | 37 | ${CMAKE_SOURCE_DIR}/src/core/symbology |
| 38 | + ${CMAKE_SOURCE_DIR}/src/core/renderer | |
| 24 | 39 | ${CMAKE_SOURCE_DIR}/src/server/ |
| 25 | 40 | ${CMAKE_SOURCE_DIR}/src/server/services |
| 26 | 41 | ${CMAKE_SOURCE_DIR}/src/server/services/mapserver |
| 42 | + ${CMAKE_SOURCE_DIR}/pgsql/include | |
| 27 | 43 | ) |
| 28 | 44 | |
| 29 | 45 | set_target_properties(mapserver | ... | ... |
| ... | ... | @@ -22,7 +22,7 @@ namespace DmpWms |
| 22 | 22 | |
| 23 | 23 | DmpWmsParameters::DmpWmsParameters(const DmpServerParameters ¶ms) |
| 24 | 24 | { |
| 25 | - params_ = params.Parameters(); | |
| 25 | + params_ = params.parameters(); | |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | bool DmpWmsParameters::GetStringParameter(const char* key, std::string &value) const | ... | ... |
请
注册
或
登录
后发表评论