Open geospatial data for Environmental Risk Management 2nd section: Open geospatial data for environmental risk management Part 3 Access to open geospatial data for environmental risk management Using WMS and WFS – online services for geospatial data
1
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
WMS and WFS Geospatial data repositories of raster and object data Online geospatial data services Introduction and Exercise using WMS and WFS with GIS- Software The example of Q-GIS
2
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Content of this session Where to get Open geospatial data
Your data collection exercise ….. WMS – what is it ?
WFS - what's the difference WMS and WFS - how they function
How can you integrate such geospatial services into your spatial data project hands-on exercise with Q-GIS
3
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Learning objectives of this session In this lecture the following topics and skills are taught: •
Methodological background to spatial data
•
Examples of WMS Server and Spatial Data Use
•
Integration of WMS server GIS projects
•
Background to some regional WMS Services in the federal state of Brandenburg
•
Hands-on work with the WMS spatial data server of the federal State of Brandenburg
4
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Geospatial Web Services •
Web Map Service (WMS): Image presentation service (Raster data model)
•
Web Feature Service (WFS): Object presentation service (Vector data model)
•
Web Feature Service Gazetter (WFS-G): Query Service / Gazetter
•
Web Catalogue Service (CSW): Catalogue service for metadata management
•
Web Coverage Service (WCS) describes, discovery, query, or data transformation operations.
•
Web Elevetation Calculation Service (WECS)
•
Web Coordinate Transformation Service (WCTS): Map Coordinate and Projection transformation service 5
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Online GeoDatabase examples – WMS
A Web Map Service (WMS) is a standard protocol for serving georeferenced map images over the Internet that are generated by a map server using data from a GIS database. The specification was developed and first published by the Open Geospatial Consortium in 1999
6
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
GeoDatabase examples – Webmap service
7
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Digital, virtual Web-Services and Mash-ups
Application that combines data from multiple sources Referred to as “content aggregation” Combines similar types of data (e.g., maps,) from different systems/services Term originated from music industry when a new song was made from several existing tracks
+ 8
= TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Map Service (WMS) - Definition A Web Map service (WMS) is a… • Web service in the Internet which… • provides spatial access to maps while... • spatial data user receives a raster image, such as jpg, png, gif • using Information about necessary metadata information for visualizing spatial data and for a query to the meta data structure • WMS offer access to this distributed spatial data on different servers in order to get map mash-ups in the interface • Geospatial data remains up-to-date at all time • No data is exchanged only services and query results • Spatial data are maintained and managed by the producers OGC conform WMS are standardized according Syntax and results Further Information: http://www.gdi.bayern.de
9
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
WMS – what is it ? Definition: A Web Map Service (WMS) is a standard protocol for serving georeferenced map images over the Internet that are generated by a map server using data from a GIS database. The specification was developed and first published by the Open Geospatial Consortium in 1999.
According to the specifications of the OGC WMS server can visualize the requested maps from raster or vector data. In terms of a distributed geographic information system (GIS) has only a WMS's ability to provide information to the necessary metainformation for visualization of the following data and for a general query to the underlying factual data. (Source: Wikipedia)
10
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
WMS – what is it ? IT - Process The result of a spatial WMS query, a digital map is returned by the WMS protocol in a rather simple raster graphics format. Depending on the data structure, however, various other file formats, including Scalable Vector Graphics (SVG) or Web Computer Graphics Metafile (WebCGM) WebCGM files are created when spatio-temporal data is presented in a digital movie format.
The user addresses a Web Map Service via an address on his web browser capable to present maps in a graphical format on the screen or browser frontend. Thus, the Web Map Service is a typical component of a Web GIS System .
11
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
WMS Architecture - Data preparation
Structured access to separated spatial data archives
12
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Advantages of WMS geospatial services
Permanent multiple use of spatial data
Reducing costs by using common spatial databases
Spatial data are maintained and managed by the producers
Quality control and standardized certified services via:
permanent data consistency
most recent is used at all time
certified standardized data
INSPIRE and OGC compliant
Advantages by reducing redundancy and spatial data mashups from various sources
End-users could improve on individual mash-ups 13
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Map Service (WMS) International Organization of Standardization (ISO) Open Geospatial Consortium (OGC) = is an international coopeation body of representatives from the commercial, government and academia www.opengeospatial.org Definition of service specifications (http://www.opengis.org) •Data format in XML Notation (GML) •Geometrieformat in WKT (Well Known Texts) •WKB (Well Known Binaries) •Data transfer capacbilites like WMS (Web Map Service) •WFS (Web Feature Service) •SLD (Styled Layer Descriptor) •WCS (Web Coverage Service) •Web catalogue service to process structured spatial queries 14
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Map Service (WMS) 3 main functions that can be requested by a user (communication through Hypertext Transfer Protocol (HTTP): for example testing a MAP file (MapServer) in a web browser 1.
GetCapabilities (request): • Request for the capabilities of the WMS • Response is an XML document (general information for providers of WMS, WMS of the supported output formats, the queryable layers for the map)
2.
GetMap:
•
•
Delivery of a georeferenced raster image (map) from the WMS
•
Within the data request you may select options about map layer, representation of the layer, the underlying coordinate system, the map, the size of the card issuance and the output format can be made
GetFeatureInfo (optional): • Optional, a WMS can answer questions on a section of map. • As output the WMS produces fixed thematic information of the underlying data. 15
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Feature Service (WFS) • A WFS describes discovery, query, or data transformation operations. • The client generates the request and posts it to a web feature server using HTTP. • The web feature server then executes the request. • The WFS specification uses HTTP as the distributed computing platform, although this is not a hard requirement. • A WMS provides services about projected map images in various graphic formats to the requesting client exclusively • A WFS provides geospatial data services in shape or object format to the client. • These data sets can be saved as Shape files for example. 16
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Feature Service (WFS)
17
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Introductory Session on accessing WMS Using WMS and integrating them into GI Software
1. Only using an internet browser software and internet connection 2. Using WMS-Viewer (ArcExplorer Web, Deutschland-Viewer,etc.) 3. Integating them into GIS-Software (ArcGIS, Q-GIS or GDV SpatialCommander
4. You only need to address the WMS (server URL). ? 5. These can be found on the provider websites , e.g. on the webpages of national or federal institutes.
18
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Map Service (WMS) – Internet Browser request Processing the GetMap request: http://isk.geobasis-bb.de/ows/dop20c.php? request=GetMap&service=WMS&version=1.1.1&BBOX=382000,5795000,383000,5796000& WIDTH=1000&HEIGHT=1000&LAYERS=18000&SRS=EPSG:25833&FORMAT=image/png
• Internetadress (URL) of the Service bb.de/ows/dop20c.php? • Service request • Version of WMS-service • Mapping frame (Bounding Box) • Image tyle layer size in pixels • Reguested map layer name • Projection format e,g, ETRS89 • Presentation fomart e.g. png/gif • Transparency of map information only applies tp GIF/PNG format • Presenting map legends 19
http://isk.geobasisREQUEST=GetMap VERSION=1.1.1 BBOX=382000,5795000,383000,5796000 WIDTH=1000&HEIGHT=1000 LAYERS=18000 SRS=EPSG: 25833 FORMAT=image/png TRANSPARENT=TRUE STYLES=) TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Map Service (WMS) – Internet Browser
20
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Accessing WMS Service providers
21
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Map Service (WMS) – Internet Browser request As a result you get access to the service XMLDokument Service version Metadata
22
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
http://www.carto.net/papers/svg/tuerlersee/
SVG Scalable Vector Graphics for mapping
23
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Map Service (WMS) – GIS-Software http://isk.geobasisbb.de/ows/dop20c.php?request =GetMap&service=WMS&versio n=1.1.1& BBOX=382000,5795000,383000, 5796000&WIDTH=1000&HEIGHT =1000&LAYERS=18000&SRS=EPS G:25833&FORMAT=image/png
24
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Accessing WMS Service providers
25
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Map Service (WMS) – Aufruf Federal surveyor of Brandenburg Landesvermessung und Geobasisinformation Brandenburg (LGB) Brandenburg
http://isk.geobasis-bb.de/ login Button „GeoWebDienste“
26
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Map Service (WMS) – Request Server-URL / GetMap-request Example http://isk.geobasis-bb.de/ DOP20c (color)
27
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
WS 2010/2011 Addititonal information about EPSG-Codes
EPSG-Codes (European Petroleum Survey Group) = numerical Codes of spatial reference systems under (http://www.epsg.org: EPSG Geodetic Parameter Dataset) Examples: • EPSG:4326 - geographic WGS84 • EPSG:25833 - ETRS89, UTM(6-degree zone system), Zone 33 • EPSG:35833 - ETRS89, UTM(6-degree zone System), Zone 33, with adding 33 to it (not OGC-conform !) • EPSG:325833 - ETRS89, UTM(6-dgree zone system), Zone 33, with adding 33 to it (not OGC-conform !) • Note: The coordinate system EPSG: 325 833 corresponding to the official coordinate system in the state of Brandenburg. This is the system EPSG: with an additional 25 833 to 3000 km, the elevation of the Ostwertes EPSG name.? 325 833 was not awarded by the EPSG. It is a country-specific coding. (ref.: http://isk.geobasis-bb.de/index.php/dienste/kartendienst ) • EPSG:32611 - Noth UTM Zone 11, WGS84 • The WMS protocol uses EPSG codes to describe specific spatial frames of reference.
28
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
EPSG-Codes Webpage
29
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Map Service (WMS) - Links Geoportal Brandenburg
http://geoportal.brandenburg.de
GeoWebDienste Brandenburg
http://isk.geobasis-bb.de
Deutschland-Viewer
http://www.geodatenzentrum.de
OpenStreetMap
http://wms.openstreetmap.de/
Digital Historical Maps
http://www.dhm.uni-greifswald.de/
GeoGREIF - Geographische Sammlungen
http://greif.uni-greifswald.de/geogreif/
Historische Karten - Web-MapService (WMS)
http://www.kleks-online.de/historische_karten.php
GeoPortal.MV
http://www.geoportal-mv.de
Open-Street-Map
http://www.openstreetmap.org
Geofabrik.de OSM bulk data provider
http://www.geofabrik,de
30
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Web Map Service (WMS) – WMS-Viewer •
ArcExplorer Web (ESRI) http://www.geographynetwork.com/arcexplorer/arcexplorer.html
•
deegree WMS Client (lat/lon GmbH) http://www.lat-lon.de (z.B. degree mapService (WMS))
•
EarthExplorer http://edcsns17.cr.usgs.gov/NewEarthExplorer
•
Deutschlandviewer (BKG – Geodatenzentrum) http://www.geodatenzentrum.de (incl. DOP-Viewer)
•
Brandenburg-Viewer http://isk.geobasis-bb.de/index.php/bb-viewer
•
Ionic - GeoViewer http://demo.ionicsoft.com/geoviewer/
•
Intergraph WMS Viewer (2006) http://www.intergraph.com/interoperability_ogcviewer.asp
31
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
WMS Server data availability in Brandenburg
32
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
Resulting WMS (DOP20c) in ARC-GIS
33
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
References and further reading "Web Map Service". Open Geospatial Consortium. http://www.opengeospatial.org/standards/wms. Retrieved 2009-03-23. Scharl, Arno; Klaus Tochtermann (2007). The Geospatial Web: How Geobrowsers, Social Software and the Web 2.0 are Shaping the Network Society. Springer. pp. 225. ISBN 1846288266.
Doyle, Allan (1997). WWW Mapping Framework. Open GIS Consortium. Cuthbert, A. (1998). User Interaction with Geospatial Data. Open GIS Consortium. Peng, Zhong-Ren; Ming-Hsiang Tsou (2003). Internet GIS. John Wiley and Sons. pp. 191. "OpenGIS Web Map Server Interface Implementation Specification (Revision 1.0.0)". Open Geospatial Consortium. 2000-04-19. http://portal.opengeospatial.org/files/?artifact_id=7196. Retrieved 2009-0410. "Web Map Service Implementation Specification Version 1.1.0". Open Geospatial Consortium. 200106-21. http://portal.opengeospatial.org/files/?artifact_id=1058. Retrieved 2009-04-10. "Web Map Service Implementation Specification - Version 1.1.1". Open Geospatial Consortium. 200201-16. http://portal.opengeospatial.org/files/?artifact_id=1081&version=1&format=pdf. Retrieved 200904-10. "OGC Web Map Service Interface". Open Geospatial Consortium. 2004-01-20. http://portal.opengeospatial.org/files/?artifact_id=4756. Retrieved 2009-04-10. "WMS Server". Mapserver. http://mapserver.org/ogc/wms_server.html. Retrieved 2009-04-10. "Geoserver - Clients". OpenGeo. http://geoserver.org/display/GEOSDOC/Clients. Retrieved 2009-04-22.
34
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015
… further questions …and please continue requesting a growing number of free accessible WMS and WFS from your local government in order to get the NSDI in your country conform with EU INSPIRE
35
TUM – International Master Course on Land Management and Land Tenure Environmental Risk Management - Prof. Dr. J.-P. Mund, HNEE - 15/07/2015