How to process large amounts of LiDAR data

LiDAR data are invaluable for mapping, as highly accurate contour lines and base maps can be created.

But when processing LiDAR data for larger areas, a computer can quickly become overloaded because not enough RAM is available and crashes.

To avoid this, you have to work with XML scripts for larger projects. This may seem complicated at first glance, but don’t worry: All you have to do is copy code and make some adjustments.

This is what you need to do:

  1. Download and unzip our folder structure in your chosen directory.
  2. Create a new OCAD File with the desired symbol set, map scale and georeferencing. The New Map Wizard can help you with that.
    Save this file as Template.ocd (means overwrite the Template.ocd file in the folder structure).
  3. Put your LiDAR files in the folder 0_LAZ.
  4. Open the XML_Script.xml file with a text editor and adjust the file pathes in the document.
  5. In the OCAD File menu, go to Execute XML Script and run the script.

The script imports LiDAR data and creates contour lines and a vegetation base map.
The single tiles are calculated separately and then cropped and merged together in the end.

The XML function for importing las/laz files and creating contour lines and vegetation map is also available in the OCAD Orienteering edition.

Find more about XML on our Wiki:
XML Script an LiDAR
XML Script in general

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.