ArticleslgStudy

science

Web Feature Service

Web Feature Service is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Web Feature Service rather than just read about it. In short: In computing, the Open Geospatial Consortium Web Feature Service (WFS) Interface Standard 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 tiled mapping portals like Google Maps return only an image, which end-users cannot edit or spatially an…

Web Feature Service — main illustration
Web Feature Service — illustration

Key takeaways

  • Web Feature Service belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Web Feature Service to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Web Feature Service from memory before moving on to harder problems.

Reference excerpt

In computing, the Open Geospatial Consortium Web Feature Service (WFS) Interface Standard 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 tiled mapping portals like Google Maps return only an image, which end-users cannot edit or spatially analyze. The XML-based Geography Markup Language (GML) furnishes the default payload-encoding for transporting 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. This profile is designed both to 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. Numerous commercial and open-source implementations of the WFS interface standard exist, including the open-source reference implementations GeoServer and deegree. The OGC Implementing Products page provides a comprehensive list of WFS implementations.

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, or SOAP) Key/value pairs (encoded in HTTP GET query strings, to perform remote procedure calls) 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: Oracle Technology Network for Java Developers | Oracle Technology Network | Oracle) 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

Data passed between a Web Feature Server and a client is encoded with Geography Markup Language (GML), 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.0 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

Static 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 interface updates The client gets updates by one of two mechanisms:

Notification: Recommended but not mandatory. Depends on the availability of a WNS implementation. Polling: Use this method if a WNS 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.

See also Open Source Geospatial Foundation Web Coverage Service (WCS) Web Coverage Processing Service (WCPS) Web Map Service (WMS)

External links OpenGIS Web Feature Service (WFS) Implementation Specification Filter Encoding Specification GeoServer Open Source Reference Implementation deegree Open Source Geospatial Web Services WFS 2.0 Client – Plugin for QGIS (english) WNS: Draft OpenGIS Web Notification Service Implementation Specification

References

Illustrations

Web Feature Service: Overview of 3 OGC web services, with the various possible requests of WFS.
Overview of 3 OGC web services, with the various possible requests of WFS.

Worked examples

Example 1 — a first encounter with Web Feature Service

Start with the simplest possible case. Write down what Web Feature Service claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Web Feature Service before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Web Feature Service ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Web Feature Service

In research
Web Feature Service appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Web Feature Service in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Web Feature Service is common in secondary-school and first-year university syllabi. It links to neighbouring topics ISO/TC 211, Open Geospatial Consortium, Web Map Services, so understanding it makes those chapters shorter.
In everyday life
Look for Web Feature Service outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Web Feature Service” →

How to study Web Feature Service in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Web Feature Service means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Web Feature Service out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Web Feature Service in simple terms?

In computing, the Open Geospatial Consortium Web Feature Service (WFS) Interface Standard 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 inte…

Why does Web Feature Service matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Web Feature Service?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Web Feature Service.

Tags

  • ISO/TC 211
  • Open Geospatial Consortium
  • Web Map Services

Keep exploring