HD Maps From the Air, Part 2: Writing an Annotation Policy People Can Follow
The class list is the easy part. The policy is the hundred small decisions about where a line starts, what a polygon must not overlap and what to do when the camera cannot see.
1. A taxonomy in seven groups
Our specification for this project defines about seventy classes in seven groups: vehicles, lane markings, road-edge types, structures, vegetation, point furniture and pedestrians. Lane markings alone have around twenty types, including the different arrow variants.
Each class is tied to one geometry type. Poles are points placed at their base. Road axes and lanes are directed polylines. Markings, median strips and crosswalks are polygons. Boundaries are polylines named after the two surfaces on either side, such as road to sidewalk or sidewalk to non-sidewalk, so a line always says what it separates.
2. Topology rules
Neighbouring areas share vertices and edges: no gaps, no overlaps. Small objects such as manholes and poles sit on top of the areas around them rather than cutting holes in them. Gutters belong to the road side. Private ground such as car parks and campuses is excluded unless the requirements say otherwise.
These rules matter because the map is used by software, not people. A two-centimetre gap between a road polygon and a sidewalk polygon is invisible on screen and a real hole for a routing algorithm.
3. Saying what you are not sure of
Occluded parts are drawn where they can be inferred, and flagged as occluded. A separate uncertain flag is split four ways: classification, position, orientation and attribution, so a reviewer knows whether the doubt is about what the object is or where it is.
Annotators are asked to cross-check doubtful cases against street-level imagery before guessing. When they still cannot decide, the flag is the honest answer.
4. A policy is versioned
Guidelines change as the first batches come back. On a related traffic-area job the client's guideline went through several versions with a separate corrections document, and every batch was checked against the version it was drawn under.
We write our own specifications as numbered versions too, and translate them for the annotation team so nobody works from a paraphrase.