The raw data comes from the Environment Agency and Natural Resources Wales as .asc files, which are just a big 2d array of height values in text file, in this case covering 1km2 each.
I downloaded all these and wrote a script to produce .png tiles using a "hill shading" algorithm, i.e. make pixel darker if pixel to top left is taller, using C#.
Once I was getting nice results I rented a hefty server at AWS to run it on the whole dataset for 24 hours, generating 2 million .png files, then used leafletjs to display them slippy map style.
I was originally hosting the tiles on AWS but the egress fees were too much so I move them all to a 3€/month bare metal arm server at Scaleway.
The 3D stuff re-fetches the raw .asc files from the source agencies on demand using a AWS Lambda script which cuts out the 1km2 of interest and passes it back to the web server, which renders it using three.js for the surface texture mode, or potree for the pointcloud version.
The website itself is built in asp.net core, running on a $10/month box at Digital Ocean.
In theory, you could combine terrain and surface models[0] to detect and colour features… but that's tricky.
[0]: https://lle.gov.wales/catalogue/item/LidarCompositeDataset/
By which he means, "When will it be populated with more data?"
I presume he's asking as his particular place of interest won't let him view 3d or pointmap views.
Thanks! x
- ed - reading this back, this sounds rude - sorry, just caught up in the excitement.
Natural Resources Wales is aiming for similar by Winter 2022 apparently.
Yes, I did try it, as too the three other people I've since shared it with.
I like the point map version too - I've a grab of a 'minecarft-looking version' of my home village - wonderful!