Coder Social home page Coder Social logo

qgis-fusion's People

Contributors

biglimp avatar spono avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

qgis-fusion's Issues

Can't run plugin

Hi thanks for your great software!
But I can't run the tools from qgis toolbox.
It's always says:

FUSION command:
C:/Program Files/FUSION\GroundFilter64.exe "C:/Users/Farhan/AppData/Local/Temp/processing_QdAsjJ/dc6e0b1dbb21475680468ce7befd6c4d/OUTPUT.las" 10.0 "C:\Users\Farhan\Downloads\points.las"
FUSION command output:
'C:/Program' is not recognized as an internal or external command,

operable program or batch file.

I already install Fusion, and setting it in the processing providers:
image

General Issue

Hello,

I'm unable to run any algorithm on QGIS.

Is LAStool software mandatory ?

image


Version de QGIS : 3.22.3-Białowieża
Révision du code : 1628765ec7
Version de Qt : 5.15.2
Version de Python : 3.9.5
Version de GDAL : 3.4.1
Version de GEOS : 3.10.0-CAPI-1.16.0
Version de Proj : Rel. 8.2.1, January 1st, 2022
Version de PDAL : 2.3.0 (git-version: 9f35b7)
Algorithme commencé à: 2022-02-15T15:37:47
Démarrage de l'algorithme 'Canopy model'…
Paramètres en entrée:
{ 'ADVANCED_MODIFIERS' : '', 'ASCII' : False, 'CELLSIZE' : 10, 'CLASS' : '', 'GROUND' : '', 'INPUT' : 'C:\Users\clopez\Downloads\Semis_2021_0784_6289_LA93_IGN69.laz', 'MEDIAN' : '', 'OUTPUT' : 'TEMPORARY_OUTPUT', 'SLOPE' : False, 'SMOOTH' : '', 'VERSION64' : True, 'XYUNITS' : 0, 'ZUNITS' : 0 }

FUSION command:
CanopyModel64.exe /verbose "C:/Users/clopez/AppData/Local/Temp/processing_zuZRwN/a5613f1389754707b09bde8b5776c334/OUTPUT.dtm" 10.0 M M 0 0 0 0 "C:\Users\clopez\Downloads\Semis_2021_0784_6289_LA93_IGN69.laz"
FUSION command output:
Execution completed in 0.09 secondes
Résultats :
{'OUTPUT': 'TEMPORARY_OUTPUT'}

Chargement des couches de résultat
Algorithme 'Canopy model' terminé

Unable to input multiple files to canopymodel

Hi all, would be great to be able to input multiple las files in the canopy model processing tool. Can be done in python as follows:

processing.run("fusion:canopymodel",{'version64':True,
"INPUT":"C:/Users/weedingb/Desktop/Learning_LAStools/veg_outside_buildings.las;C:/Users/weedingb/Desktop/Learning_LAStools/ground.las",
"CELLSIZE":1,
"XYUNITS":0,
"ZUNITS":0,
"OUTPUT":"C:/Users/weedingb/Desktop/Learning_LAStools/test.dtm"})

Ascii2dtm calls polyclipdata so it does not work

Hi,
First of all. Thanksfor your work.

The issue I have just found is that trying to run ascii2dtm withou any output I have read the log messages and it seem that ascii2dtm is calling polyclipdata and it ends to no result.

Kind regards,
Jaime

Heigt Error when creating a TIF from LAS files.

I am using the plugging Fusion with QGIS 3.6.3, in order to create a MDT (gray scale raster with heights) based on a LAS File (22x10^6 points).

The pipeline that I am using is:

  1. FUSION>Surface>Tin surface create. Tested with "Cellsize = 0.01m"
    The visualization of the resultant DEM is:
    image

  2. FUSION>Conversion>DTM to TIF
    image

The resulting TIF does not have the height values of the original LAS file. The Z values have an Offset and a scaling factor.

In which step my model is being distorted? Which settings I am no considering during the conversion.

Thank you very much for your help.

[FUSION/LDV] 64 bit architecture in QGIS

Hi,
according to the release 4.x of FUSION, the tools are being translated to the 64bit architecture. Do you have any plan to allow your plugin to take advantage of it?

I guess an easy way could be to include a checkbox in the plugin settings (e.g. "use 64bit version") and add an if clause in the executable selection, like:

    def processAlgorithm(self, parameters, context, feedback):
        if checkbox64:
            commands = [os.path.join(fusionUtils.fusionDirectory(), 'PolyClipData64.exe')]
        else
            commands = [os.path.join(fusionUtils.fusionDirectory(), 'PolyClipData.exe')]

