Giter VIP home page Giter VIP logo

stangandaho / extractor Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 151 KB

Extractor allows for the extraction of data from raster images based on point, line, and polygon vectors and the application of zonal statistics. Its usefulness lies in its ability to work with a range of raster sources, making it ideal for time series analysis and landscape studies.

License: GNU General Public License v3.0

Python 84.91% Makefile 9.23% Batchfile 2.97% Shell 1.76% QML 1.13%
geospatial-analysis landscape-ecology time-series-analysis zonal-statistics multiple-raster-support natural-resource-management raster-data-extraction

extractor's People

Contributors

stangandaho avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

extractor's Issues

Uncaught Type Error when trying to extract data

I'm getting TypeErrors on different plattforms (macOS ventura 13.4.1 + QGIS v. 3.32.1 + Extractor v. 1.1 and Microsoft Windows 11 + QGIS 3.32.1 + Extractor v. 1.1) when I try to extract raster data using points. Originally I wanted to extract the data from an .asc-File which I have converted to geoTIFF. After the TypeError persisted on the two different platforms, I tried using the thenbytenraster from the test folder and created another custom point-shapefile. This still didn't resolve the issue. During every attempt, I have selected the same CRS for the raster and the shapefile.

Another issue under macOS is that I had to paste the paths to the files manually, as the path-selector interface hasn't been working.

Many thanks in advance!

WARNING Traceback (most recent call last):
File "/.../plugins/extractor/Extractor_dialog.py", line 194, in display_raster_data
with_point = self.raster_point_df()
File "/.../plugins/extractor/Extractor_dialog.py", line 319, in raster_point_df
raster_array = raster_band.ReadAsArray(px, py, 1, 1)[0,0]
TypeError: 'NoneType' object is not subscriptable

Uncaught TypeError: 'QVariant' object is not subscriptable

Impossibile caricare il plugin 'extractor' a causa di un errore chiamando il metodo classFactory()
Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 423, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:\Users/Lucio De Benedictis/AppData/Roaming/QGIS/QGIS3\profiles\Lucio_02_23/python/plugins\extractor\__init__.py", line 36, in classFactory
    return Extractor(iface)
  File "C:\Users/Lucio De Benedictis/AppData/Roaming/QGIS/QGIS3\profiles\Lucio_02_23/python/plugins\extractor\Extractor.py", line 51, in __init__
    locale = QSettings().value('locale/userLocale')[0:2]
TypeError: 'QVariant' object is not subscriptable

extractor 0.21, QGIS 3.28.4-Firenze on Windows 10

Error on QGIS 3.16

Hi @stangandaho
I am working on QGIS 3.16.11 version, then when I try to open plugin extractor, got the following message. Any suggestion to solve this issue?

2023-12-14T19:47:43 WARNING Traceback (most recent call last):
File "/home/saka/.local/share/QGIS/QGIS3/profiles/default/python/plugins/extractor/Extractor.py", line 193, in run
self.dlg.show()
AttributeError: 'Extractor' object has no attribute 'dlg'

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.