-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE]: Add QGIS mapserver sources to svn repository
git-svn-id: http://svn.osgeo.org/qgis/trunk@14110 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Loading branch information
mhugent
committed
Aug 21, 2010
1 parent
cef3f26
commit 98d7559
Showing
67 changed files
with
11,668 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
|
||
SUBDIRS(core analysis ui gui app providers plugins helpviewer) | ||
|
||
IF (WITH_BINDINGS) | ||
SUBDIRS(python) | ||
ENDIF (WITH_BINDINGS) | ||
|
||
IF (WITH_MAPSERVER) | ||
SUBDIRS(mapserver) | ||
ENDIF (WITH_MAPSERVER) | ||
|
||
IF (APPLE) | ||
SUBDIRS(mac) | ||
ENDIF(APPLE) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
# | ||
# Find deps | ||
# | ||
FIND_PACKAGE(Fcgi REQUIRED) | ||
IF (NOT FCGI_FOUND) | ||
MESSAGE (SEND_ERROR "Fast CGI dependency was not found!") | ||
ENDIF (NOT FCGI_FOUND) | ||
|
||
# We need to define the qgis base dir so we can pass it | ||
# into the main entry point for the app so that at | ||
# runtime it can find plugins and srs.db etc | ||
ADD_DEFINITIONS(-DQGIS_LIB_DIR="\\"${QGIS_LIB_DIR}\\"") | ||
|
||
#MH: for this we need to locate the headers of the diagram and interpolation plugin | ||
#ADD_DEFINITIONS(-DDIAGRAMSERVER=1) | ||
|
||
IF (CMAKE_BUILD_TYPE MATCHES Debug) | ||
ADD_DEFINITIONS(-DQGSMSDEBUG=1) | ||
ENDIF (CMAKE_BUILD_TYPE MATCHES Debug) | ||
######################################################## | ||
# Files | ||
|
||
SET ( qgis_mapserv_SRCS | ||
qgis_map_serv.cpp | ||
qgsconfigcache.cpp | ||
qgsconfigparser.cpp | ||
qgsepsgcache.cpp | ||
qgsprojectparser.cpp | ||
qgshttprequesthandler.cpp | ||
qgsgetrequesthandler.cpp | ||
qgssoaprequesthandler.cpp | ||
qgssldparser.cpp | ||
qgssldrenderer.cpp | ||
qgswmsserver.cpp | ||
qgsmapserviceexception.cpp | ||
qgsmapserverlogger.cpp | ||
qgsmslayercache.cpp | ||
qgsfilter.cpp | ||
qgssldrule.cpp | ||
qgsbetweenfilter.cpp | ||
qgscomparisonfilter.cpp | ||
qgslogicalfilter.cpp | ||
qgsftptransaction.cpp | ||
qgsmslayerbuilder.cpp | ||
qgshostedvdsbuilder.cpp | ||
qgsinterpolationlayerbuilder.cpp | ||
qgsremoteowsbuilder.cpp | ||
qgshostedrdsbuilder.cpp | ||
qgsremotedatasourcebuilder.cpp | ||
qgssentdatasourcebuilder.cpp | ||
qgsmsutils.cpp | ||
) | ||
|
||
# SET (qgis_mapserv_UIS | ||
# none used | ||
# ) | ||
|
||
SET (qgis_mapserv_MOC_HDRS | ||
qgsftptransaction.h | ||
) | ||
|
||
SET (qgis_mapserv_RCCS | ||
# not used | ||
#qgis_mapserv.qrc | ||
) | ||
|
||
QT4_WRAP_UI (qgis_mapserv_UIS_H ${qgis_mapserv_UIS}) | ||
|
||
QT4_WRAP_CPP (qgis_mapserv_MOC_SRCS ${qgis_mapserv_MOC_HDRS}) | ||
|
||
QT4_ADD_RESOURCES(qgis_mapserv_RCC_SRCS ${qgis_mapserv_RCCS}) | ||
|
||
ADD_EXECUTABLE(qgis_mapserv.fcgi | ||
${qgis_mapserv_SRCS} | ||
${qgis_mapserv_MOC_SRCS} | ||
${qgis_mapserv_RCC_SRCS} | ||
${qgis_mapserv_UIS_H} | ||
) | ||
|
||
INCLUDE_DIRECTORIES( | ||
${GDAL_INCLUDE_DIR} | ||
${FCGI_INCLUDE_DIR} | ||
${GEOS_INCLUDE_DIR} | ||
${PROJ_INCLUDE_DIR} | ||
${POSTGRES_INCLUDE_DIR} | ||
${CMAKE_CURRENT_BINARY_DIR} | ||
${QT_INCLUDE_DIR} | ||
${QGIS_INCLUDE_DIR} | ||
../core | ||
../core/raster | ||
../core/renderer | ||
../core/symbology | ||
../core/symbology-ng | ||
../core/composer | ||
../analysis/interpolation | ||
. | ||
) | ||
|
||
TARGET_LINK_LIBRARIES(qgis_mapserv.fcgi | ||
qgis_core | ||
qgis_analysis | ||
${PROJ_LIBRARY} | ||
${FCGI_LIBRARY} | ||
${POSTGRES_LIBRARY} | ||
${GDAL_LIBRARY} | ||
) | ||
|
||
######################################################## | ||
# Install | ||
|
||
INSTALL(CODE "MESSAGE(\"Installing mapserver...\")") | ||
INSTALL(TARGETS | ||
qgis_mapserv.fcgi | ||
DESTINATION ${QGIS_CGIBIN_DIR} | ||
) | ||
INSTALL(FILES | ||
admin.sld | ||
wms_metadata.xml | ||
DESTINATION ${QGIS_CGIBIN_DIR} | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld"> | ||
<UserLayer> | ||
<Name>wfslayer</Name> | ||
<RemoteOWS> | ||
<Service>WFS</Service> | ||
<OnlineResource href="http://karlinapp.ethz.ch/cgi-bin/mapserv?map=/home/marco/mapfiles/mapfile1.map&" type="states" /> | ||
</RemoteOWS> | ||
<UserStyle> | ||
<Name>userstyle</Name> | ||
<FeatureTypeStyle> | ||
<Rule> | ||
<PolygonSymbolizer> | ||
<Stroke><sld:CssParameter sld:name="stroke">#0000ff</sld:CssParameter> | ||
<sld:CssParameter sld:name="stroke-width">3</sld:CssParameter> | ||
</Stroke> | ||
<Fill> | ||
<sld:CssParameter sld:name="fill">#0000ff</sld:CssParameter> | ||
</Fill> | ||
</PolygonSymbolizer> | ||
</Rule> | ||
</FeatureTypeStyle> | ||
</UserStyle> | ||
</UserLayer> | ||
</StyledLayerDescriptor> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<serviceCommonCapabilities xmlns="http://eu-orchestra.org/services/ms"> | ||
<OA_MI_Service_CommonCapabilities> | ||
<serviceDescription>Orchestra Map and Diagram Service</serviceDescription> | ||
<serviceDiscoveryBasic> | ||
<OA_MI_Service_DiscoveryBasic> | ||
<freeKeywords> | ||
<OA_MI_Service_FreeKeywords> | ||
<OA_MI_Keywords> | ||
<keywords>Map and Diagram Service</keywords> | ||
<keywords>MS</keywords> | ||
<keywords>ORCHESTRA</keywords> | ||
</OA_MI_Keywords> | ||
</OA_MI_Service_FreeKeywords> | ||
</freeKeywords> | ||
<yellowPageInfo> | ||
<OA_MI_Service_YellowPageInfo> | ||
<business> | ||
<OA_MI_Service_BusinessClassification> | ||
<identifier>GeoVisualization</identifier> | ||
</OA_MI_Service_BusinessClassification> | ||
</business> | ||
</OA_MI_Service_YellowPageInfo> | ||
</yellowPageInfo> | ||
</OA_MI_Service_DiscoveryBasic> | ||
</serviceDiscoveryBasic> | ||
<serviceDocumentation>https://portal.opengeospatial.org/files/?artifact_id=16644</serviceDocumentation> | ||
<serviceInvocationBasic> | ||
<OA_MI_Service_InvocationBasic> | ||
<operation> | ||
<OA_MI_Operation> | ||
<accessPoints> | ||
<OA_MI_AccessPoint> | ||
<uri>http://karlinapp.ethz.ch/cgi-bin/orchestra_map_serv</uri> | ||
</OA_MI_AccessPoint> | ||
</accessPoints> | ||
<description>Delivers capabilities of the map and diagram service.</description> | ||
<name>getCapabilities</name> | ||
<parameters> | ||
<OA_MI_OperationParameter> | ||
<description>request</description> | ||
<direction>in</direction> | ||
<name>request</name> | ||
<optionality>false</optionality> | ||
<repeatability>false</repeatability> | ||
<valueType>OAGetCapabilitiesRequest</valueType> | ||
</OA_MI_OperationParameter> | ||
</parameters> | ||
<parameters> | ||
<OA_MI_OperationParameter> | ||
<description>response</description> | ||
<direction>out</direction> | ||
<name>response</name> | ||
<optionality>false</optionality> | ||
<repeatability>false</repeatability> | ||
<valueType>OAGetCapabilitiesResponse</valueType> | ||
</OA_MI_OperationParameter> | ||
</parameters> | ||
</OA_MI_Operation> | ||
</operation> | ||
<operation> | ||
<OA_MI_Operation> | ||
<accessPoints> | ||
<OA_MI_AccessPoint> | ||
<uri>http://karlinapp.ethz.ch/cgi-bin/orchestra_map_serv</uri> | ||
</OA_MI_AccessPoint> | ||
</accessPoints> | ||
<description>Returns a map from the server based on the user parameters</description> | ||
<name>getMap</name> | ||
<parameters> | ||
<OA_MI_OperationParameter> | ||
<description>request</description> | ||
<direction>in</direction> | ||
<name>request</name> | ||
<optionality>false</optionality> | ||
<repeatability>false</repeatability> | ||
<valueType>OAGetMapRequest</valueType> | ||
</OA_MI_OperationParameter> | ||
</parameters> | ||
<parameters> | ||
<OA_MI_OperationParameter> | ||
<description>response</description> | ||
<direction>out</direction> | ||
<name>response</name> | ||
<optionality>false</optionality> | ||
<repeatability>false</repeatability> | ||
<valueType>OAGetMapResponse</valueType> | ||
</OA_MI_OperationParameter> | ||
</parameters> | ||
</OA_MI_Operation> | ||
</operation> | ||
</OA_MI_Service_InvocationBasic> | ||
</serviceInvocationBasic> | ||
<serviceName>Map and Diagram Service</serviceName> | ||
<serviceSpecVersion>1.1</serviceSpecVersion> | ||
<serviceType>Map and Diagram Service</serviceType> | ||
</OA_MI_Service_CommonCapabilities> | ||
</serviceCommonCapabilities> |
Oops, something went wrong.