Questions tagged [qgis-plugins]
Software plugins that add functionality to the QGIS package
2,952
questions
0
votes
1
answer
130
views
ModuleNotFoundError: No module named 'matplotlib.backends.backend_qt4agg'
I installed QGIS plug-in "AVHYAS is an open source Python 3 tool plugged in QGIS",and installed required libraries however while trying to use some function, I got the following error. The ...
1
vote
1
answer
356
views
Checking SAGA version from a python plugin in QGIS 3.4.0
I use QGIS 3.4.0 on Windows and I want to verify SAGA version with processing.algs.saga.SagaUtils.getSagaInstalledVersion(). But I get an error:
module 'processing' has no attribute 'algs'
This was ...
1
vote
1
answer
1k
views
Enable single feature selection in QGIS using Python
I want to enable single feature selection using Python. I want to make a script in Python that will first enable single feature selection, and then it will return the id of selected feature. I have ...
3
votes
1
answer
879
views
Exporting to QField from QGIS?
In creating an export from QGIS 3.8.0 Zanzibar to Qfield using the sync plugin, I am encountering a strange error.
Each time I run the export, several of the layers I have in a geopackage in QGIS ...
5
votes
1
answer
597
views
QGIS Python Plugin - Prevent Dialog From Closing Immediately after OK Clicked
I've generated a QGIS plugin using the QGIS Plugin Builder v3.0.3. One issue I am encountering with it is - as soon as I click the "OK" button (that invokes the run method) - the dialog closes. Is ...
0
votes
0
answers
7
views
QNeat3 Polygons do not finish calculating interpolation
I have been using QGIS for a couple of years and used QNEAT3 for the first time around one year ago. I never had any problem with it but, after some months not using it, I tried to use it again to ...
2
votes
1
answer
258
views
ImportPhotos Plugin error - no new photos were added
I have 7 .JPG photos that I'm trying to import so that when I identify features, a photo will pop up on the feature that I click. I've been trying to use the ImportPhotos Plugin, but every time I ...
0
votes
0
answers
22
views
Removing OSGeo4w packages without removing program fully
I want to remove OSGeo4w to the base program without removing the program entirely. I am not using QGIS right now, but will in the future. I want to just remove some of the extra packages (and open ...
0
votes
1
answer
33
views
QGIS clip overlapping polygons based on condition
I have a shapefile with polygons representing a collection of nautical charts. The charts have different scales (an attribute in the layer) and some overlap. I want to create a layer which ...
0
votes
0
answers
28
views
Cross section automation & overlay
I'm trying to automate and visualise the frequency and different type of road corridors along an existing route.
The route spans multiple kms and I'm trying to show the predominant types of corridor ...
8
votes
2
answers
7k
views
Uploading older Google Earth Historical Imagery into QGIS
There are numerous ways to import Google Earth imagery into the QGIS (e.g. OpenLayer plug-in or XYZ tiles), however the recent-most images are downloaded. Is there any way to import historical imagery?...
0
votes
0
answers
15
views
QField sync issue
I am trying to use QField to collect and sync data back to QGIS via QField Cloud. Everything appears to work well (packaging, upload to the cloud, collection in QField and pushing changes) until the ...
0
votes
1
answer
129
views
QGIS - QGIS2WEB - Leaflet - CSS Code - Changing background colors [15.09.22]
I am using the QGIS2WEB plugin within QGIS 3.0. I have selected "Leaflet" for export. I am trying to use a different background-color than the normal white (#fff) that appears in the ...
2
votes
0
answers
44
views
Create a profile of categorical data along a line in QGIS
For a landscape analysis study, I want to extract some categorical data along a line (purple in the image) on the selected area. Before I continue to create an entire plugin to create a categorical &...
0
votes
0
answers
15
views
Custom Feature Form - Add multiple Features - Crashes when commiting
I use a custom feature form to set new features for my point layer.
Beause i have to set many points i dont want to open the form new every time i set a new point.
Thats why i added a function which ...
3
votes
2
answers
1k
views
Re-ordering bar chart from Data Plotly in QGIS 3.14.16
I have successfully created a bar chart using Data Plotly within QGIS 3.14.16. The x axis consists of 17 place names (NAME) and the Y axis shows the value (VALUE IN £P) of one particular lease at each ...
1
vote
1
answer
412
views
qgis2web search attributes
Is it possible to query features based on attributes from the client side of qgis2web? How can this be achieved? I have a single data set that I want to serve over the web, while allowing users to ...
0
votes
0
answers
36
views
How to find shortest distance routes from a point to a line without overlapping on buildings?
I'm trying to find a plugin/function that can automatically find and sketch shortest-distance routes between a Multipoint layer and a MultiLineString layer. But the catch is that they are supposed to ...
3
votes
1
answer
84
views
How to authenticate to download images from https://landsatlook.usgs.gov/stac-server
I am building a QGIS plugin in Python to fetch Landsat images from this STAC server:
https://landsatlook.usgs.gov/stac-server
I need to be able to download the thumbnails, but cannot find how to ...
1
vote
1
answer
732
views
Dimensioning line with QAD plugin
I would like to use QAD plugin to emulate AutoCAD, especially to draw some dimensioning. There are two possibilities to do so: click on 2 points or select an object.
I want to use the object ...
0
votes
1
answer
27
views
QgsRasterLayer from post request
QGIS is able to consume WMTS, XYZ tile services. We have a custom map service which uses post request.
How do we add custom map layer with payload as a single QgsRasterLayer?
1
vote
1
answer
888
views
Seeking plugin like NetCDF Browser for QGIS 3.0 and above
Is there a plugin that fulfills the same function as NetCDF Browser (i.e. to browse multi-variable and multi-dimensional NetCDF files) but is available for QGIS versions 3.0 and above?
4
votes
1
answer
143
views
Change the symbology of a vector output layer that is returned from a processing tool?
I want to change the symbology of a Vector Output Layer that is Returned after running a Processing Tool. I am building a processing plugin. I am trying to make the effects reflect in the displayed ...
0
votes
1
answer
26
views
QGIS navigates to some other coordinate locations...Facing problem while dealing with coordinate systems
In QGIS 3.32, I want to do Geo-referencing of a vector shapefile.
The project coordinate system is Projected Coordinate System WGS 84 / UTM zone 43N EPSG 32643.
Two layers (Google Satellite Hybrid AND ...
1
vote
2
answers
49
views
Call and Run PyQGIS script by plugin
I wrote a code that work well in console python, an example:
from qgis.core import QgsProject, QgsLayerTreeGroup, QgsLayerTreeLayer, QgsLayerTree
from PyQt5.QtCore import Qt, QVariant, QSettings, ...
2
votes
1
answer
265
views
Simple PyQGIS code working in QGIS python console but not in Python plugin
I wrote a python plugin whose purpose is to import a raster and put it in a group.
My code works perfectly when I run it in the Python console of QGIS, but not when I run my plugin. The code is ...
0
votes
2
answers
350
views
Getting back Processing Toolbox?
Processing Toolbox missing after I copied a python script from the Scripts folder to my local folder, and QGIS crashes when I try to active the "Processing" under the Plugin Manager
Re-installation ...
1
vote
1
answer
1k
views
I can't load a CSV file inside a QTableWidget by Python code
I am a beginner of PyQGIS and I'm trying to do a QGIS plugin, with QGIS 3.4.7 and PyCharm 2016.3.6. I already did the "dialog" box on Qt and after I wrote on Pycharm. It is a table only with ...
1
vote
1
answer
762
views
Merging multiple non overlapping raster layers into one layer
I'm working in Qgis 2.14 and have received multiple raster files for the Height of a terrain that combined covers the entire terrain I’m interested in.
I would like to combine them. Because the ...
0
votes
2
answers
363
views
QGIS Smart Map Plugin - Error Running Interpolation
I am new to using the Smart-Map plugin. I added my data and did the ordinary Kriging interpolation. Just before it reaches 100% I get the following error message:
An error has occurred while executing ...
0
votes
2
answers
38
views
Find distance from point to coastline
I have a layer of ~2 million line segments representing rivers, and a layer of ~300 000 line segments representing the coastline. I want to extract the river outlets.
I've tried a bunch of different ...
2
votes
1
answer
75
views
'Could not load source layer for INPUT: invalid value' error in PyQGIS
I'm trying to implement a processing plugins in QGIS 3.28.9, but when I hit Run, it gives me a message that my polygon layer is not a polygon layer, but, it is a polygon, in fact. Can someone help to ...
0
votes
1
answer
30
views
Random forest classification on QGIS gets stocked at 66% with an error message whose conditions have been met
I am running a random forest classification on QGIS using dzesaka pluggin, after picking my training sites and running the classification,
it gets to 66% and a prompt message appears that i ensure ...
0
votes
0
answers
14
views
QGIS Plugin to auto-fill attributes from prepared list on feature creation
Is there a QGIS Plugin that does some or all of the following:
On feature creation in editing mode:
offer a drop down list of rows of attributes,
let the user select one of the offered items
...
1
vote
0
answers
28
views
Using QGIS Notebook Extension Compatibility on Windows
I'm currently working on integrating the qgis-nbextension into my workflow on a Windows system. However, I'm encountering compatibility issues and could use some guidance.
Here's what I've done so far:...
0
votes
1
answer
28
views
Installation of Lizmap Debian : error with QGIS Server in the action part of the Lizmap plugin
We have tried to install Lizmap and QGIS Server on a Debian 11 machine.
The QGIS Server is version 3.28.9 and when tried with the method usr/lib/cgi-bin# /usr/lib/cgi-bin/qgis_mapserv.fcgi we get the ...
0
votes
0
answers
26
views
Bezier editing tool - problem with plugin
Have been using Bezier editing tool for a while in QGIS but for some reason I couldn't find it anymore. When I tried to install it again I was recieving this message :
Python error : Couldn't load ...
1
vote
1
answer
46
views
Plug-in on QGIS that could help to draw buildings
I need to draw a lot of buildings from a city in Latin America, a friend of mine told me that he saw someone using a plug-in to draw buildings automatically with some errors but he doesn't know which ...
2
votes
1
answer
426
views
Writing Custom Map Tools using RectangleMapTool
I am creating a plugin with a preview window where the user must select a rectangle to define the study zone.
I see in this https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/canvas.html ...
0
votes
0
answers
38
views
Problem with QGIS plugin SMART MAP
I am having problem using the QGIS plugin called SMART MAP. I added a screenshot. As you can see I does not allow me to maximize the tab, making it impossible to work on since all the parameters ...
1
vote
0
answers
31
views
QGIS Profile Tool - creates inaccurate profile
The profile created by the plugin is inaccurate (the vector is traced over a river and therefore the line should never move upwards in elevation).
When I hover my cursor over the produced profile, the ...
0
votes
2
answers
454
views
Information [18]: Select at least one signature
While performing run / previewing classified image in SCP, the statement Information [18]: Select at least one signature appears. What is the solution to this?
1
vote
0
answers
67
views
QGIS 3.32.0-2: Linking against qgis_core.lib
I am not able to link my dll with the current installation of QGIS 3.32.0-2 where it was possible with QGIS 3.30.3 (and lower).
Using: Microsoft Visual Studio Professional 2019, version Version 16.11....
4
votes
1
answer
69
views
Editing the coding of QGIS plugin
I’d like to try the fix mentioned in this article:
https://github.com/KIOS-Research/ImportPhotos/issues/105
Can someone provide some pointers on how can I edit that line of coding for the ImportPhoto ...
7
votes
1
answer
2k
views
Creating GRID with customized labels in QGIS
I would like to know how can I create a GRID layer with customized labels as you can see in the image below:
I have searched this topic here:
Creating indexed vector grid in QGIS?
QGIS Python ...
1
vote
1
answer
59
views
AttributeError: 'QgsNetworkAccessManager' object has no attribute 'setTimeout' when calling QGIS plugin
Do you know what is causing this issue?
Couldn't load plugin '_plugin' due to an error when calling its classFactory) method
AttributeError: 'QgsNetworkAccessManager' object has no attribute '...
32
votes
1
answer
41k
views
Getting layer by name in PyQGIS
I have a plugin which finds buffer for list of cities, provided the distance. The state and city names are taken from the attribute table and gets filtered accordingly. What I want is my plugin should ...
46
votes
1
answer
37k
views
What is the default plugin folder location in QGIS 3?
I am searching for default location for QGIS 3 Plugin folder
I checked here but could not find:
C:\Program Files\QGIS 3.0\apps\qgis\python\plugins
C:\Users\Abhijit\.qgis2 (cannot locate .qgis3, ...
0
votes
0
answers
13
views
How to change the measurement unit of X axis on Longitudinal Profile using Profile Tools Plugin QGIS
I have an issue with measurement unit of X axis when I plot longitudinal profile using Profile Tools Plugin QGIS like the screenshot attached below.
QGIS version : 3.28.9 Firenze
What I have done are:...
1
vote
0
answers
688
views
Loading Python plugins on QGIS [closed]
I've been having problems loading several QGIS plugins. I've just done a reinstall of QGIS 1.7.4., followed all the instructions, so just did a default installation (I've tried the osgeo4w installer ...