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:
- Download and unzip our folder structure in your chosen directory.
- 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). - Put your LiDAR files in the folder 0_LAZ.
- Open the XML_Script.xml file with a text editor and adjust the file pathes in the document.
- 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