Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
โ† Certified GeoServer/KoboToolbox User Level Three ยท Lesson 5 of 12

Module Four

๐Ÿ“– Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
5
Module 4: OGC Services Mastery (WMS / WFS / WCS / WPS)
Level Three ยท Module 4

OGC Services Mastery (WMS / WFS / WCS / WPS)

Master the four core OGC services in GeoServer: map rendering with WMS, feature access and transactions with WFS, coverage access with WCS, and processing workflows with WPS.

Duration: 6 hours Format: Theory + Hands-on Lab Prerequisites: Modules 1โ€“3

Module Overview

The Open Geospatial Consortium (OGC) defines standards that enable interoperable access to geospatial data. GeoServer implements four core OGC services: WMS for map rendering, WFS for vector feature access and editing, WCS for raster coverage access, and WPS for geospatial processing workflows.

This module equips learners with the ability to configure, query, and troubleshoot each service, understand request/response patterns, use filters and vendor options, perform WFS-T editing, chain WPS processes, and select appropriate output formats for different clients.

Learning Objectives

  • Explain the purpose and request model of WMS, WFS, WCS, and WPS.
  • Construct valid GetCapabilities, GetMap, GetFeature, and GetCoverage requests.
  • Use CQL/ECQL filters to query WFS features precisely.
  • Perform WFS-T transactional editing (insert, update, delete).
  • Execute WPS processes and chain them into workflows.
  • Select appropriate output formats such as GeoJSON, KML, GML, and shapefile.
  • Diagnose and troubleshoot common OGC service errors.

Topics Covered

4.1 WMS: Map Rendering

  • GetCapabilities and GetMap
  • GetFeatureInfo for attributes
  • Vendor options and parameters
  • Styling integration

4.2 WFS: Feature Access

  • GetFeature and DescribeFeatureType
  • CQL and ECQL filters
  • Paging and sorting
  • Output formats

4.3 WFS-T: Transactions

  • Insert, update, delete operations
  • Transaction request structure
  • Locking and concurrency
  • Security considerations

4.4 WCS: Coverages

  • GetCoverage requests
  • Spatial and band subsetting
  • Format negotiation
  • CRS and resolution handling

4.5 WPS: Processing

  • Process description and execution
  • Chaining processes
  • Inputs and outputs
  • Asynchronous execution

4.6 Output Formats

  • GeoJSON and KML
  • GML and shapefile
  • Choosing formats by use case
  • Client compatibility

Detailed Content

4.1 WMS: Map Rendering

Web Map Service (WMS) renders spatial data as map images. Clients request map images for a bounding box and layer set. WMS is ideal for visualization but does not return raw feature data.

  • GetCapabilities: Discover available layers, styles, and operations.
  • GetMap: Request a rendered map image for a bounding box and layer set.
  • GetFeatureInfo: Retrieve attribute info for a location in the rendered map.
  • Vendor options: Control rendering behavior such as antialiasing or label placement.
# Example WMS GetMap request
/geoserver/wms?
  service=WMS&
  version=1.3.0&
  request=GetMap&
  layers=workspace:roads&
  bbox=-10,40,10,60&
  width=800&
  height=600&
  srs=EPSG:4326&
  format=image/png
Best practice Use WMS for visualization and WFS for data access. Avoid using WMS for feature-level analysis, which is better served by WFS.

4.2 WFS: Feature Access

Web Feature Service (WFS) returns raw vector features in formats such as GeoJSON, GML, and shapefile. WFS is essential for analysis, data integration, and editing workflows.

  • GetFeature: Retrieve features matching a filter.
  • DescribeFeatureType: Retrieve the schema of a feature type.
  • Filters: Use CQL or ECQL to filter features by attributes and geometry.
  • Paging and sorting: Use startIndex and count for paging, and sortBy for ordering.
# Example WFS GetFeature request with CQL filter
/geoserver/wfs?
  service=WFS&
  version=2.0.0&
  request=GetFeature&
  typeName=workspace:roads&
  outputFormat=application/json&
  CQL_FILTER=type='highway' AND lanes > 2
Filter TypeExampleUse Case
Comparisonlanes > 2Numeric filtering
Equalitytype = 'highway'Category filtering
Logicaltype = 'road' AND lanes > 2Combined conditions
SpatialINTERSECTS(geom, POINT(10 45))Spatial filtering

4.3 WFS-T: Transactions

WFS-T extends WFS to support transactional editing. Clients can insert, update, and delete features directly via WFS requests, enabling web-based editing workflows.

  • Insert: Add new features to a feature type.
  • Update: Modify attributes of existing features.
  • Delete: Remove features matching a filter.
  • Locking: Use GetFeatureWithLock to manage concurrency.
<wfs:Transaction service="WFS" version="2.0.0">
  <wfs:Insert>
    <workspace:roads>
      <workspace:name>New Road</workspace:name>
      <workspace:type>highway</workspace:type>
    </workspace:roads>
  </wfs:Insert>
