27
A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Embed Size (px)

Citation preview

Page 1: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

A Roadmap of Open Source components for GI Web Services and Clients

A Paul R CooperMAGIC

Page 2: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Outline

Overview of GI web service architectureStandardsDatabasesWeb serversGIS Server softwareClient softwareClose

Page 3: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Overview of Architecture

Page 4: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Overview of Web services

User interfaces with Client Software.Client Software talks to Server software.Server software contained by Web server.Server Software gets data from Data Store.

Web Server

Client

Datastore

Geoserver

Page 5: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Standards

Page 6: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Why should we be bothered?

Everyone in my field/organization uses <insert data format>International standards allow cross-discipline data sharing.GIS crosses disciplinary boundaries.GIS allows data from different fields/disciplines to be brought togetherDiscipline specific formats do not promote data sharing across disciplines

Page 7: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Standards

All web services depend on standardsGeographic data use OGC standards

(Open Geospatial Consortium)ISO TC211 standards also importantOGC and ISO are convergentBoth depend on W3C standardsXML, CSS, HTML, XHTML, DOM

Page 8: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

OGC standards:

Web Feature Servicehttp://www.opengeospatial.org/standards/wfsWeb Map Servicehttp://www.opengeospatial.org/standards/wmsStyled Layer Descriptorhttp://www.opengeospatial.org/standards/sldGML (also ISO 19136)http://www.opengeospatial.org/standards/gmlFilter Encodinghttp://www.opengeospatial.org/standards/filter

Page 9: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

ISO Standards

Plenty to choose from!Full list at http://www.isotc211.org/Ones that are of interest to us are:ISO 19110 (Feature Cataloguing).ISO 19111 (Spatial Referencing by Coordinates)ISO 19112 (Spatial Referencing by Geographic identifier)ISO 19115 and ISO 19139 (Metadata)Plus lots more.ISO standards not free, unfortunately.

Page 10: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Web standards

XMLhttp://www.w3.org/XML/HTML and XHTMLhttp://www.w3.org/MarkUp/CSShttp://www.w3.org/Style/CSS/Document Object Model (DOM)http://www.w3.org/DOM/

Page 11: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Other standards

SQL (ISO 9075 with OGC extensions)KML (recently adopted as OGC standard; may converge with GML)

Page 12: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Datastores

Page 13: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Datastores

Any means of storing geographic informationSpatially enabled RDBMS

l PostGIS/PostgreSQL (F/OSS)l MySQL (F/OSS)l Oracle (Proprietary; Oracle Spatial not required)l ArcSDE (Proprietary)

File based l Shapefiles (Proprietary but published and widely used)l Images (Many formats; mostly standard)l GML (OGC standard)

Service based – other WFS servers

Page 14: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Web servers

Page 15: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Web Servers

Apache Stable, and well known web server.

Supports CGI based servicesWeb servers supporting Java

Tomcat Jboss Jetty GlassFish

Page 16: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

GIS Web Server

Page 17: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

F/OSS Web servers

MapServerGeoserverDeegreeProbably lots of others!

Page 18: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Client Software

Page 19: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Client Software

Many options of varying complexitySimple image, using a suitable URLCustom JavaScriptOpenLayersGoogle EarthGIS Software

Page 20: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Using an IMG tag

Provides a static viewNo interactive facilitiesE.G Ship track in static contextUses a URL specifying:The features to be displayedThe area to be displayedThe bounding boxThe SRID

Page 21: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Javascript based clients

WMS Calls can be scripted in JavaScriptThe ADD used this approach until recently!AdvantagesVery customizableCan be adapted to suit your environmentDisadvantagesNo supportGets complicated quite quickly!Only supports WMS

Page 22: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

OpenLayers

An AJAX systemCan use wide variety of data sourcesWMSWFSImagesActively being developedStable and widely used.Documentation not wonderful!

Page 23: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Google Earth

Google Earth can view WMSSome WMS will provide KML output as an option Geoserver does thisKML is an output from a WMSNot a data transfer format

Page 24: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

GIS Packages

Most mainstream GIS has at least limited capability to use WMS/WFS.

Page 25: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Summary

Page 26: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

Summary

F/OSS software provides good support for GI Web servicesF/OSS software provides good compliance with relevant standardsF/OSS provides stable solutionsF/OSS is easy to use!

Page 27: A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC

That’s All Folks!