Twinz notebook · Article 4
When the real street corrects the official terrain: Panoramax and offline LiDAR HD hedges
Twinz (twinzcities.com) rebuilds Paris and Île-de-France (paris.twinzcities.com) solely from open public data, as told in the story of how the project began. But official maps have their holes, their bumps and their omissions. An audit of 1,577 km of roads checked against Panoramax photos prevented a misstep with the 1 m terrain model, while IGN's airborne laser revealed 241,876 real hedges, computed once and offline.
A stubborn myth: official data ready to use
When you build a 3D city from public reference data, it is tempting to believe that a finer resolution fixes every defect. The Twinz terrain base already covers all of Île-de-France at a 4 m grid spacing (766.6 million unique vertices, 65.62% of which come from the LiDAR HD high-density airborne laser survey programme of the French national institute of geographic and forest information, IGN). At the end of November, we wanted to move Paris to a 1 m grid to get even sharper riverbanks and streets.
Before switching on that finer detail across the whole capital, we audited the longitudinal profile of Paris's 1,577.21 km of ground-level roadways (485 tiles, 16,605 road sections and 804,929 points measured every 2 m). The goal was simple: count the fake holes and fake bumps, then check on real street photos which ones belonged to the real terrain and which ones were errors.
594 anomalies in the raw terrain, and 180 created by our own processing
On the digital terrain model (DTM, the altitude grid of bare ground) at 4 m, the detector found 594 abnormal sites with a local hole or bump of at least 70 cm or a slope greater than 12%, 280 of them on major and medium roads. The causes fall into very clear families: 178 undeclared road bridges or outlier points, 158 approaches to underpasses and tunnels, 112 edges of embankments or railway cuttings, 110 passages under viaducts whose deck remains stuck in the terrain, and only 36 genuine regular hills (Montmartre, Belleville, Ménilmontant).
The nasty surprise came from our own roadway-smoothing code. When we measured the road after our draping step, the total number of anomalies did not go down: it climbed from 594 to 681 measured sites, that is +14.6% (calculated). The processing did remove 115 real dips, but it manufactured 180 new fake artefacts on streets that were perfectly flat in the original terrain.
The cause was a neighbourhood flaw: to spot a hole, the processing probed the ground around the point without checking that its support points stayed on the roadway. As soon as a flat street ran between two high embankments or two raised slabs, the program took the street for a dip and raised it abruptly by several metres. Worse: on the 6 pilot tiles run through 1 m LiDAR HD, the raw terrain cut embankment-edge noise by a calculated 40% (10 raw sites brought down to 6), but our faulty draping reacted even more violently to the sharper edges (22 anomalies after processing at 4 m, 28 at 1 m). Rolling out 1 m without first fixing this behaviour would have made Paris worse.
What 13 Panoramax photos settled in one morning
So as not to assume anything from abstract curves, we compared the major cases with 13 field photographs from Panoramax, the digital commons of free street-level imagery backed by IGN and OpenStreetMap France. In a few minutes, the photo settles what no figure alone can guess.
The same checks confirmed other specific families. On rue Didot (fake hole of -7.64 m) and avenue Corentin-Cariou (-6.33 m), the terrain plunges into the Petite Ceinture railway or the canal under an untagged road bridge. On quai André-Citroën (+7.67 m) and boulevard Auguste-Blanqui under the metro line 6 viaduct (+5.64 m at 4 m, worsening to +6.49 m at 1 m), it is the metal deck that remains stuck to the bare ground. And to check that future fixes don't flatten real hills, we kept a photo control: rue de Savies in Belleville, a genuine cobbled hill with a measured 18.0% slope, but only 0.10 m of local deviation.
The decision was therefore clear: suspend the rollout of 1 m until the processing is strictly constrained to the longitudinal axis of the roadway and able to shave off a viaduct deck without touching a regular hill.
241,876 real hedges computed once, offline
The airborne laser survey also serves to correct what we had had to estimate for lack of anything better. Until this week, the browser drew automatic hedges along the edges of parks and lawns. Comparing that layout with Panoramax photos on two pilot tiles, the gap was obvious: on quai Saint-Bernard, our rule laid 7,186 m of fake hedges (219 KB in memory) along a completely open stone quay. In Meudon, in a residential area, it drew none of the real hedges lining the private gardens.
Rather than sending heavy laser point clouds to the browser, the computation is done once, offline, on a server. We cross two public IGN layers at 0.5 m resolution (Licence Ouverte Etalab 2.0): height above ground and vegetation classification, supplemented by the hedges already mapped in OpenStreetMap (essential when a hedge grows under a row of tall trees). The cross-check removes cars, benches, walls and buildings at the source, then compresses the result into simple polylines and lightweight shrubs.
The full catalogue produced over 1,170 tiles gathers 241,876 hedges and 200,107 shrub clumps for a total weight of 11.96 MiB gzip-compressed (about 10.5 KiB per tile in the manifest, and a measured average of 6.06 KiB per network response on the Chrome bench). The browser never downloads a single raw LiDAR tile, and video memory stays capped at a measured 461.3 MiB peak with zero WebGL errors.
Summary of the two field checks (25 November 2026)
| Topic | Scope audited | Measured result |
|---|---|---|
| Roadway terrain | 1,577.21 km in Paris (485 tiles) + 13 Panoramax photos | 594 raw anomalies (4 m), 681 after the old draping (+180 fake artefacts) |
| 1 m LiDAR pilot | 6 matched Paris tiles (16.35 km of roads) | Raw: 10 brought down to 6 (-40%, calculated); blocked until the draping is fixed |
| LiDAR HD hedges | Offline catalogue of 1,170 tiles (IGN + OSM) | 241,876 hedges and 200,107 shrub clumps in 11.96 MiB gzip (6.06 KiB/response on the bench) |
Credits for the public data used: IGN (LiDAR HD canopy height model and classification, Licence Ouverte Etalab 2.0), OpenStreetMap (ODbL) and Panoramax contributors.
The limits that remain open
- A hedge growing entirely under the canopy of a row of tall trees stays hidden by the first laser return; it only appears if OpenStreetMap contributors have mapped it.
- The visual checks in Chrome cover a sample of tiles (Jussieu, Trocadéro, Meudon) and still spotted a few small volumes encroaching on a footpath; they do not replace an exhaustive review of the 1,170 tiles.
- The generic rules for cleaning roadways under viaducts and on untagged slabs must still be validated across all of Paris before the 1 m terrain can be switched on everywhere.