Open GIS Web Services Web Services Websites directed
Open. GIS Web Services
Web Services „Websites directed at computer programs instead of people. ” Barclay et al. : Terra. Service. Net: An Introduction to Web Services, Microsoft Technical Report MS-TR-2002 -53, Redmond, 2002 Machine to Human Machine to Machine
XML • e. Xtensible Mark-Up Language • Meta-Sprache zur Definition eigener Datenformate • sowohl maschinen- als auch menschenlesbar • Datenaustausch zwischen Anwendungen • Spezifiziert vom W 3 C
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 GIS das Feature Portrayal Model nach Adrian Cuthbert
Desktop GIS
Web. GIS (klassisch)
Islands of Web Mapping Client A Client B Client C Mapserver A Mapserver B Mapserver C GIS Data multiple interfaces same thing
Open. GIS Consortium - Organisation • Das Open. GIS Konsortium wurde 1994 als nonprofit 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.
WMS Spezifikation Client C Client A Client B OGC WMS Interface Mapserver A Mapserver B Mapserver C GIS Data
WMS Implementierungen OGC WMS Interface Mapserver A Mapserver B Mapserver C • • • Geoserver UMN Mapserver ESRI Arc. IMS deegree …
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, Open. GIS document OGC 01 -068 r 2, 2001
Operationen eines WMS • Get. Capabilities – XML-Dokument mit den Eigenschaften des Services • Get. Map – georeferenziertes Rasterbild mit Karteninhalt Get. Capabilities • Get. Feature. Info – Informationen zu einzelnen Features (Geo. Objekten) innerhalb einer Karte Get. Map Get. Feature. Info
Machine 2 Machine Communication Client C Web Map Service OGC WMS Interface get. Mapserver A
Open. GIS 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 Open. GIS Web Services (OWS), z. B. Web Map Service (Portrayal)
Open. GIS Web Services Framework Aus: Open Geospatial Consortium (OGC) (eds. ): Open. GIS Web Services Architecture, Version 0. 3, Open. GIS document OGC 03 -025, 2003
OGC Geodateninfrastruktur SLD
Slippy map Zeichenvorschrift - SLD Geoserver Post. GIS DB
Zeichenvorschriften - Styles • • • SLD – Styled Layer Descriptor OGC Standard Interoperable Zeichenvorschrift XML Grafische Editoren Mangelware Aber: – Arc. Map 2 SLD
Arc. Map 2 SLD • Konvertiert Arc. Map-Zeichenregeln nach SLD • liegt unter Pdctauschenpsvg. • Ordner auf eigenes Profil kopieren
Arc. Map 2 SLD • Arc. Map starten • Shape. File laden und Darstellung anpassen • Arc. Map 2 SLD starten (binArc. GIS_SLD_Converter) • SLD erstellen lassen
Arc. Map 2 SLD • In Geoserver laden (Daten/Styles/Neu) • ACHTUNG: Feature. Type. Name im SLD an Feature. Type anpassen oder entfernen – Default: Name des Shape-Files • Quelltext der Geoserver-Vorschau ansehen (Open. Layers)
WMS Beispiel • http: //webgis. giub. unibonn. de: 8180/geoserver/wms? WIDTH=800&HEIGHT =529&SRS=EPSG%3 A 4326&STYLES=&LAYERS=topp% 3 Arrb&FORMAT=image%2 Fpng&SERVICE=WMS&VER SION=1. 1. 1&REQUEST=Get. Map&EXCEPTIONS=applic ation%2 Fvnd. ogc. se_inimage&BBOX=6. 99070455986 0745, 50. 660287344409184, 7. 2410800914745845, 50. 825848164688836
WMS Beispiel • http: //webgis. giub. unibonn. de: 8180/geoserver/wms? WIDTH=800&HEIGHT= 529&SRS=EPSG%3 A 4326&STYLES=&LAYERS=topp%3 Ar rb&FORMAT=image%2 Fpng&SERVICE=WMS&VERSION =1. 1. 1&REQUEST=Get. Map&EXCEPTIONS=application% 2 Fvnd. ogc. se_inimage&BBOX=6. 990704559860745, 50. 6602873444091 • geoserver/wms? • WIDTH=800&HEIGHT=529& • SRS=EPSG: 4326& • STYLES=&LAYERS=topp: rrb&
WMS mit SLD • Entkopplung von Zeichenvorschrift und Portrayal Service • http: //webgis. giub. unibonn. de: 8180/geoserver/wms? WIDTH=800&SLD=http: //webg is. giub. unibonn. de: 8180/geoserver/www/styles/line. sld&HEIGHT=529& SRS=EPSG%3 A 4326&LAYERS=topp%3 Arrb&FORMAT=image% 2 Fpng&SERVICE=WMS&VERSION=1. 1. 1&REQUEST=Get. Map& EXCEPTIONS=application%2 Fvnd. ogc. se_inimage&BBOX=6. 99 0704559860745, 50. 660287344409184, 7. 2410800914745845, 50. 825848164688836
WMS Beispiel mit SLD • http: //webgis. giub. unibonn. de: 8180/geoserver/wms? WIDTH=800&HEIGHT= 529&SRS=EPSG%3 A 4326&STYLES=&LAYERS=topp%3 Ar rb&FORMAT=image%2 Fpng&SERVICE=WMS&VERSION =1. 1. 1&REQUEST=Get. Map&EXCEPTIONS=application% 2 Fvnd. ogc. se_inimage&BBOX=6. 990704559860745, 50. 6602873444091 • geoserver/wms? • WIDTH=800&HEIGHT=529& • SRS=EPSG: 4326& • SLD=http: //Pfad-zu-SLD. de/mysld. sld
but!
multipleinterfaces
multiple interfaces same thing
• • Geschäftsmodelle Interesse an Interoperabilität? Institutionell vs. freier Markt Integrierte Clients (Unternehmerische) Freiheit Grenzen Top-Down
- Slides: 39