</wfs:Transaction>
Warning WFS-T enables write access to data. Protect transaction endpoints with authentication and role-based access to prevent unauthorized edits.

4.4 WCS: Coverages

Web Coverage Service (WCS) provides access to raster coverages. Unlike WMS, which returns rendered images, WCS returns raw raster data suitable for analysis.

  • GetCoverage: Request raster data for a bounding box and coverage.
  • Subsetting: Limit data by spatial extent, band, or time.
  • Format negotiation: Request formats such as GeoTIFF or NetCDF.
  • CRS and resolution: Specify output CRS and resolution.
# Example WCS GetCoverage request
/geoserver/wcs?
  service=WCS&
  version=2.0.1&
  request=GetCoverage&
  coverageId=workspace:elevation&
  subset=Lat(40,50)&subset=Long(-10,10)&
  format=image/tiff

4.5 WPS: Processing

Web Processing Service (WPS) enables execution of geospatial processes such as buffering, interpolation, and raster analysis. Processes can be chained to form complex workflows.

  • DescribeProcess: Retrieve process inputs, outputs, and metadata.
  • Execute: Run a process with specified inputs.
  • Chaining: Use outputs of one process as inputs to another.
  • Asynchronous execution: Monitor long-running processes.
OperationPurposeExample
GetCapabilitiesList available processesDiscover buffer, clip, interpolate
DescribeProcessDescribe a processInput/output definitions
ExecuteRun a processBuffer a geometry

4.6 Output Formats

Choosing the right output format improves compatibility and performance. GeoServer supports many formats across WMS, WFS, and WCS.

FormatUse CaseService
GeoJSONWeb applicationsWFS
KMLGoogle EarthWMS, WFS
GMLOGC interoperabilityWFS
ShapefileDesktop GISWFS
GeoTIFFRaster analysisWCS
Best practice Use GeoJSON for web clients, KML for visualization in Earth browsers, and GML/shapefile for desktop GIS integration. Test format compatibility with the target client before deployment.

Hands-On Lab: Perform WFS-T Editing and WPS Processing Chains

In this lab, you will query features with CQL filters, edit features via WFS-T, and build a WPS processing chain to buffer and export results.

Lab Steps

  1. Issue a WFS GetCapabilities request and identify available feature types in your workspace.
  2. Retrieve features using GetFeature with a CQL filter (e.g., type='highway') and GeoJSON output.
  3. Perform a WFS-T insert to add a new feature, then verify it via a GetFeature request.
  4. Update an attribute via WFS-T, and then delete a feature matching a filter.
  5. Configure a WPS process (e.g., buffer) and execute it with a geometry input.
  6. Chain two WPS processes (e.g., buffer then clip) and export the result as GeoJSON.
  7. Test WMS GetFeatureInfo to retrieve attributes from a rendered map.
  8. Document any errors encountered and the steps taken to resolve them.
Deliverable: A working set of WFS/WFS-T/WPS requests demonstrating queries, inserts, updates, deletes, and chained processing. Include a short report describing request construction, output formats, and troubleshooting notes.

Suggested Session Timeline (6 Hours)

  • 0:00 โ€“ 0:45 โ€” WMS fundamentals and GetMap/GetFeatureInfo
  • 0:45 โ€“ 1:30 โ€” WFS fundamentals and filtering
  • 1:30 โ€“ 2:15 โ€” WFS-T transactions and security
  • 2:15 โ€“ 2:30 โ€” Break
  • 2:30 โ€“ 3:15 โ€” WCS coverages and subsetting
  • 3:15 โ€“ 4:00 โ€” WPS processing and chaining
  • 4:00 โ€“ 5:30 โ€” Hands-on lab
  • 5:30 โ€“ 6:00 โ€” Review, Q&A, and lab debrief

Assessment

CriteriaWeight
WMS request construction and GetFeatureInfo15%
WFS queries and CQL filters20%
WFS-T transactional operations25%
WCS coverage retrieval15%
WPS process chaining15%
Troubleshooting report10%

Pass mark for this module: 70%

Resources

  • GeoServer User Manual โ€” WMS, WFS, WCS, WPS reference
  • OGC WMS, WFS, WCS, WPS specifications
  • CQL/ECQL filter documentation
  • Sample vector and raster datasets
  • Postman/curl collections for request testing
© 2026 Certified GeoServer/KoboToolbox User โ€” Level Three ยท Module 4: OGC Services Mastery (WMS / WFS / WCS / WPS)

๐Ÿ† Get Certified

๐Ÿ”’

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (โ‚ฆ2,000 or 20,000 coins), and get a verified certificate with your name on it.

๐ŸŽ“ Sign Up to Get Certified
๐Ÿ› ๏ธ Practice Tools
Hands-on simulators & labs - subscription required.
โ†’
๐ŸŽฏ Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
โ†’