HD map

On this page 7

An HD map, or high-definition map, is a machine-readable road map with centimeter-level accuracy that describes lane geometry, road markings, traffic signs, signals and surrounding landmarks in three dimensions. In autonomous driving, it serves as a prior knowledge layer: the vehicle compares what its sensors see with the stored map to localize itself precisely and to understand the road beyond the range of its sensors.

Unlike navigation maps designed for people, an HD map is built for software consumption. It is a core element of many robotaxi and autonomous vehicle stacks, while some developers pursue mapless or light-map approaches that rely more heavily on real-time perception. The trade-off between these two philosophies is one of the defining debates in the field.

What an HD map contains

An HD map is usually organized as a stack of layers, each serving a different task in the driving software. The lower layers capture geometry, while the upper layers carry semantics such as lane connections, speed limits and right-of-way rules.

LayerContentMain use
Base geometryRoad surface and elevation, often from lidar point cloudsAccurate 3D reference
Localization layerLandmarks, poles, curbs, reflectivity patternsMatching sensor data to the map
Lane modelLane centerlines, boundaries, widths and connectivityPath planning and lane selection
Semantic layerSigns, signals, stop lines, crosswalks, speed limitsRule-compliant behavior
Dynamic layerConstruction zones, closures, temporary changesUp-to-date route decisions
Typical layers of an HD map

The defining property is relative accuracy, typically in the range of 5 to 20 centimeters, meaning that the distance between two features in the map matches reality closely. Absolute global accuracy matters less, because the vehicle localizes itself relative to nearby landmarks.

How HD maps are created and maintained

HD maps are traditionally produced by dedicated survey vehicles equipped with lidar, cameras, high-grade GNSS receivers and inertial measurement units. The raw data is fused into a precise point cloud, from which features are extracted, partly automatically and partly with human annotation and quality control.

The harder problem is maintenance. Roads change through construction, repainting and new signage, and a stale map can mislead the vehicle. Modern pipelines therefore use crowdsourced updates: production cars detect differences between the map and their sensor view and upload compact change reports, which are validated and merged into the map.

MethodStrengthWeakness
Survey fleet mappingVery high accuracy and consistencyExpensive and slow to scale
Crowdsourced fleet dataFrequent updates over wide areasLower accuracy per observation
Online map generationBuilt live by the car’s own perceptionLimited range and harder validation
Hybrid approachesCombine a light prior map with live perceptionMore complex software integration
Ways of building and updating HD maps

How vehicles use the map while driving

The first use is localization. GNSS alone typically provides meter-level accuracy, which is not sufficient to know which lane the car occupies. By matching lidar returns or camera features against the localization layer, the vehicle estimates its position to within about 10 centimeters.

The second use is perception support. The map tells the system where traffic lights should appear, so the camera can search a small region of the image, and it supplies lane connectivity at complex intersections where markings are missing or obscured. The third use is planning beyond sensor range, such as preparing for a lane drop or a sharp curve that is still hidden behind a hill.

HD maps also define the operational design domain, or ODD, in practice. Many robotaxi services operate only within areas that have been mapped and validated, which is one reason why their expansion to new cities takes time.

HD maps compared with other map types

Not every map used in vehicles is an HD map. The table compares the main types by accuracy, content and audience.

Map typeAccuracyTypical contentMain user
Standard navigation mapSeveral metersRoads, addresses, routing graphHuman driver
ADAS mapAbout 1 mCurvature, slopes, speed limitsDriver assistance functions
HD mapAbout 5-20 cmLane-level 3D geometry and semanticsAutonomous driving software
Online local mapVaries with sensorsLanes and objects near the vehicleEnd-to-end or mapless systems
Standard, enhanced and HD maps compared

Approaches such as end-to-end autonomous driving and bird’s-eye view perception aim to construct the necessary local map in real time from camera data. They scale more easily to new regions, but they lose the redundancy that an independently validated map provides.

Limitations and risks of HD maps

The main weakness of an HD map is the gap between the map and reality. A system that trusts the map too much may follow outdated lane lines through a construction zone, so robust stacks always treat the map as a prior that sensors can override.

  • High cost of initial mapping and continuous maintenance limits geographic scale.
  • Large data volumes require tiling, compression and efficient over-the-air delivery.
  • Format fragmentation persists, although standards such as NDS and OpenDRIVE improve exchange.
  • Security and integrity matter, because a manipulated map could mislead the vehicle.
  • Legal restrictions on high-precision surveying exist in some countries.

Explained without jargon

An HD map is a super-detailed map made for a computer, not for people. A normal phone map shows which roads exist. An HD map shows every lane, every painted line, every traffic light and every curb, accurate to roughly the width of a hand.

A self-driving car uses it a little like someone walking through their own home in the dark. Because they already know where everything is, a few familiar touches are enough to know exactly where they stand and what comes next. The car still has to watch for anything that has changed.

A typical use case

A robotaxi service prepares to launch in a new city district. Survey vehicles first drive every street several times to record lidar and camera data, and a mapping team builds an HD map with lane connections, signal positions and crosswalks for about 200 kilometers of roads.

During operation, a vehicle approaches a five-way intersection where faded markings make the lanes hard to see. Using the map, it knows which lane leads to its exit and where the relevant traffic light hangs. When a fleet vehicle later detects a new lane closure, it reports the change, and the map update reaches the other vehicles within hours, keeping the service safe and the map current.