cartae.app

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.

By François · 25 November 2026 · 7-minute read

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.

Bd des Batignolles · fake hole of -10.23 m Panoramax street photo of boulevard des Batignolles showing a flat roadway in front of the Lycée Chaptal
Rue de Bercy · fake bump of +8.41 m Panoramax street photo of rue de Bercy showing a flat roadway under the Gare de Lyon footbridges
Figure 1. Two field checks from Panoramax (25 November 2026). Left, boulevard des Batignolles in front of the Lycée Chaptal: the roadway is perfectly continuous over the SNCF slab, while the official DTM plunges by a measured -10.23 m. Right, rue de Bercy under the Gare de Lyon: the street is flat at 33.5 m, but our processing read the high neighbouring slabs and created a +8.41 m bump. Photos © Panoramax contributors.

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.

Quai Saint-Bernard · estimated red vs LiDAR green Map of quai Saint-Bernard comparing the 7,186 m of estimated hedges in red with the real LiDAR HD hedges in dark green
Meudon · real garden hedges in 3D 3D view of the residential hillside of Meudon in Twinz with the real hedges and shrubs from LiDAR HD
Figure 2. Left, on the tile of quai Saint-Bernard and the Tino-Rossi garden, the red lines show the 7,186 m of fake estimated hedges (notably all along the riverbank), against the real shrubs and hedges measured by LiDAR HD in green. Right, the gardens of Meudon in 3D after loading the offline catalogue (Chrome 1440 × 900, 25 November 2026). © IGN LiDAR HD · OpenStreetMap.

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