Project

Faceby

a 3D map and guided tour of my village, built from Environment Agency LIDAR

Source on github.com/craigloftus/faceby.

Faceby is the village I live in, about 190 people under Carlton Bank on the north-west edge of the North York Moors. This is a 3D map of it with a guided tour, built from Environment Agency LIDAR and OpenStreetMap. It is a stepping stone to a larger project, and an excuse to play with LIDAR visualisations.

A 3D view of Faceby from the north-west: houses with red and grey roofs along a lane, labelled with their names, and the moor scarp rising behind
Step 1 of 4 The opening view. The ground is Environment Agency LIDAR at 1 m, the houses and their names start from OpenStreetMap, and the row of buttons along the bottom is the tour.
The camera close to the church, which is highlighted in a lighter colour among the neighbouring houses, with a footpath drawn as a green dashed line in the foreground
Step 2 of 4 Picking a stop flies the camera there and selects the building, here the church. The green dashes are a footpath.
Fields and a beck in the foreground with the scarp of Carlton Bank across the skyline and the top end of the village at the lower right
Step 3 of 4 Under Carlton Bank. The field boundaries, the plough lines and the beck are all in the LIDAR. Nothing here is drawn by hand.
A high view of the whole village as a small cluster of roofs in a wide sweep of fields, with the moor tops behind
Step 4 of 4 The last stop pulls back to the whole parish. The middle 4.1 km is at 1 m resolution and the moor tops around it, out to 8.2 km, are at 2 m.

Every roof was checked

OpenStreetMap has 179 building footprints in the parish and none of them has a height. The heights come from the LIDAR surface model. A script proposes a set of blocks for each building, each block a rectangle with a flat, gable, hip, pyramid or lean-to roof, fitted to the LIDAR profile across the ridge.

Looking down the lane through the middle of the village, houses with pitched red or grey roofs, each built from one or more blocks

The middle of the village. Each building is a few blocks, and each block has its own roof shape and height.

An earlier version trusted the fit and was confidently wrong too often, so now nothing is drawn until someone has looked at it. Of the 179 proposals, 126 were accepted as they were, 42 were edited, 4 were rebuilt from LIDAR cross-sections and 7 were done by hand first. The usual faults were a ridge on the wrong axis, a shed that was really a gable, and tree canopy mistaken for a roof. The OpenStreetMap footprints also turned out to sit about a metre east and a metre south of the LIDAR, which had to be corrected before any block lined up.

No map server

The app is static files with no tile server and no API key. It comes to 18 MB, and 17 MB of that is terrain, packed as PNGs. The buildings are under 200 KB because the browser generates their geometry from the block list. The README has the rest, including how the first version drew 4.1 million triangles a frame for a view that was not moving.

The ridgeline drawing at the top of this site is made from the same LIDAR.