<< All versions

Skill v1.0.0

currentAutomated scan100/100
kendrick-oppong/geoskills/ogc-services-and-interop
──Details
PublishedOctober 25, 2026 at 12:20 PM
Content Hashsha256:dc1a2e7ded447455...
Git SHAfe4762133b94
──Files
Files (1 file, 4.6 KB)
SKILL.md4.6 KBactive
SKILL.md · 61 lines · 4.6 KB

version: "1.0.0" name: ogc-services-and-interop description: Use when integrating with or exposing OGC standard services — WMS, WMTS, WFS, and the modern OGC API (Features/Tiles/Maps) — including GeoServer/MapServer interop and choosing between legacy XML-based OGC services and modern JSON/REST OGC APIs.


OGC Services & Interoperability

When to use this skill

  • Consuming or exposing WMS/WMTS/WFS endpoints, often from GeoServer, MapServer, or government/enterprise GIS data portals
  • "The client's GIS team can only give us a WMS" / integrating with legacy enterprise GIS
  • Deciding whether to build a new service as legacy OGC (WMS/WFS) or the modern OGC API family

Service type reference

ServiceReturnsUse for
WMS (Web Map Service)Rendered raster image (PNG/JPEG) per requestDisplaying a styled map layer you don't need to query/edit — "just show it"
WMTS (Web Map Tile Service)Pre-rendered raster image tiles on a fixed gridCacheable, high-performance raster tile delivery — the tiled counterpart to WMS
WFS (Web Feature Service)Raw vector features (GML/GeoJSON) with attributesNeed the actual geometry/attributes client-side — querying, filtering, or downloading features
OGC API - FeaturesSame as WFS conceptually, but modern JSON/REST/OpenAPI interfaceThe modern replacement for WFS — prefer for any new integration when the provider supports it
OGC API - TilesModern tile access (vector or raster)Replacement for WMTS in modern deployments
OGC API - MapsModern replacement for WMS-style rendered map images—

Default guidance: for any new system, prefer the OGC API family (JSON, REST, OpenAPI-documented) over legacy WMS/WFS/WMTS (XML, SOAP-like GetCapabilities/GetMap query parameters) when the data provider supports both — far easier to integrate with a modern TypeScript/JS stack. Legacy WMS/WFS remain necessary when integrating with older enterprise GIS (many government/utility data portals still only expose legacy OGC services).

Checklist

  • [ ] Confirm which service versions are actually supported (GetCapabilities request) before assuming a specific WMS/WFS version's parameter conventions — versions 1.0 vs 1.1 vs 1.3 differ in axis order and parameter names
  • [ ] WMS 1.3.0 axis order gotcha: CRS=EPSG:4326 in WMS 1.3.0 uses (lat, lon) bbox order, while WMS 1.1.1 SRS=EPSG:4326 uses (lon, lat) — this is a frequent silent-bug source when switching versions
  • [ ] For WFS/OGC API Features, is pagination handled (startIndex/count or limit/offset) rather than assuming all features return in one response?
  • [ ] Is a WMTS/tile-based approach used instead of repeated WMS GetMap calls when the same rendered layer is requested repeatedly — WMTS's fixed tile grid is cacheable, individual WMS bbox requests are not
  • [ ] When exposing your own OGC-compliant service, is a GetCapabilities/OpenAPI document accurate and kept in sync with the actual data schema?
  • [ ] Is authentication handled correctly for the OGC service (some legacy WMS/WFS servers use basic auth or API keys in ways that don't map cleanly onto typical REST client patterns)?

Common pitfalls

  • WMS axis-order confusion between versions: silently swapped bbox coordinates producing an empty or wrong-region image — always verify against the specific version in use, not general assumption.
  • Repeatedly hitting WMS `GetMap` for a fixed zoom/pan grid: no caching benefit versus WMTS, which uses a predictable tile grid that CDNs/browsers can cache.
  • Assuming full WFS feature sets fit in one response: large datasets get silently truncated by server-side limits unless pagination is explicitly handled.
  • Treating GeoServer/MapServer's default styling as final: legacy WMS styling (SLD) is often adequate for a quick integration but insufficient for a polished product UI — consider fetching raw features via WFS/OGC API Features and styling client-side (MapLibre) instead when visual quality matters.

Reference snippets

# WMS 1.3.0 GetMap example (note CRS axis order: lat,lon for EPSG:4326 in 1.3.0)
GET /geoserver/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap
&LAYERS=my_layer&CRS=EPSG:4326&BBOX=5.5,-0.3,5.9,0.1&WIDTH=512&HEIGHT=512&FORMAT=image/png
# OGC API - Features: modern JSON/REST equivalent of WFS
GET /collections/buildings/items?bbox=-0.3,5.5,0.1,5.9&limit=1000

Related skills

  • geospatial-api-design — designing your own modern API rather than exposing legacy OGC services
  • vector-tile-pipeline — modern tile alternative to WMTS
All versions