Unfortunately I'm just an end user and I can't help with scripting.

[FUSION/LDV] GridMetrics doesn't show up in QGIS

Hi,
I'm using your plugin on QGIS 3.10 but a (pretty useful) tool such as GridMetrics doesn't appear listed in the Processing window.
I checked among your files and it seems to be present in your repo: do you have any idea why this may happen?
Thanks in advance

Merge LAS files

The tool is semi-working but I have to write the path manually since I am unable to select more than one files.

Seem to remember sometime back from several qgis versions (and perhaps versions of this plugin) back that this worked.

This plugin has some problem in QGIS 3.24

In 3.22.1 all is well, but in 3.24 Tisler, the plugin fails on load.

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

ModuleNotFoundError: No module named 'processing.core.ProcessingLog' 
Traceback (most recent call last):
  File "C:\PROGRA~1/QGIS32~1.0/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:\Users/GisKraft/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_fusion\__init__.py", line 35, in classFactory
    from .processing_fusion import ProcessingFUSIONPlugin
  File "C:\PROGRA~1/QGIS32~1.0/apps/qgis/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/GisKraft/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_fusion\processing_fusion.py", line 36, in 
    from .processing_fusion_provider import ProcessingFUSIONProvider
  File "C:\PROGRA~1/QGIS32~1.0/apps/qgis/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/GisKraft/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_fusion\processing_fusion_provider.py", line 35, in 
    from processing_fusion.algs.ascii2dtm import ascii2dtm
  File "C:\PROGRA~1/QGIS32~1.0/apps/qgis/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/GisKraft/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_fusion\algs\ascii2dtm.py", line 39, in 
    from processing_fusion.fusionAlgorithm import FusionAlgorithm
  File "C:\PROGRA~1/QGIS32~1.0/apps/qgis/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/GisKraft/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_fusion\fusionAlgorithm.py", line 35, in 
    from processing_fusion import fusionUtils
  File "C:\PROGRA~1/QGIS32~1.0/apps/qgis/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/GisKraft/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\processing_fusion\fusionUtils.py", line 36, in 
    from processing.core.ProcessingLog import ProcessingLog
  File "C:\PROGRA~1/QGIS32~1.0/apps/qgis/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'processing.core.ProcessingLog'


Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] 
QGIS version: 3.24.0-Tisler Tisler, 6b44a42058 

Python Path:
C:/PROGRA~1/QGIS32~1.0/apps/qgis/./python
C:/Users/GisKraft/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/GisKraft/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS32~1.0/apps/qgis/./python/plugins
C:\Program Files\QGIS 3.24.0\bin\python39.zip
C:\PROGRA~1\QGIS32~1.0\apps\Python39\DLLs
C:\PROGRA~1\QGIS32~1.0\apps\Python39\lib
C:\Program Files\QGIS 3.24.0\bin
C:\PROGRA~1\QGIS32~1.0\apps\Python39
C:\PROGRA~1\QGIS32~1.0\apps\Python39\lib\site-packages
C:\PROGRA~1\QGIS32~1.0\apps\Python39\lib\site-packages\GDAL-3.4.1-py3.9-win-amd64.egg
C:\PROGRA~1\QGIS32~1.0\apps\Python39\lib\site-packages\win32
C:\PROGRA~1\QGIS32~1.0\apps\Python39\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS32~1.0\apps\Python39\lib\site-packages\Pythonwin
C:/Users/GisKraft/AppData/Roaming/QGIS/QGIS3\profiles\default/python

[FUSION/LDV] No output after clean run

after testing some tools (CanopyModel, GroundFilter, GridMetrics, etc), it seems that none of them return an output.
I checked the available logs and they appear a bit misleading:

  1. the one in the tool's window shows a quite complete cmd line, but I don't understand why OUTPUT it is shown as a separate one (that could also be the reason why the run doesn't end well)

canmodel

  1. the one in the "History" log, shows this pretty messy result:
    processing.run("fusion:canopymodel", {'INPUT':'D:\\test\\Bourra\\2011\\LAS\\_\\bourra_tot.laz','CELLSIZE':10,'XYUNITS':0,'ZUNITS':0,'OUTPUT_DTM':'C:/Users/spono/Desktop/chm_10m.dtm','GROUND':'','MEDIAN':'','SMOOTH':'','CLASS':'','SLOPE':False,'ASCII':True,'ADVANCED_MODIFIERS':''})

I tried to run the line reported at bullet 1 directly from the CMD line and it works fine, so it seems t be an issue related to the correct call to the exe file.
Do you have any idea where the problem may lie?

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.