Chesapeake Times, Vol 21 | April 2025

SonarWiz has been able to import laser data and process it with its bathymetry engine for some time now. Additionally, SonarWiz has been able to export files that it treats as bathymetry in the LAS point cloud format.

In the upcoming SonarWiz 8.3.0 release, we’ve fixed some bugs and made some improvements to this export, with some more to come in the future. We’ve also seen some troublesome exports related to the scalars and offsets used at export time for this format, so wanted to offer a quick overview.

Here’s a small project with a single bathymetry file in it as an example:

While not always strictly necessary, it’s a good idea to use the offsets and scalars available during LAS export to ensure that your output is valid. The file shown above is at about 6,000,000 northing in EPSG:32633. If I used the export tool’s default of 1.0 scalars for the positions, the export would be pretty coarse and not very useful; many points would stack on top of each other. On the other hand, if I used 0.001 scalars to get millimeter resolution, the Y locations for the points written would be at about six billion – roughly three times the available magnitude allowable, which is roughly plus or minus two billion. So to get the file positioned nicely in the allowable space, along with acceptable resolution, scalars and offsets have to be used.

To choose good offsets for a LAS export, you can usually use the approximate project center. If you zoom the plan view to the full project extents and then hit the ‘j’ key, you’ll have the coordinates of the center of the screen available, in a window you can copy them from:

X and Y offsets should be sufficient; you could use the center of the depth data (about 7.5 in this case) as a Z offset, but that’s not often important from a correctness standpoint.

If the project is very large and your intended resolution is very fine, you might need to consider a coarser resolution, individual file export, or exporting sections at a time. As a quick check (assuming you’re using project center as offsets) you can measure the extents on the plan view:

For each of X and Y, does the extent in project units, divided by your intended scalar, exceed four billion? In that unlikely scenario, you’d need to export the project in sections, as individual files, or with somewhat coarser resolution.

Once you have offsets and scalars to match your intended output, launch the LAS export window from the Post Processing / Export menu:

In the export window, fill in the scalars and offsets you’ve chosen:

Choose whether you want individual files, just the visible data on the plan view, etc., and hit OK to write the export file(s). An Explorer window should open at the end of the process to the place they’ve been written.

You can right-click the Maps node in the Project Explorer and add LAS files as basemaps or overlays. This provides a quick check of the X/Y location, and a sense of the resolution. Here’s the LAS file from the export above (top/left), with the bathymetry over the top of it (bottom/right) swiped halfway away:

This image has an empty alt attribute; its file name is 01-Odin-1024x613.png

You can also open these for viewing in Global Mapper, QGIS, and other such tools. These files aren’t presently georeferenced, though, so you’ll have to communicate the CRS in use to the other software manually if necessary.

Though the LAS exports in the upcoming 8.3.0 are less error prone and closer to matching the LAS specification, there are still some improvements to be made. Georeferencing the files via the method used in the more modern versions of the specification is chief among these, and we’ve got some plans for providing sensible suggestions for the scalars and offsets, plus better error detection.

Related Posts