Back to Insights Hub
HD MAPPINGReading Time: 6 Min

HD Maps From the Air, Part 5: From Pixels to Map: Georeferencing and Topology

An annotation tool knows pixels. A map knows coordinates. Everything between the two is conversion, and every conversion is a chance to break the topology.

1. Image space to world space

Much of the drawing happens in CVAT on image tiles. Our converter reads its XML, with polygons, polylines, points, rotated boxes, attributes and occlusion flags, and writes GeoJSON in world coordinates using each tile's geotransform. It can also write image-space GeoJSON, which is handy for checking a tile in isolation.

Other parts of the work happen directly in QGIS on georeferenced layers, with shared styles so every annotator sees the same symbols for the same classes.

2. Clean-up that software needs

Converted layers go through topology tools: dangling line ends are snapped or removed, exploded multi-part geometries are split, holes are cut where an inner object should not be covered, and duplicates are removed.

Lane areas are derived rather than drawn: our tool buffers each lane axis to its lane width, splits the overlaps between neighbouring buffers and matches every lane polygon back to its axis, so lanes and axes always agree.

3. Class names you can trust

Free-text class fields drift: a typo in a class name silently creates a new class. Our tools translate and normalise class names at conversion time, so a typo shows up as an unknown class in our own checks instead of in a delivery review.

TRY THIS ARCHITECTURE LIVE
Test the matching sandbox right now.