Giter Club home page Giter Club logo

flowtrace's People

Contributors

boesiii avatar jfbourdon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flowtrace's Issues

Question about Flow Trace

I am trying to use this plugin to find connectivity issues in a linear network of pipes. I got to wondering how does the plugin determine down stream vs up stream? Does it go by the digitized direction? Or is it using the Z values in a Z aware feature class?

Python error if I click "cancel" button

In the QGIS 3 version the first dialog now has a cancel button, which is an improvement (It seems to me like there is no reason for the first dialog to exist without a cancel button, unless you intend to make it display the selected layer name or number of selected features or something).
But if I click the cancel button there is a python error:

2019-10-04T17:01:10     WARNING    Traceback (most recent call last):
              File "C:/Users/alistair/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\flowTrace\flowtrace.py", line 319, in run
              for fid in final_list:
             UnboundLocalError: local variable 'final_list' referenced before assignment

IndexError: list index out of range

Flow Trace was working well but havent used it for a while and now no longer working....

An error has occured while executing Python code:

Traceback (most recent call last):
File "C:/Users/xxxxx/.qgis2/python/plugins\flowTrace\flowtrace.py", line 117, in run
upstream_coord = nodes[0]
IndexError: list index out of range

Python version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

QGIS version:
2.8.2-Wien Wien, 1b929ef

Python path: ['C:/Users/xxxxx/.qgis2/python/plugins\processing', 'C:/PROGRA1/QGISWI1/apps/qgis/./python', u'C:/Users/xxxxx/.qgis2/python', u'C:/Users/xxxxx/.qgis2/python/plugins', 'C:/PROGRA1/QGISWI1/apps/qgis/./python/plugins', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\matplotlib-1.3.1-py2.7-win-amd64.egg', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\nose-1.3.3-py2.7.egg', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\tornado-4.0.1-py2.7-win-amd64.egg', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\backports.ssl_match_hostname-3.4.0.2-py2.7.egg', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\certifi-14.05.14-py2.7.egg', 'C:\PROGRA1\QGISWI1\bin\python27.zip', 'C:\PROGRA1\QGISWI1\apps\Python27\DLLs', 'C:\PROGRA1\QGISWI1\apps\Python27\lib', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\plat-win', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\lib-tk', 'C:\PROGRA1\QGISWI1\bin', 'C:\PROGRA1\QGISWI1\apps\Python27', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\PIL', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\win32', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\win32\lib', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\Pythonwin', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\six-1.3.0-py2.7.egg', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg', 'C:\PROGRA1\QGISWI1\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg', u'C:/Users/xxxxx/.qgis2//python', 'C:\Users\xxxxx.qgis2\python\plugins\DigitizingTools\tools', 'C:\PROGRA1\QGISWI1\apps\qgis\python\plugins\fTools\tools', 'N:/GIS Projects/QGIS Templates']

QGIS3 update

Hi,
just a short question: Do you have plans to update flowtrace to be compatible with QGIS3?

regards,
Thomas

Uncaught AttributeError: 'QgsRasterLayer' object has no attribute 'selectedFeatures'

Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:/Users/hp/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\flowTrace\flowtrace.py", line 231, in run
    features = clayer.selectedFeatures()
AttributeError: 'QgsRasterLayer' object has no attribute 'selectedFeatures'

flowTrace 1.0.1, QGIS 3.6.2-Noosa on Windows 10

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.