The University of British Columbia
UBC - A Place of Mind
The University of British Columbia Vancouver campus
UBC Geospatial Resources
  • Home
  • Software
  • Data
  • Articles
    • News
    • Scholarship
    • Event
    • Tutorials
  • Contact

Installing LAStools for lidar data in QGIS for Mac

February 27, 2018

How use lidar data with QGIS for Mac with the LASTools package

This tutorial presupposes you have installed QGIS for Mac. If not, full instructions and downloads are available on the KyngChaos page. Obtaining a GIS package from a website called “kyngchaos” sounds dodgy, rest assured that it is the method approved by the QGIS developers themselves.

You may have already performed some of these steps; there is no need to repeat them if you have done so.

  1. Install Homebrew for mac if you have not done so already. Homebrew has great utility beyond QGIS.
  2. Install wine using homebrew brew install wine
  3. Install XQuartz. XQuartz is a windowing system (if you know unix, it’s X) for Mac. If you are using an old Mac, it is probably already installed, but updating to the new version will not hurt. XQuartz is required because it is used as the windowing system for Microsoft Windows and Linux applications.
  4. Download and unzip lastools. Remember where you unzipped it.
  5. You’re almost done. Start QGIS. Select Processing/Options. In the Providers section scroll to “Tools for LiDAR Data”. Fill out the blanks:
  • LASTools folder: path\to\lastools\directory
  • Wine Folder: \usr\local\bin

Note: this is the default directory for the homebrew wine installation. If you want to check to make sure it’s correct, open a terminal (ie, Terminal app) and type: which wine The output will tell you what to type in the box. Remove the ‘wine’ part of the entry.

  1. Restart QGIS. When you open the toolbox, you should have all the LAStools available in your toolbox.

Note: When you open one of the LAStools for the first time you will see a large number of error messages, etc. These are from wine and can be safely ignored.

Subsequent tool usage will be faster and have fewer errors, but there may still be some. If there are errors, they can be safely ignored as long as the LAStools are functioning.

Another note: When using some of the LAStools (like lasviewer), you will note that the processing toolbox dialogue does not disappear, making it look like QGIS has crashed. This is not the case – the wine window (ie, that which is displaying the lidar data) is part of the tool, and the processing dialogue box will close once you close the lidar window.

New for QGIS 3.x

LASTools are no longer enabled by default. To enable LASTools, follow these steps:

  1.  Go to Plugins/Manage and Install Plugins
  2. Search for LASTools and install the plugin
  3. Once that’s done, LASTools (as opposed to “Tools  for LiDAR Data”) will appear in the Processing Options, where you must check the “enable” button and follow the steps above.

Read More | No Comments

University of British Columbia
Vancouver Campus
2329 West Mall
Vancouver, BC Canada V6T 1Z4
Back to top
The University of British Columbia
  • Emergency Procedures |
  • Terms of Use |
  • Copyright |
  • Accessibility