[Talk-GB] Script to create LIDAR tiles e.g. for tracing buildings

Jez Nicholson jez.nicholson at gmail.com
Fri Aug 18 12:11:28 UTC 2017


Nice work Greg :)

On Thu, 17 Aug 2017 20:13 Gregrs <gregrs at fastmail.co.uk> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi all,
>
> Standing on the shoulders of various other OSM contributors, I've
> written a BASH script [https://github.com/gregrs-uk/lidar2tiles] which
> uses GDAL to automatically process Environment Agency LIDAR 'composite'
> data and create map tiles which can be viewed in a browser or used in
> JOSM. Map tiles are coloured based on the height of surface features
> such as buildings and trees, calculated by subtracting the DTM from the
> DSM. This can make it easier to trace buildings more accurately because
> different roof heights are different colours. By default, features below
> 1m are transparent, meaning that buildings can easily be distinguished
> from ground level and the tiles can be viewed on top of Bing imagery,
> for example. The colours can be customised, of course.
>
> I've created map tiles for the area around Canterbury, which you can
> view here [http://gregrs.dev.openstreetmap.org/lidar]. They can be
> added to JOSM temporarily using this link
> [
> http://localhost:8111/imagery?title=EA%20LIDAR%20Open%20Data%20Canterbury&type=tms&url=http://gregrs.dev.openstreetmap.org/lidar/{zoom}/{x}/{-y}.png
> <http://localhost:8111/imagery?title=EA%20LIDAR%20Open%20Data%20Canterbury&type=tms&url=http://gregrs.dev.openstreetmap.org/lidar/%7Bzoom%7D/%7Bx%7D/%7B-y%7D.png>
> ]
> if remote control is enabled, or added permanently as follows:
>
> * Click on Imagery > Imagery Preferences
> * Click on the '+ TMS' button
> * Enter the URL
> * http://gregrs.dev.openstreetmap.org/lidar/{zoom}/{x}/{-y}.png (note
> the -y) and a name for the layer
> * The layer will appear in the Imagery menu
>
> Please feel free to use the code
> [https://github.com/gregrs-uk/lidar2tiles] and to experiment!
>
> Greg
>
> - --
> Twitter: @gregrs_uk
> http://gregrs.dev.openstreetmap.org
> PGP key ID: 64907C8A
> Fingerprint: EBD1 077F CCDD 841E A505 3FAA D2E8 592E 6490 7C8A
> -----BEGIN PGP SIGNATURE-----
>
> iQEcBAEBCAAGBQJZleZvAAoJEB7WhxSLszZlV9UH/jdRmsigIE/zd/NwiHEEpwiM
> JUGi2ZwX+CZsE+tZW64cccd4RPPAFNRdkOS60d9Iw+v3ouSEOng79OTPvrJXbuB/
> W7JjRl1mYs/K3l9agHENovspSd9/GWJM5i/SMzZ7Mc2RPaK11DnZFgNddqIWsQfL
> /JMusJeMB6lV4n2i3+sJlNI2IMUKfxw4E4Pfk14DTy2+2Uohr/CGzmceGbVFvXy9
> UIRj9lG55HnbM1NCqp7TKF5uuHtvnQUgCBcTFKKdahR3J9PXGKSTxJZU8kBbo4jn
> VAZ4uQMrmx8rgMZ7iU05si07ypkOhKefhG7AADm9QJPmmHjEwlJAsDUAv4By9cY=
> =DJjJ
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Talk-GB mailing list
> Talk-GB at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20170818/cf211042/attachment.html>


More information about the Talk-GB mailing list