Web Feature Service

Web Feature Service

The Open Geospatial Consortium Web Feature Service Interface Standard (WFS) provides an interface allowing requests for geographical features across the web using platform-independent calls. One can think of geographical features as the "source code" behind a map, whereas the WMS interface or online mapping portals like Google Maps return only an image, which end-users cannot edit or spatially analyze. The XML-based GML furnishes the default payload-encoding for transporting the geographic features, but other formats like shapefiles can also serve for transport. In early 2006, the OGC members approved the OpenGIS GML Simple Features Profile [http://portal.opengeospatial.org/files/?artifact_id=15201] . This profile is designed to both increase interoperability between WFS servers and to improve the ease of implementation of the WFS standard.

The OGC membership defined and maintains the WFS specification. There are numerous commercial and open source implementations of the WFS interface standard, including an open source reference implementation, called GeoServer. A comprehensive list of WFS implementations can be found at the OGC Implementing Products page [http://www.opengeospatial.org/resource/products/implementing] .

Overview

The WFS specification defines interfaces for describing data manipulation operations of geographic features. Data manipulation operations include the ability to:

*Get or Query features based on spatial and non-spatial constraints
*Create a new feature instance
*Delete a feature instance
*Update a feature instance

The basic Web Feature Service allows querying and retrieval of features. A transactional Web Feature Service (WFS-T) allows creation, deletion, and updating of features.

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.

There are two encodings defined for WFS operations:
*XML (amenable to HTTP POST/SOAP)
*Keyword-Value pairs (amenable to HTTP GET/Remote procedure call)

In the taxonomy of Web Services, WFS is best categorized as a non-RESTful RPC type service.

Communication models

The WFS Web Feature Services or Web Feature Server specification supports two communication models:
*Stateless Request Reply
*Pub/Sub::A messaging system in which clients address messages to a specific node in a content hierarchy, called a topic. Publishers and subscribers are generally anonymous and can dynamically publish or subscribe to the content hierarchy. The system takes care of distributing the messages arriving from a node's multiple publishers to its multiple subscribers. Messages are generally not persistent and will only be received by subscribers who are listening at the time the message is sent. A special case known as a “durable subscription” allows subscribers to receive messages sent while the subscribers are not active. (Source: http://java.sun.com/j2ee/1.4/docs/glossary.html)

The Web Notification Service (WNS) is one of the implementation specifications for the Pub/Sub model. Regardless of the model, URL format is used and specified in the WFS specification. At this time there are no open-standard implementations of WNSs. Vendors plan to release implementations once the standard has been ratified.

Data

The Geography Markup Language (GML) passes data back and forth between a Web Feature Server and a client. GML normally communicates geospatial data, but also supports other types of data.

GML

GML is an XML dialect which can be used to model geographic features. The 1.0.0 version of the WFS specification requires the use of GML version 2.1.2, while the 1.1.0 version of the WFS specification requires the use of GML version 3.1.1. For both versions of the WFS specification, an arbitrary number of other encodings can also be defined, in addition to the required GML 2.1.2 or 3.1.1 format (for 1.0.0 and 1.1.1 respectively).

GML 2.1.2 contains encoding support for basic geometric 'primitives': points, lines, polygons, etc.

GML 3.1.1 contains encoding support for more advanced geometric representations: curves, surfaces, multi-dimensions (time, elevation, multi-band imagery). In addition, GML 3.1.1 includes encoding support for topologically integrated datasets.

Public Interfaces

tatic Interfaces

The static interface model for the OGC Web Service model appears in the figure below.

The Transaction and LockFeature operations are also optional.

When writing a WFS , you must implement the following operations:
*GetCapabilities - this queries the WFS service to determine available options.
*DescribeFeatureType - this retrieves the XML schema to allow the WFS client to parse the resultsets.
*GetFeature - this performs the actual query - parameters such as bounding box and any other filters should be passed in, as appropriate, and the WFS service then returns a GML resultset containing full geometry and feature attributes.

Dynamic interfaces

The dynamic request/reply interface model for the OGC Web Service model appears in the figure below.

Dynamic interface updates

The client gets updates by one of two mechanisms:
*Notification: Recommended but not mandatory. Depends on the availability of a WMS implementation.
*Polling: Use this method if a WMS implementation is not available.

WFS dynamic interface web notification model

This model uses the OGC Web Notification Service to send update notifications to registered clients. The Notification interface appears in the figure below.

WFS dynamic interface web notification polling model

The polling model interface appears in the figure below.

External links

* [http://www.opengeospatial.org/standards/wfs "OpenGIS Web Feature Service (WFS) Implementation Specification"]
* [http://portal.opengeospatial.org/files/?artifact_id=8340 "Filter Encoding Specification"]
* [http://geoserver.org "GeoServer Open Source Reference Implementation"]
* [http://portal.opengeospatial.org/files/?artifact_id=18776 "WNS: Draft OpenGIS Web Notification Service Implementation Specification"]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Web Feature Service — ou WFS est un protocole décrit dans des spécifications maintenues par l Open Geospatial Consortium. Le service WFS permet, au moyen d une URL formatée, d interroger des serveurs cartographiques afin de manipuler des objets géographiques (lignes,… …   Wikipédia en Français

  • Web Feature Service — o WFS del Consorcio Open Geospatial Consortium o OGC es un servicio estándar, que ofrece una interfaz de comunicación que permite interactuar con los mapas servidos por el estándar WMS, como por ejemplo, editar la imagen que nos ofrece el… …   Wikipedia Español

  • Web Feature Service — Unter einem Web Feature Service (WFS) versteht man den internetgestützten Zugriff auf Geodaten innerhalb eines verteilten GIS. Der WFS beschränkt sich dabei ausschließlich auf Vektordaten, wie sie in Datenbanken abgelegt werden können. Im Rahmen… …   Deutsch Wikipedia

  • Web Map Service — Ein Web Map Service (WMS) ist eine Schnittstelle zum Abrufen von Auszügen aus Landkarten über das World Wide Web. Der WMS ist ein Spezialfall eines Web Services. Inhaltsverzeichnis 1 Die WMS Implementation Specifications 2 Technischer Hintergrund …   Deutsch Wikipedia

  • Web Mapping Service — Ein Web Map Service (WMS) ist eine Schnittstelle zum Abrufen von Auszügen aus Landkarten über das World Wide Web. Eine solche Schnittstelle kann allgemein auch als Web Service bezeichnet werden. Inhaltsverzeichnis 1 Die WMS Implementation… …   Deutsch Wikipedia

  • Web Coverage Service — Übersicht von drei OGC Webservices mit den verschiedenen Request Möglichkeiten von WCS Der Web Coverage Service (WCS) ist ein Standard des Open Geospatial Consortiums (OGC) für Geodienste. Der Web Coverage Service 1.0.0 normiert den Zugriff auf… …   Deutsch Wikipedia

  • Web Processing Service — Ein Web Processing Service (WPS) ist ein Mechanismus, um über das Internet eine räumliche Analyse von Geodaten durchzuführen. 2007 wurde vom Open Geospatial Consortium (OGC) die Version 1.0.0 des WPS Standards definiert. Er legt fest, in welcher… …   Deutsch Wikipedia

  • Web Map Service — An Open Geospatial Consortium Web Map Service (WMS) produces maps of spatially referenced data dynamically from geographic information. This international standard defines a map to be a portrayal of geographic information as a digital image file… …   Wikipedia

  • Web Coverage Service — La interfaz estándar Web Coverage Service (WCS) o Servicio de Cobertura Web de Open Geospatial Consortium proporciona una interfaz que permite realizar peticiones de cobertura geográfica a través de la web utilizando llamadas independientes de la …   Wikipedia Español

  • Web Processing Service — The OGC Web Processing Service (WPS) is designed to standardize the way that GIS calculations are made available to the Internet. WPS can describe any calculation (i.e. process) including all of its inputs and outputs, and trigger its execution… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”