Course · ← 0004 Time and Mutation · 0006 Choosing the Stack →

Lesson 0005 · ~13 minutes

Publishing the Map

The service standards a donor RFP assumes you know — WMS, WFS, and the REST generation replacing them — plus the one coordinate mistake that silently moves every parcel you own.

Pictures or features

Almost every spatial requirement resolves to one of two questions, and OGC gave each its own standard.

WMS — rendered images

The distinction has procurement consequences. A requirement to publish cadastral parcels as WFS means anyone can download your parcel geometries in bulk; as WMS, they can only look. Across the EU, countries expose cadastral data exactly this way — WMS for view services, WFS for download services, under INSPIRE.1

The generation change

WFS is a decade-old design: verbose, XML/GML, awkward for browsers. OGC has re-expressed the same capability as a resource-oriented REST API built on JSON, GeoJSON and OpenAPI 3.0 — OGC API — Features. OGC states plainly that the functional capabilities of WFS are now available in this more modern API and that implementers are encouraged to use the newer standard.2

Current parts: Features — Part 1: Core, Part 2: Coordinate Reference Systems by Reference, Part 3: Filtering. ogcapi.ogc.org. There is a parallel OGC API — Maps modernising WMS.

OldNewServes
WMSOGC API — MapsRendered map images
WFSOGC API — FeaturesVector features, GeoJSON
WMTSOGC API — TilesPre-cut tile pyramids
How to answer this in a proposal

Do not pick a side. Say: OGC API — Features as the primary interface, with WFS/WMS retained for compatibility. That is the direction of travel — the EU's Joint Research Centre is modernising the INSPIRE stack around using standards "as is", and OGC API — Features has been adopted as an INSPIRE Good Practice.3 Meanwhile every existing government client on the continent still speaks WMS, and will for years.

The coordinate mistake

A CRS (coordinate reference system) defines how your numbers map to the earth. Each is identified by an EPSG code. Three you will meet constantly:

CodeWhatUse
EPSG:4326WGS 84, geographic — degreesInterchange, GPS, GeoJSON default
EPSG:3857Web Mercator — metres, wildly distorted at high latitudeWeb basemaps only
National grid
(e.g. a UTM zone)
Projected, metres, minimal local distortionCadastral storage, area, distance

Two rules that prevent most of the pain. Never compute area or distance in degrees — a degree of longitude is not a fixed length, so 4326 area figures are meaningless; project to the national grid first. And never store cadastral geometry in Web Mercator; it is a display projection, not a measurement one.

One more trap worth knowing before it costs you a day: axis order. EPSG:4326 is formally latitude-then-longitude, while GeoJSON and most web tooling use longitude-then-latitude. Different libraries resolve this differently. If your data lands neatly in the sea off West Africa at (0,0)-ish, or coordinates look transposed, this is usually why.


Drill 1 — WMS or WFS?

Drill 2 — Recall


Your primary source

The OGC API landing page — the family, current parts, and which legacy standard each replaces:
ogcapi.ogc.org

Then skim "INSPIRE and OGC APIs — Modernizing INSPIRE" for the institutional argument you can reuse almost verbatim in a proposal.

Ask your teacher. Useful next: "how do I serve PostGIS through OGC API — Features?", "how should I version a public parcel API?", "what should NOT be exposed on a public feature service?" — that last one matters, because parcels plus owner names is personal data.