Gerben Put Nederlands

← Back to the overview

Stekkerkaart

Every public charge point in the Netherlands on one map, with live status, price and a charging plan for your route

Stekkerkaart shows every public charge point in the Netherlands: around 80,000 locations with 200,000 charge points. For each point you see whether it is free, busy or broken, its power and plugs, and what your charging session costs without a subscription, following the real tariff rules. For a trip it plans charging stops and warns you when your stop fills up. The data comes from the NDW, which has published all charge points openly since the European AFIR rules, refreshed every minute.

  • Node.js
  • PostgreSQL
  • MapLibre
  • OpenFreeMap
  • OSRM
  • PDOK
  • Docker
Stekkerkaart: Screenshot of the live site
Scroll: this is the real site

The story

  1. 01

    The idea

    There are plenty of charging maps, but hardly any work out what charging really costs or show how often a point is broken. Since the AFIR rules the NDW publishes every charge point with status and price as open data, which made a map of my own feasible.

  2. 02

    The design

    A businesslike data map: cool dark grey with a single blue accent, one typeface with numbers that line up neatly, and green, orange and red only for free, busy and broken. On a phone, search, filters and details become a bottom sheet.

  3. 03

    Under the hood

    Every five minutes a Node server fetches the 200 MB file, reads it in chunks and stores only the status changes and every tariff version in PostgreSQL. The map receives every location as one compressed block of about 1 MB. The browser works out charging costs minute by minute following the OCPI tariff rules; routes come from OpenStreetMap's OSRM server.

In detail

Live status
Free, busy or broken for every charge point, and since when; the map refreshes itself every minute.
What your session costs
Pick your car or enter it yourself: cost and charging time per point, including tiers, time and idle fees. Compare up to three locations side by side.
Charging plan
From A to B with your battery at departure: suggested charging stops by price or time, arrival % and a Google Maps link with the stops.
Filters and list
Free, fast charging, plug, power, price, operator and 24/7; also as a list by distance, price or number free.
Help improve
Visitors report a broken point or leave feedback; it lands on an admin page where I deal with it.
Per town
A page per town with the cheapest fast chargers and charge points, so Google can find the site.
Next project Codelab Learn programming by writing code yourself