Lidar Process
The lidar process is the most important in golf course design. It defines the process of converting lidar information into height maps for use within Unity (for building the terrain). For more information on lidar check out what is lidar.
TLDR;
LiDAR is an acronym for “light direction and ranging”.
The current lidar process can be found on youtube @GolfCourseDesign.
Web Coverage Servers
The GIS world has a special type of server which provides lidar data in an manageable way. These WCS servers are available and importable into QGIS. The process is a little more straightforward, although not without it's own problems, mainly the mismatch of CRS (coordinate mapping) between the WCS and the courses specific location. Generally the WCS server data will be in the worldwide CRS. This needs to be mapped appropriately!!
To get this working:
- Open up the default project in QGIS
- Under
Browser
right click onWCS
and clickNew Connection
- Paste the url for the WCSServer into the connection and give it a name
- Open the WCSServer folder
- Right click the
DSM
,DTM
or layer you wish to add and selectAdd Layer to Project
Project CRS
Ensure that you set the project CRS appropriately. The WCS will have a worldwide value, using this will mess up the values, so make sure you go into project settings and select the appropriate one. You can get this from one of the the DTM tiles, or you can look through the list of available CRS until you find the one that looks good.
You may see some warnings about not being able to convert 100% and using a fallback conversion, this seems to not really be an issue in the few courses I've exported.
Exporting Heightmaps
Instead of Extracting from the Lidar data, the Lidar data can be exported as a first step:
- Right click the layer you wish to export
- Click
Save As
- IMPORTANT don't click
raster image
leave the first export asraw data
. If you don't do this, it will convert thefloat32
lidar data tobyte
which messes up the definition. - Save with 16000/16000
- Follow the remaining steps
Exporting Overlays
Once you get your inner and outer setup (using the regular steps) to export:
- Right click the layer you wish to export
- Click
Save As
- Follow the normal steps to use the inner and outer as masks fore Google or Bing
- Save with 16000/16000
- Follow the remaining steps
WCS Server Urls
I've been able to use the following WCS servers:
Province | URL | Notes |
---|---|---|
Ontario | ws.geoservices.lrc.gov.on.ca | |
New Brunswick | gis-erd-der.gnb.ca | |
USA | elevation.nationalmap.gov | Although this is available, it seems super dark |
F.A.Q
1. My Inner/Outer are showing up warped
This means that your export reset the CRS to the worldwide value. You should be able to re-export the data using the correct CRS and get a valid file.
2. My Inner/Outer looks choppy
This generally means your export is byte instead of float. When this happens you most likely clicked the wrong export type. Remember, this requires a direct export from the WCS layer, not an expand extent.