opengis web services
DESCRIPTION
OpenGIS Web Services. Web Services. „ Websites directed at computer programs instead of people.” Barclay et al.: TerraService.Net : An Introduction to Web Services, Microsoft Technical Report MS-TR-2002-53, Redmond, 2002. Machine to Human. Machine to Machine. XML. - PowerPoint PPT PresentationTRANSCRIPT
OpenGIS Web Services
Web Services „Websites directed at computer programs instead of people.”
Barclay et al.: TerraService.Net: An Introduction to Web Services, Microsoft Technical Report MS-TR-2002-53, Redmond, 2002
Machine to Human
Machine to Machine
XML
• eXtensible Mark-Up Language• Meta-Sprache zur Definition eigener
Datenformate• sowohl maschinen- als auch
menschenlesbar• Datenaustausch zwischen
Anwendungen• Spezifiziert vom W3C
Machine 2 Machine Communication
Service-Orientierte Architekturen (SOA)
•! Verteiltheit•! Lose Kopplung•! Verzeichnisdienst •! Wiederverwendbarkeit
Was könnte Sie das angehen? Bezug GIS?
• Welche Funktionalität bietet GIS?– Darstellung (Portrayal)– Datenabfrage (Data)– User Interface (Client / Application)– Prozessierung (Processing)– Katalog (Catalogue/Registry)
Klassisches GISdas Feature Portrayal Model nach Adrian Cuthbert
Desktop GIS
WebGIS (klassisch)
Islands of Web Mapping
GIS Data
GIS Data
GIS Data
Mapserver A Mapserver B Mapserver C
Client CClient A Client B
same thingmultiple interfaces
OpenGIS Consortium - Organisation
• Das OpenGIS Konsortium wurde 1994 als non-profit Organisation gegründet:– The Open GIS Consortium (OGC) is an industry consortium whose members
work in a collaborative, consensus process to enhance and enable interoperability for technologies involving spatial information and location.
– The OGC Vision is a world in which everyone benefits from geographic information and services made available across any network, application, or platform.
– The OGC Mission is to deliver spatial interface and encoding specifications that are openly and publicly available for global use.
• Es umfasst heute mehr als 345 Mitglieder aus Wirtschaft, Verwaltung und Wissenschaft.
GIS Data
GIS Data
GIS Data
Mapserver A Mapserver B Mapserver C
OGC WMS Interface
Client C Client A Client B
WMS Spezifikation
Mapserver A
Mapserver B
Mapserver C
OGC WMS Interface
WMS Implementierungen
• Geoserver• UMN Mapserver• ESRI ArcIMS• deegree• …
Mapserver A
Mapserver B
Mapserver C
WMS Spezifikation
“A Web Map Service (WMS) produces maps of georeferenced data.
We define a ‘map’as a visual representation of geodata;
a map is not the data itself.”
aus: Open Geospatial Consortium (OGC) (eds.): Web Map Service Implementation Specification Version 1.1.1, OpenGIS document OGC 01-068r2, 2001
GetCapabilities GetMap GetFeatureInfo
Operationen eines WMS
• GetCapabilities – XML-Dokument mit den
Eigenschaften des Services
• GetMap – georeferenziertes
Rasterbild mit Karteninhalt
• GetFeatureInfo – Informationen zu
einzelnen Features (Geo-Objekten) innerhalb einer Karte
Machine 2 Machine Communication
Mapserver A
OGC WMS Interface
Client C
Web Map Service
getMap
OpenGIS Web Services
• Standardisierung von Schnittstellen zu Funktionalitäten, die GIS bereitstellen
• Abkehr von Konzentration auf Datenformate (shp, Simple Features, ..)
• Services, die eine solche Schnittstelle implementieren, sind OpenGIS Web Services (OWS), z.B. Web Map Service (Portrayal)
OpenGIS Web Services Framework
Aus: Open Geospatial Consortium (OGC) (eds.): OpenGIS Web Services Architecture, Version 0.3, OpenGIS document OGC 03-025, 2003
OGC Geodateninfrastruktur
SLD
PostGIS DB
Geoserver
Slippy map
Zeichenvorschrift - SLD
Zeichenvorschriften - Styles
• SLD – Styled Layer Descriptor• OGC Standard• Interoperable Zeichenvorschrift• XML• Grafische Editoren Mangelware• Aber: – ArcMap2SLD
ArcMap2SLD
• Konvertiert ArcMap-Zeichenregeln nach SLD
• liegt unter \Pdc\tauschen\psvg. • Ordner auf eigenes Profil kopieren
ArcMap2SLD
• ArcMap starten• ShapeFile laden und Darstellung anpassen• ArcMap2SLD starten (\bin\
ArcGIS_SLD_Converter)• SLD erstellen lassen
ArcMap2SLD
• In Geoserver laden (Daten/Styles/Neu)• ACHTUNG: FeatureTypeName im SLD an
FeatureType anpassen oder entfernen– Default: Name des Shape-Files
• Quelltext der Geoserver-Vorschau ansehen (OpenLayers)
WMS Beispiel
• http://webgis.giub.uni-bonn.de:8180/geoserver/wms?WIDTH=800&HEIGHT=529&SRS=EPSG%3A4326&STYLES=&LAYERS=topp%3Arrb&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=6.990704559860745,50.660287344409184,7.2410800914745845,50.825848164688836
WMS Beispiel
• http://webgis.giub.uni-bonn.de:8180/• geoserver/wms?• WIDTH=800&HEIGHT=529&• SRS=EPSG:4326&• STYLES=&LAYERS=topp:rrb&• FORMAT=image/png&• SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&• EXCEPTIONS=application/vnd.ogc.se_inimage&• BBOX=6.990704559860745,50.660287344409184,7.241080
0914745845,50.825848164688836
WMS mit SLD
• Entkopplung von Zeichenvorschrift und Portrayal Service
• http://webgis.giub.uni-bonn.de:8180/geoserver/wms?WIDTH=800&SLD=http://webgis.giub.uni-bonn.de:8180/geoserver/www/styles/line.sld&HEIGHT=529&SRS=EPSG%3A4326&LAYERS=topp%3Arrb&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=6.990704559860745,50.660287344409184,7.2410800914745845,50.825848164688836
WMS Beispiel mit SLD
• http://webgis.giub.uni-bonn.de:8180/• geoserver/wms?• WIDTH=800&HEIGHT=529&• SRS=EPSG:4326&• SLD=http://Pfad-zu-SLD.de/mysld.sld• &LAYERS=topp:rrb&• FORMAT=image/png&• SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&• EXCEPTIONS=application/vnd.ogc.se_inimage&• BBOX=6.990704559860745,50.660287344409184,7.24108009147
45845,50.825848164688836
but!
multiple interfacesmultiple interfaces
same thingmultiple interfaces
?
• Geschäftsmodelle• Interesse an Interoperabilität?• Institutionell vs. freier Markt• Integrierte Clients• (Unternehmerische) Freiheit• Grenzen• Top-Down