Showcase / Surveying

Laser-Scanned City

Explore a 3D point cloud of central Cologne, Germany, generated from an airborne LiDAR survey. The viewer renders approximately 9.4 million points with adjustable levels of detail.

The application's own scripted flight, from a view of Europe down to one square kilometer of Cologne. The basemap gives way to 9,439,758 laser points, the camera tilts to 62 degrees over the cathedral, and the flight ends on the Hohenzollern Bridge. The panel names whatever it has just flown to.

A laser scanner records that something reflected a pulse at a bearing and a range, nine and a half million times over one square kilometer, and the result is a list of positions showing where the surfaces were on the morning the aircraft flew.

This square kilometer is central Cologne, surveyed by the state of North Rhine-Westphalia. Both halves of it are open data under Germany's zero license: the geometry is one tile of their airborne laser survey, and the color is their 10 cm aerial photograph of exactly the same ground, so each point is given the color of the pixel it sits under. 9,439,758 points remain once the two noise classes are removed. The tile happens to hold the cathedral, the main station, the Hohenzollern Bridge and the Rhine.

Nine million points will not fit on a screen with two million pixels, so the viewer draws a sample and adds to it as you come closer. The points are written to the file in random order, which means the first however many points of the file are already an even sample of the whole square kilometer. To show less detail, the viewer reads less of the file. It needs no octree, spatial index or second copy at a lower resolution.

A point costs sixteen bytes here: three coordinates, three color channels, and one byte of classification recording whether the survey decided it was ground, vegetation, a building or water. Nine and a half million of those is 151 MB for a single square kilometer, so a county would run to hundreds of gigabytes. Past a certain size you stop loading point clouds and start streaming them, which is what the cloud-optimized formats exist for.

The classification byte lets the data be used as a map. Ground points can be turned into a terrain model, which is what a flood simulation runs over. Building points give footprints and heights, and vegetation points give canopy height across a forest, so one survey serves three unrelated jobs. The sorting is done afterwards by a classifier, and the quality of the classification limits everything that follows.

This is a live application, not a demo. You can download it, run it and review the source. This scene reads a file prepared in advance, which is the easy case. The same viewer elsewhere in the sample reads a 52 GB COPC file over HTTP a block at a time, and that is the shape most real surveys arrive in.

Built on: GPU point cloud rendering, nine million points held at once, level of detail by thinning, color taken from orthophotography, and measurement in real-world units.

Data credits: Laser survey and aerial photograph: Geobasis NRW, Data licence Germany - Zero - Version 2.0. Basemap: © OpenStreetMap contributors.

Built with ThinkGeo

Each reference application is built from ThinkGeo Components. The reference apps are free to explore and use as a starting point for your own custom applications.

← All showcase applications

Is this close to what you need?

Tell us what you are building and we will show you where this application stands today.

Talk to us Schedule a meeting See what it is built with