Giter Club home page Giter Club logo

lastoolspluginqgis3's People

Contributors

mhgzadeh avatar rapidlasso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lastoolspluginqgis3's Issues

Does not seem to work using any tool

I get this response but no generation of any results or viewer.

QGIS version: 3.12.3-București
QGIS code revision: 82342615
Qt version: 5.14.2
GDAL version: 3.0.4
GEOS version: 3.8.1-CAPI-1.13.3
PROJ version: Rel. 6.3.1, February 10th, 2020
Processing algorithm…
Algorithm 'lasview' starting…
Input parameters:
{ 'ADDITIONAL_OPTIONS' : '', 'COLORING' : 0, 'GUI' : False, 'INPUT_LASLAZ' : '/home/jim/Documents/MOTTMAC/PROCESSING TESTING/Mapware/A430/A430.LAZ', 'POINTS' : 5000000, 'SIZE' : 0, 'VERBOSE' : False }

LAStools command line
C:\LAStools/bin/lasview -i "/home/jim/Documents/MOTTMAC/PROCESSING TESTING/Mapware/A430/A430.LAZ" -points 5000000
LAStools console output
/bin/sh: C:LAStools/bin/lasview: No such file or directory

Execution completed in 0.03 seconds
Results:
{'': None}

Loading resulting layers
Algorithm 'lasview' finished

Cannot load LAStools

Couldn't load plugin 'LAStools' due to an error when calling its classFactory() method

AttributeError: module 'LAStools' has no attribute 'classFactory'
Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
AttributeError: module 'LAStools' has no attribute 'classFactory'

setting wine directory in qgis crashes qgis

Hi,

I am using QGIS 3.14 on Ubuntu focal.
I downloaded lastools and unzipped the archive. I ran make to create the libs for linux.
I then opened qgis and clicking on the wrench in the toolbox I set the directory for the LAStools folder correctly.
When I set the directory of wine (which is installed) to /usr/bin and click OK QGIS crashes every time.

Regards,

Erro utf-8 when the .las files path contains special characters like (Ç~´)

Hi,
When i try use the plugin and chose a file in path with special characters, QGIS return with msg:

LAStools command line
C:/LAStools\bin\lasview -i "R:\FTP\07 Geração do Modelo Digital de Superfície\LOTE-01\MDS\SC-24-Z-D-I-2-NE-A-I-4-D.las" -points 5000000
LAStools console output
Traceback (most recent call last):
File "C:\Users/56565464/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools\LAStools\lasview.py", line 67, in processAlgorithm
LAStoolsUtils.runLAStools(commands, feedback)
File "C:\Users/56565464/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools\LAStoolsUtils.py", line 61, in runLAStools
feedback.pushConsoleInfo(output.decode("UTF-8"))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe7 in position 90: invalid continuation byte

Execution failed after 0.41 segundostion 90: invalid continuation byte

Note 1: I use windows 10 Pro 20h2.
Note 2: I tested the plugin with Windows 11 and work without errors.

Can't install from zip

Here's the error report:

An error has occurred while executing Python code: 

TypeError: QgsProcessingParameterFileDestination(): arguments did not match any overloaded call:   overload 1: too many arguments   overload 2: argument 1 has unexpected type 'str' 
Traceback (most recent call last):
  File "....../QGIS/QGIS3\profiles\default/python/plugins\LAStools\LAStoolsPipelines\flightlinesToMergedCHM_SpikeFree.py", line 49, in initAlgorithm
    self.addParametersRasterOutputGUI()
  File "....../QGIS/QGIS3\profiles\default/python/plugins\LAStools\LAStoolsAlgorithm.py", line 269, in addParametersRasterOutputGUI
    self.addParameter(QgsProcessingParameterFileDestination(LAStoolsAlgorithm.OUTPUT_RASTER, "Output raster file", "tif", "", True, False))
