Download - Qgis Server Web Client
FOSS4G 2013 QGIS Server and Web Client
QGIS Server and Web Client
http://www.sourcepole.com/http://gis.uster.ch/
Dr. Marco Hugentobler, Sourcepole AGTwitter: @sourcepole
Andreas Neumann, City of UsterTwitter: @GISUster
FOSS4G 2013 QGIS Server and Web Client
Why yet another OWS Server?
>Easier configuration
>Exactly the same look as QGIS Desktop
>Re-Use existing QGIS Desktop projects for publication on the Web and as OWS services
>Use the powerful symbology and labeling features of QGIS
>Reuse many settings from QGIS Desktop
>Web based printing out of the box
>Benefit from the dynamics of the QGIS desktop project
FOSS4G 2013 QGIS Server and Web Client
What is QGIS server?
>Standard compliant WMS server
>WMS extensions for QGIS web client
>WFS server
>Configuration in the QGIS project and layer settings
FOSS4G 2013 QGIS Server and Web Client
Technical Background
>Works with Apache server
>FastCGI application
>Uses the QGIS core libraries
>Configuration read from .qgs project files or alternatively from SLD
>Caching for project and layer settings
>Requires X-Server only for special symbology features
FOSS4G 2013 QGIS Server and Web Client
OWS Project Configuration - Metadata
FOSS4G 2013 QGIS Server and Web Client
Exclude layers and composers
FOSS4G 2013 QGIS Server and Web Client
Selectively publish attributes for WMS/WFS
FOSS4G 2013 QGIS Server and Web Client
Configure layers for WFS publication
FOSS4G 2013 QGIS Server and Web Client
Additional honored QGIS Desktop settings
Layer identifyabilityand display field
FOSS4G 2013 QGIS Server and Web Client
Available WMS Commands
>GetCapabilities
>GetMap
>GetFeatureInfo (with extensions)
>GetLegendGraphics (with extensions)
>GetProjectSettings (extended GetCapabilities)
>GetPrint (proprietary)
FOSS4G 2013 QGIS Server and Web Client
Sample GetPrint command
http://myserver.com/qgis_mapserv.fcgi?
SERVICE=WMS
&REQUEST=GetPrint
&TEMPLATE=A4Portrait
&DPI=300
&maptitle=My%20Home
&map0:Extent=696055.2,245996.2,696152.7,246122.7
&map0:rotation=45
&map0:scale=500
FOSS4G 2013 QGIS Server and Web Client
Additional GetLegendGraphic params
SYMBOLWIDTH width of the symbol preview (mm)
SYMBOLHEIGHT height of the symbol preview (mm)
BOXSPACE space between legend frame and content (mm)
LAYERSPACE vertical space between layers (mm)
LAYERTITLESPACE vertical space between layer title and following items (mm)
SYMBOLSPACE vertical space between symbol and following item (mm)
ICONLABELSPACE horizontal space between symbol and label text (mm)
LAYERFONTFAMILY / font family for layer title / item textITEMFONTFAMILY
LAYERFONTBOLD / 'TRUE' to use a bold fontITEMFONTBOLD
LAYERFONTSIZE / Font size in pointsITEMFONTSIZE
LAYERFONTITALIC / TRUE' to use italic fontITEMFONTITALIC '
LAYERFONTCOLOR / Hex color code (e.g. #FF0000 for red)ITEMFONTCOLOR
FOSS4G 2013 QGIS Server and Web Client
Future plans for QGIS Server
>Export Widget/Form information
>Cascaded GetFeatureInfo support
>Geodata shop functionality – download original data of user-defined extent
>Printing enhancements: print of redlining/annotation content, print custom overlay/base-map layers
>Exposes serial print / data sheet functionality for reporting
FOSS4G 2013 QGIS Server and Web Client
QGIS Web Client Motivation
Goal is to build a
>Easy to use and user friendly webgis client
>That tightly integrates with QGIS server
>Built on top of standard webgis components: OpenLayers, ExtJS, GeoExt
>Easy to configure and update
FOSS4G 2013 QGIS Server and Web Client
QGIS Web Client Features
>Map display with navigation
>Layer control with reordering and transparency
>Legend and metadata window
>Print tool using the QGIS desktop print layouts
>Attribute data display
>Theme choice
>Measure tools
>Search
>Permalink
FOSS4G 2013 QGIS Server and Web Client
QGIS Web Client User Interface
Map Area
LayerManager
LayerOrderandOpacity
Map tools Search
Overviewmap
Navigation
Map theme changer
Status bar
http://gis.uster.ch/
Legend andand MetadataWindow
FOSS4G 2013 QGIS Server and Web Client
QGIS Web Client Printing
FOSS4G 2013 QGIS Server and Web Client
QGIS Web Client Printing
FOSS4G 2013 QGIS Server and Web Client
QGIS Web Theme Switcher
Searchable graphical list of themes with hierarchy (topics)
Search in title and tags
Configuration in JSON file for project listing with metadata
FOSS4G 2013 QGIS Server and Web Client
Attribute data display
Mouseover tooltips with QGIS display field (can contain HTML code)
Moves along with the mouse
No way to interact with the content
Click tooltips display all visible attributes
Stays open until user closes it or clicks on different object
Can contain interactive content
Users can scroll in tooltip
Can contain interactive HTML content
FOSS4G 2013 QGIS Server and Web Client
Search
Search in different searchtables simultaneously
Search results ordered by priority
Substring search
Search results while typing
Requires PostgreSQL and Python
FOSS4G 2013 QGIS Server and Web Client
Search
Search in different searchtables simultaneously
Search results ordered by priority
Substring search
Search results while typing
Requires PostgreSQL and Python
FOSS4G 2013 QGIS Server and Web Client
Legend and Metadata window
Legend and metadata derived from GetCapabilities
FOSS4G 2013 QGIS Server and Web Client
QGIS Web Client Planned Features
>Redlining
>User-defined Overlay and BaseMap Layers
>High-dpi raster data export
>Vector data export (dxf, shape)
>Better widget and forms support
>Simple editing through WFS-T
FOSS4G 2013 QGIS Server and Web Client
QGIS Mobile Web Client
>Developed with OpenLayers 3 and Jquery Mobile
>Developed by Sourcepole and financed by Glarus, Winterthur, Zürich
>http://mobile.geo.gl.ch/
FOSS4G 2013 QGIS Server and Web Client
QGIS Mobile Web Client Features
>Map display
>Navigation with pinch zoom and rotation
>Theme change
>Layer control (order and transparency)
>Attribute display
>Compass
>GPS Centering
>Settings
FOSS4G 2013 QGIS Server and Web Client
Theme Changer and Layers
FOSS4G 2013 QGIS Server and Web Client
Attribute data and search
FOSS4G 2013 QGIS Server and Web Client
Settings
FOSS4G 2013 QGIS Server and Web Client
Thanks to the developers
QGIS (Mobile) Web Client
>Giovanni Allegri
>Otto Dassau
>Lars Linger
>Pirmin Kalberer
>Andreas Neumann
>Niccolo Rigazzi
>Bernhard Ströbl
>Tim Sutton
>Matthias Walker
>All the translators (9 languages)!
QGIS Server
>Marco Hugentobler
>René Luc d'Hont
>Stephane Brunner
FOSS4G 2013 QGIS Server and Web Client
FOSS4G 2013
Thank you!
http://gis.uster.ch/http://map.geo.gl.ch/
http://mobile.geo.gl.ch/