LASclip stops working unexpectedly

270 views
Skip to first unread message

Ethan Miller

unread,
Feb 16, 2016, 11:04:24 AM2/16/16
to LAStools - efficient tools for LiDAR processing
Hello,

Every time I run lasclip from the ArcMap (or ArcScene) version 10.3.1 I get an error box: "LASTools has stopped working." I used lasclip successfully last week so am now trying to figure out what is going on.

I can run lasinfo and other tools but not lasclip. I have tried modifying file names, running on other computers under different directories, and editing the polygon points in the shapefile to no avail. I have read the README and can't find any requirements that I'm missing.

I am using a .shp ("MCCTestEastLargeExtent.shp") that has a polygon made of 4 points, which create a closed area and do not overlap. See here: https://www.dropbox.com/s/yc33w24oz6md2it/MCCTestEastLargeExtent.zip?dl=0
The .las file ("EastAreaSparseFiltered.las") I am trying to clip is a sparse cloud with a total of 451,042 points and point density of 1.06 (in meters). See here: https://www.dropbox.com/s/l0pio8k4dg5gbjf/EastAreaSparseFiltered.las?dl=0

Both files are projected as WGS 1984 UTM Zone 17N. 

Does anyone have any suggestions or experience dealing with this issue?

Thanks so much for any help or advice in advance,
Ethan

Bernardino J. Buenaobra

unread,
Feb 17, 2016, 3:02:46 AM2/17/16
to last...@googlegroups.com
Hi:

LAStools is quite efficient and s smaller program without any coupling inside a big relational dbase program like ArcGIS - I do it every time to "clip" on a script command using lasclip and have the clipped las for eventually =deriving DTM, DSM, Intensity and No. of Returns TIF file using blas2dem and lasgrid - then I connect my folder into ArcGIS and drag those rasters in flawlessly. I do no have issues of these like what you have in ArcGIS version 10.2.2.

Berns B.

---
Bernardino (Berns) Jerez Buenaobra
Senior Science Research Specialist
Data Processing Component
USC DOST-UP/NEC Project LiDAR (Light Detection and Ranging)
for Disaster Risk Exposure Assessment for Mitigation (DREAM)
2F J.Baumgartner Bldg.,Learning Resource Center (LRC)
University of San Carlos(Talamban Campus)
Nasipit Rd.,Talamban, Cebu City
Philippines 6000
Contact information:
Mobile: +639479582261
Office: +63322300100 local 188-190
Google+ berns.b...@gmail.com
Skype ID: poormanphysics
Professional Reference, Research and Education link:
http://ph.linkedin.com/pub/bernardino-buenaobra/16/42/637
________________________________________
From: last...@googlegroups.com [last...@googlegroups.com] on behalf of Ethan Miller [efmill...@gmail.com]
Sent: Tuesday, February 16, 2016 10:46 PM
To: LAStools - efficient tools for LiDAR processing
Subject: [LAStools] LASclip stops working unexpectedly
--
Download LAStools at
http://lastools.org
http://rapidlasso.com
Be social with LAStools at
http://facebook.com/LAStools
http://twitter.com/LAStools
http://linkedin.com/groups/LAStools-4408378
Manage your settings at
http://groups.google.com/group/lastools/subscribe
________________________________

** LEGAL DISCLAIMER **

The information contained in this email (and any attachments) is confidential and may be subject to privilege. It is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, or reproduction is strictly prohibited and may be unlawful; please notify the sender by return e-mail and delete the message from your system. The views, opinions, conclusions and other information in this message that do not relate to the official business of the University shall be understood as neither given nor endorsed by University of San Carlos.

Martin Isenburg

unread,
Feb 17, 2016, 2:52:22 PM2/17/16
to LAStools - efficient command line tools for LIDAR processing
Hello,

I fixed it and Ethan has (off-list) confirmed that it works now. The SHP file he provided also crashed the ShapeViewer.exe [1] that I like using but QGIS and ArcGIS were able to open those it just fine. The issue was that the shapefile contained empty records (number_of_parts  == 0) that resulted in a crash. This seems a rare occurance.


Now it works both from the command line and the GUI. And Ethan has tested running it from the slow and expensive GUI for LAStools (aka ArcGIS (-;). 

D:\LAStools\bin>lasclip -v -i EastAreaSparseFiltered.las -poly MCCTestEastLargeExtent.shp -odix _clipped -olaz
WARNING: found record of shape type 5 with number_of_parts 0 and number_of_points 0. skipping ...
WARNING: found record of shape type 5 with number_of_parts 0 and number_of_points 0. skipping ...
creating clip polygon took 0 sec.
removed points 401581 (23689). outputting 49461 points took 0.236 sec.
done with 'EastAreaSparseFiltered_clipped.laz'. total time 0.236 sec.

This will be in the next release (up in a week or so).

Regards,

Martin
lasclip_zero_records.jpg
Reply all
Reply to author
Forward
0 new messages