Web Map Server (WMS) & Web Feature Server (WFS) Overview... · Web Map Server (WMS) & Web Feature...
Transcript of Web Map Server (WMS) & Web Feature Server (WFS) Overview... · Web Map Server (WMS) & Web Feature...
page - 1
Web Map Server (WMS) & Web Feature Server (WFS)
Overview
Tutorial ‘International Standards’
Vincent Dessard
Belgium
IONIC Software, Founder
ISO/TC 211 17th Plenary & Associated Meetings
Berlin, Germany, DIN Institute / 2003-10-31
Advisory Group on Outreach
page - 2
Plan
➢ Web Services
➢ Vision, Dreams & Challenges
➢ How does it works ? (Concepts)
➢ Standards in support of GI Web Services
➢ Applicable ISO/OGC standards
➢ WMS : Web Map Server
➢ WFS : Web Feature Server
➢ SLD, CPS, WMS as a presentation service for GML/Features, …
➢ Web Services & Spatial Data Infrastructure (SDI)
Examples
➢ More advanced vision, concept & products = Future-Proofness !
page - 3
Dream & Challenges
• GI community have to face :
– creation of the right services
– quicker response to market demand
– demonstration of differentiated services
– proposition of adhoc and personalized services
– delivery of high level Quality of Services online
This is true for publishers, producers, suppliers, vendors, all levels of authorities, ...
End-users now expect to get that !
Users
Providers
Databases, GIS,...,
page - 4
Interoperability - a Must !
• GOAL : enable e-business & Quality of Services
• SOLUTION : interoperable Web Services to
build value & bring innovative services to
user/customer/citizen
INTEROPERABILITY
Innovative Services
Satisfied User Satisfaction
Services, QoS & Time to market
A Must haveDynamic Reach
e-business
Infrastructure / GIS / data / billing
page - 5
Online Geo-services
Topo
= Map Server
Clients
BaseMap
= Map Server
Imagery
= Map
Server
Raster
= Map ServerNetwork
= Map Server
Distributed Mapping
or geo-enabled
services to present
and analyze
information from
“Geo-Servers” using
different vendors
technology and
rendering methods
RDBMS / GIS / ‘non-GIS’= Features Servers
➔ Objects ➔ GML/XML ➔ Rendering
page - 6
Baseline for GI Interop...
• Map (+ Coverage & Terrain) Services
Web Map Services (WMS, WCS, WTS)
• GI Object Services, Transactions
Web Feature Services
• Models, Encoding & Transport of GI Information
GML
• Presentation, Dynamic Legend, Symbology, …
Portrayal, Styling, …
• Registry & Discovery & Chaining of Data & Services
Catalog Services
page - 7
Standards !“Not codifying status-quo of technology anymore,
but defining requirements for new technology…” (Olaf Ostessen, Chairman of TC211)
• Metadata (ISO-ISO19115,19139 / OGC)
• WMS : Web Map Service (OGC / ISO-ISO19128)
• WFS : Web Feature Service (+ filters) (OGC / ISO…starting)
• Feature Model, incl. geometry model (ISO-ISO19109/110,19125 / OGC )
• GML & Encoding (OGC / ISO-ISO19136)
• WCS, WTS : Coverages, Terrain (OGC)
• Catalog / WRS : Catalog & Registry (OGC)
• Service metadata, model, chaining (ISO-ISO19119 / OGC-OWS)
➔ FRAMEWORK FOR INTEROPERABILITY
➔ BOOST THE VALUE CHAIN
➔ ENABLE BETTER ACCESS TO GI
page - 8
Plan
➢ Web Services
➢ Vision, Dreams & Challenges
➢ How does it works ? (Concepts)
➢ Standards in support of GI Web Services
➢ Applicable ISO/OGC standards
➢ WMS : Web Map Server
➢ WFS : Web Feature Server
➢ SLD, CPS, WMS as a presentation service for GML/Features, …
➢ Web Services & Spatial Data Infrastructure (SDI)
Examples
➢ More advanced vision, concept & products = Future-Proofness !
page - 9
What is a Web Map Server ?
The OpenGIS Web Map Server Specification (WMS) is a set of
interface specifications that provide uniform access by Web
Clients to maps rendered by map servers on the Internet.
Thus, WMS is a service interface specification that:
• Enables the dynamic construction of a map as a picture, as a series of
graphical elements, or as a packaged set of geographic feature data
• Answers basic queries about the content of the map
• Can inform other programs about the maps it can produce and which of
those can be queried further
page - 10
What is a Web Map Server ?
MapServer
MapServer
MapServer
MapServer
inte
rnet
http://a-map-co.com/mapserver.cgi?WMTVER=0.9&REQUEST=map&SRS=4326&
BBOX=-88.68815,30.284573,-87.48539,30.989218&
WIDTH=792&HEIGHT=464&LAYERS=STUSA%3ACubeWMT,Landsat%3AMIT-lsat&
STYLES=TRANSPARENT%2FBLACK,Default&FORMAT=PNG&BGCOLOR=0xFFFFFF&
TRANSPARENT=FALSE&EXCEPTIONS=INIMAGE&QUALITY=MEDIUM
MapServer
MapServer
MapServer
MapServer
inte
rnet
http://b-map-
co.com/servlets/mapservlet?VERSION=1.1.0&REQUEST=map&
BBOX=-88.68815,30.284573,-87.48539,30.989218&
WIDTH=792&HEIGHT=464&SRS=4326&
LAYERS=AL+Highway,AL+Highway,AL+Highway&
STYLES=casing,interior,label&FORMAT=GIF&TRANSPARENT=TRUE
MapServer
MapServer
MapServer
MapServer
inte
rnet
http://a-map-
co.com/mapserver.cgi?VERSION=1.1.0&REQUEST=GetMap&
SRS=EPSG:4326&BBOX=-88.68815,30.284573,-87.48539,30.989218&
WIDTH=792&HEIGHT=464&
LAYERS=STUSA%3ACubeWMT,Landsat%3AMIT-lsat&
STYLES=TRANSPARENT%2FBLACK,Default&FORMAT=image/png&
BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE&EXCEPTIONS=application/vnd
.ogc.se_inimage&QUALITY=MEDIUM
http://b-map-co.com/servlets/mapservlet?VERSION=1.1.0&
REQUEST=GetMap&BBOX=-88.68815,30.284573,-87.48539,30.989218&
WIDTH=792&HEIGHT=464&SRS=EPSG:4326&
LAYERS=AL+Highway,AL+Highway,AL+Highway&
STYLES=casing,interior,label&FORMAT=image/gif&TRANSPARENT=TRUE
page - 11
Main WMS Interfaces
GetMap - Specifies communication protocols to merge many web
map views into one view.
GetCapabilities - Explains what a map server can do (so
integrators know what to ask for).
GetFeatureInfo - Specifies how to ask for more information
about web map features.
DescribeLayer - Describes the data underlying each layer.
page - 12
What is a Web Feature Server ?
Whereas WMS delivers a picture, WFS supports
the direct exploitation and access of feature
data and associated attributes on the Web.
• The WFS is a service interface that describes data
manipulation on geographic features. Data
Manipulation operations include the ability to
insert, delete, update, get and query features on
spatial and non-spatial constraints
page - 13
What are Features ?
• A feature is an “entity” (restaurant, tree, etc.), an observation or an “event” (accident, fire)
• A feature is one instance of a FeatureType
• A FeatureType is the Schema (structure) that you expose to the world. A FeatureType is defined by a set of attribute definition, the attribute definition have a name and a type. The attributes may be a number, string and also a geometry
• A Feature Collection is a structured collection of features. It is a Feature that groups other Features
page - 14
What is Geographic Markup
Language (GML) ?
• The Geography Markup Language (GML) is an XML encoding for the
transport and storage of geographic information, including both the
spatial and non-spatial properties of geographic features
• GML is a XML extension to define geospatial Features
• GML defines content : There is no mix between content and
presentation • <wfs:SANTACLAUS fid="SANTACLAUS.01">
<wfs:NAME>SantaClaus</wfs:NAME>
<wfs:DESC>This feature represents Santa Claus</wfs:DESC>
<wfs:STATUS>Moving</wfs:STATUS >
<wfs:PLACE>Sydney</wfs:PLACE>
<wfs:GEOM>
<gml:Point srsName="EPSG:4326">
<gml:coordinates>77.612779, -63.09055</gml:coordinates>
</gml:Point>
</wfs:GEOM>
<wfs:SPEED>231309.64</wfs:SPEED>
<wfs:GIFTS>292308</wfs:GIFTS>
• </wfs:SANTACLAUS>
page - 15
Main WFS Interfaces• GetCapabilities - Indicates which feature types it can service and what operations
are supported on each.
• DescribeFeatureType - Describes the structure of any feature type upon request.
• GetFeature - Services requests to retrieve feature instances from a datastore.
Feature properties to fetch may be specified. The query may be constrained spatially
and non-spatially.
• LockFeature - Processes a lock request on one or more instances of a feature type
for the duration of a transaction. This ensures that serializable transactions are
supported.
• Transaction - Services transaction requests. A transaction request is composed of
operations that modify features in the datastore; insert, update and
delete features.
page - 16
Interoperable Data Models
Design
Portray/Render as map(OGC/ISO WMS/PS)
page - 17
Map the WFS/GML feature types
onto the data source (Databases, SDE, …)
page - 18
Featuresdo not mix with representation
• Feature definition are made in XMLSchema, based on GML Schemas.
• GML = XML based encoding standard for geographic information developed by
the OpenGIS Consortium.
• GML is intended to model the structure and relationships for real world
geography, not a graphical representation of that geography
• Graphical representation is to be expressed in SVG, VRML, or equivalent.
Features
Theme=“road”
Applying a Style and PortrayStyle of “road”
for Wilkes-Barre Blvd
R
U
L
E
S
page - 19
Examples
Credit : IONIC Software (results of Portrayal Engine)
page - 20
Style Layer Description
Raster Image / Map
Map Dressing
Portrayed Features
The StyleEditor
Portrayal
Styles
WFS
WMS
Rules
Data
StylesEditor
Styles
Rules
Production Server Administrator Remote Data Administrator
publish
Sync
SLD passed as parameter
of a WMS request to trigger the Style
of the « on-the-fly » presentation
page - 21
Plan
➢ Web Services
➢ Vision, Dreams & Challenges
➢ How does it works ? (Concepts)
➢ Standards in support of GI Web Services
➢ Applicable ISO/OGC standards
➢ WMS : Web Map Server
➢ WFS : Web Feature Server
➢ SLD, CPS, WMS as a presentation service for GML/Features, …
➢ Web Services & Spatial Data Infrastructure (SDI)
Examples
➢ More advanced vision, concept & products = Future-Proofness !
page - 22
SDI : Architecture
Application
Registry services
CatalogFind Service
Other SDI,
Map Servers, Feature
Servers, Coverage
Servers, Census info,
Weather, etc.
publis
h
bin
d
Data
Map Server
MD
Data
Feature Server
MD
Data
Map Server
Feature Server
Portrayal
MD
Data
Services
(existing)
geo
databases
Other Services
Gazetteer
Annotation (xima)
Geo Coding
...
page - 23
EC / INSPIRE
Architectural Vision
• The architecture envisioned by INSPIRE deploys interoperable services that will help to produce and publish, find and access, and eventually, use and understand geographic information over the Internet across European Union and Association Countries at local, national, and European levels
2002 ARCHITECTURE AND STANDARDS WORKING GROUP - INSPIRE Architecture and Standards Position Paper, JRC-Institute for Environment and Sustainability, Ispra (64p)
page - 24
Plan
➢ Web Services
➢ Vision, Dreams & Challenges
➢ How does it works ? (Concepts)
➢ Standards in support of GI Web Services
➢ Applicable ISO/OGC standards
➢ WMS : Web Map Server
➢ WFS : Web Feature Server
➢ SLD, CPS, WMS as a presentation service for GML/Features, …
➢ Web Services & Spatial Data Infrastructure (SDI)
Examples
➢ More advanced vision, concept & products = Future-Proofness !
page - 25
NMA - Norvegian Mapping Agency
e-gov – National SDI
page - 26
Interoperable
Spatial Data
Infrastructure &
Application for
General Secretariat /
Cartography Dept
at UN HQ
page - 27
EO – Earth Observation / CEOS (including GML Data exchange)
Web Mapping
page - 28
WFS/GML for e-business
(a PathFinder Project)
page - 29
Web Application Design
page - 30
Using online Catalog
Portal of
OGC Web
Services
by
BRGM (French
Geological
Survey)
page - 31
A WFS/GML LBS project !
UMTS 3G
page - 32
3G Mobile LBS
page - 35
Disaster Response Interop Geo-Services (OWS1.2 2002)
page - 36
Layer
Management
Gazetteer
Service
Navigation
functionality
Servers
e-Gov Application
page - 37
Plan
➢ Web Services
➢ Vision, Dreams & Challenges
➢ How does it works ? (Concepts)
➢ Standards in support of GI Web Services
➢ Applicable ISO/OGC standards
➢ WMS : Web Map Server
➢ WFS : Web Feature Server
➢ SLD, CPS, WMS as a presentation service for GML/Features, …
➢ Web Services & Spatial Data Infrastructure (SDI)
Examples
➢ More advanced vision, concept & products = Future-Proofness !
page - 38
Data Clearinghouse
Publish
MetadataFind
Data
Browse Result
ClearingHouse Network
Load
Data : Publish-Find-Load
NO BIND
page - 39
The Service vision
“ Publish-Find-Bind”on the web
• Promoting interoperability by minimizing
the requirements for shared understanding
• Enabling just-in-time integration
• Enabling interoperability of legacy
applications
page - 40
Services RegistryRegister both
data and services metadata
Registry interface
Registry
Service
metadata
Data
metadata
Service interface
Request Response
Data
Service
metadata
Data
metadata
1 2 3Data
Services
Metadata Registry
« Catalogs »
page - 41
Data Services CatalogMetadata
The Big Picture
GI access
Web ServicesService
Capabilities
Metadata
service
Data
Catalog DB
(Services
registry)
Catalog Services
(data)
metadata
1 2 3Data Services Metadata Registry
clientsclientsclients
catalog
client tools
metadata
client tools
service
client tools
WMS/WFS/WCS/WTS WRS
AP
I (A
pli
cati
on
s)
Cli
ents
En
gin
es +
Serv
ices
«Profiles»
WebServices
CatalogsServices
(www.askthespider.com)
Application Dev Toolkits
page - 42
18, Rue de Wallonie
4460 Grâce-Hollogne (Liège)
BELGIUM
Tél : +32/4/364.0.364
Fax : +32/4/253.47.37
Thank you