ERROR: cannot determine the writer for format 'tif'

138 views
Skip to first unread message

gjsa

unread,
Oct 16, 2018, 5:38:55 AM10/16/18
to LAStools - efficient tools for LiDAR processing
lascanopy64.exe produces the error "ERROR: cannot determine the writer for format 'tif'" or ERROR: cannot determine the writer for format 'img" if I try and output tif and img.

Any obvious reason for this error?

I can only output in .asc format successfully.

Martin Isenburg

unread,
Oct 16, 2018, 5:46:16 AM10/16/18
to LAStools - efficient command line tools for LIDAR processing
Hello,

As indicated in the CHANGES.txt file, the new 64 bit executables that generate rasters (lasgrid64, las2dem64, and lascanopy64) can only output rasters in ASC, BIL, XYZ, DTM, and LAZ format for the time being.

Regards,

Martin @rapidlasso

Jarlath O'Neil-Dunne

unread,
Oct 31, 2018, 11:57:58 PM10/31/18
to LAStools - efficient tools for LiDAR processing
Any timeline for when TIFF output will be introduced? It would be immensely helpful to our workflow. The other formats are OK but they are a bit dated. Thanks!

Martin Isenburg

unread,
Nov 1, 2018, 4:15:42 AM11/1/18
to last...@googlegroups.com
No timeline yet.

Have you tried LAZ as your intermediate raster format? It's an incredible compact way to store a DTM. From LAZ you can go to any other image format by lasgridding with the right '-step 0.5' size. And it still loads into any LiDAR processing software that has LAZ support. Here an example:

Creating the same raster in LAZ, TIF, IMG, BIL, ASC, and XYZ format:

C:\LAStools\bin>las2dem -i ..\data\zurich.laz -step 0.2 -spike_free 0.6 -o zurich_dsm20cm.laz
WARNING: there were 1 duplicate rasters
C:\LAStools\bin>las2dem -i ..\data\zurich.laz -step 0.2 -spike_free 0.6 -o zurich_dsm20cm.tif
WARNING: there were 1 duplicate rasters
C:\LAStools\bin>las2dem -i ..\data\zurich.laz -step 0.2 -spike_free 0.6 -o zurich_dsm20cm.img
WARNING: there were 1 duplicate rasters
C:\LAStools\bin>las2dem -i ..\data\zurich.laz -step 0.2 -spike_free 0.6 -o zurich_dsm20cm.bil
WARNING: there were 1 duplicate rasters
C:\LAStools\bin>las2dem -i ..\data\zurich.laz -step 0.2 -spike_free 0.6 -o zurich_dsm20cm.asc
WARNING: there were 1 duplicate rasters
C:\LAStools\bin>las2dem -i ..\data\zurich.laz -step 0.2 -spike_free 0.6 -o zurich_dsm20cm.xyz
WARNING: there were 1 duplicate rasters

Comparing the resulting file sizes. LAZ is just 36% of TIF and just 18% of IMG. So why not use LAZ as a standard raster format for elevations / heights / ranges / ... ?

C:\LAStools\bin>dir zurich_dsm20cm*

    1,750,616 zurich_dsm20cm.asc
    1,000,000 zurich_dsm20cm.bil
           77 zurich_dsm20cm.blw
          225 zurich_dsm20cm.hdr
    1,035,139 zurich_dsm20cm.img
      189,705 zurich_dsm20cm.laz
           77 zurich_dsm20cm.tfw
      524,182 zurich_dsm20cm.tif
    6,499,922 zurich_dsm20cm.xyz

Regards from Istanbul (Airport),

Martin @rapidlasso

On Thu, Nov 1, 2018 at 4:57 AM Jarlath O'Neil-Dunne <jpm...@gmail.com> wrote:
Any timeline for when TIFF output will be introduced? It would be immensely helpful to our workflow. The other formats are OK but they are a bit dated. Thanks!

--
las2dem_spike_free_laz_raster.jpg
Reply all
Reply to author
Forward
0 new messages