TypeError: QgsProcessingParameterFileDestination(): arguments did not match any overloaded call:
  overload 1: too many arguments
  overload 2: argument 1 has unexpected type 'str'

Python version: 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] 
QGIS version: 3.0.2-Girona Girona, 307d082e3d 

I also couldn't see LASTools when searching for it from within QGIS, hence why I'm installing from the zip.

Windows: lasview can't find file on system selected by file explorer

I'm trying to view a .las file with LAStools. I used ctrl+k to find lasview, and I use the file browser to pick a file, so the path is correct, but it says the path is not found. I'm using Windows, LAStools 1.0, and QGIS 3.2.2.

LAStools command line
C:\LAStools\bin\lasview -i "C:/Users/my_user/home/projects/lidar_exploration/las_data/sample_file.las" -points 5000000
LAStools console output
The system cannot find the path specified. 

LAStools is not working | QGIS Desktop 3.12.3 | Win10

Versão do QGIS: 3.12.3-București
Código de revisão do QGIS: 8234261527
Versão do Qt: 5.11.2
Versão do GDAL: 3.0.4
Versão do GEOS: 3.8.1-CAPI-1.13.3
Versão do PROJ: Rel. 6.3.2, May 1st, 2020
A processar o algoritmo...
Algoritmo 'lasinfo' starting…
Parâmetros de entrada:
{ 'ADDITIONAL_OPTIONS' : '', 'COMPUTE_DENSITY' : False, 'CPU64' : False, 'GUI' : False, 'HISTO1' : 0, 'HISTO1_BIN' : 1, 'HISTO2' : 0, 'HISTO2_BIN' : 1, 'HISTO3' : 0, 'HISTO3_BIN' : 1, 'INPUT_LASLAZ' : 'C:\Users\Miguel Morais\Downloads\nd_lidar.las', 'REPAIR_BB' : False, 'REPAIR_COUNTERS' : False, 'VERBOSE' : False }

LAStools command line
C:/Users/Miguel Morais/AppData/Roaming/QGIS/QGIS3/profiles/default/python/plugins/LAStools\bin\lasinfo -i "C:\Users\Miguel Morais\Downloads\nd_lidar.las"
LAStools console output
'C:/Users/Miguel' is not recognized as an internal or external command,
operable program or batch file.

Execução completa em 0.08 segundos
Resultados:
{'': None}

A carregar as camadas resultantes
Algoritmo 'lasinfo' terminado

Las2dem doesn't work on Linux

When i try to use las2dem from Linux, it want to use the Windows version !
Here is the message :

LAStools command line
C:\LAStools/bin/las2dem -v -i "/home/user/data/LIDARHD_1-0_LAZ_MQ-0770_6281-2021/test_CC.las" -keep_class 2 -step 1.0 -o "/home/user/data/LIDARHD_1-0_LAZ_MQ-0770_6281-2021/output"
LAStools console output
/bin/sh: 1: C:LAStools/bin/las2dem: not found

UnicodeDecodeError

Hello
When I try to run any tool with the .las entry, I receive this message:

Traceback (most recent call last):
File "C:/Users/Raphael/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools\LAStools\lasground.py", line 75, in processAlgorithm
LAStoolsUtils.runLAStools(commands, feedback)
File "C:/Users/Raphael/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\LAStools\LAStoolsUtils.py", line 61, in runLAStools
feedback.pushConsoleInfo(output.decode("utf-8"))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8a in position 15: invalid start byte

I try different data source (usgs and government of quebec) but the same message appears.
Any idea to help ?
Thanks

Proper location of LAStools

After I download LAStools from here where do I put this folder so it's accessible to QGIS's path? I added that folder to my system path but when I try to run las2shp I get the following output showing that it's looking for it in C: but I'm on MacOS

LAStools command line
C:\LAStools/bin/las2shp -v -gui -i "/Users/me/Downloads/file.las"
LAStools console output
/bin/sh: C:LAStools/bin/las2shp: No such file or directory

las2shp is available from my command line, however.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.