Questions tagged [qgis-plugins]
Software plugins that add functionality to the QGIS package
2,914
questions
0
votes
1
answer
562
views
QGIS 3.10 UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 136: invalid start byte
I'm a complete newbie to programming and QGIS. I'm working with a virtual machine.
If I start a new SWAT Projekt in QGIS, click on Delineate Watershed and load in the .tif file that I need I get the ...
1
vote
2
answers
225
views
Install qgis-server-font-loader Plugin on QGIS 3.4.8 (Windows Server 2016)
I'm trying to install this plugin: https://github.com/avinet/qgis-server-font-loader.
First I copied the Zip-folder in C:\OSGeo4W64\apps\qgis-ltr\plugins
then I opened QGIS and installed the plugin ...
0
votes
0
answers
24
views
Bringing to front QGIS plugin dialog with toolbar icon click
Is there a way to bring the already opened QGIS plugin dialog that I wrote to the front with a click on the icon in the QGIS toolbar?
By default, it only opens on click, and to bring it to the front I ...
0
votes
1
answer
198
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
0
answers
26
views
Editing Python code of QGIS plugin
I would like to edit the python code of this plugin : "Buffer Without Overlaps " https://plugins.qgis.org/plugins/buffer_without_overlaps/ as it's mentioned in the answer wrote by @bbublue ...
0
votes
0
answers
59
views
Using "Buffer Without Overlaps" plugin (QGIS)
I am trying to use the "Buffer Without Overlaps" plugin with this shape file.
However, I am facing the following issue:
Error: Algorithm saga:polygonselfintersection not found
How do I ...
1
vote
1
answer
38
views
Point Feature is not shown in the map
I want to create a QGIS Plugin in which the user is clicking on the map to get the coordinates which are used to create a point feature. However until now the point feature is not shown in the map. ...
0
votes
0
answers
15
views
Exporting animation video or gif with qgisthree2js plug-in in QGIS
I created a 3D scene with the qgisthree2js plug-in in QGIS and prepared an animation with 18 frames. I'd like to export it as a gif or video, but there are only png and glTF options. I tried screen-...
0
votes
1
answer
32
views
Georeference toolbar in QGIS does not show up [duplicate]
I need to use Georeference toolbar and I searched for it under Raster tab, but it was not there. I searched for its plugin to install, but there is no Georeference plugin to install, instead there is ...
1
vote
1
answer
27
views
Under ‘create new project’ the ‘use current project as is’ button is greyed out. How do I fix this please?
In Mergin Maps on QGIS, under ‘create new project’ the ‘use current project as is’ button is greyed out. It worked first time but then I deleted my project via Mergin Maps website because I made some ...
1
vote
1
answer
351
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 ...
0
votes
0
answers
37
views
Update ui progress bar from calculation class (pyqt5)
I have 2 classes :
first class : a "processing class" running some calculation;
second class : a "ui" class that displays a progress bar and a label.
The goal is, as the ...
5
votes
1
answer
503
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 ...
3
votes
1
answer
724
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 ...
0
votes
0
answers
37
views
QGIS plugin error with PyArmor
My Python project works fine when I include it as a QGIS 3.28.6 plugin. I have also successfully used PyArmor to obfuscate the Python files in PyCharm, however that causes me to get some errors in ...
1
vote
1
answer
491
views
Can't open QGIS 3.8 plugin manager on OSX
I have not been able to open the plugin manager in QGIS 3.8. I am running Sierra OSX. This is the message that I get when I try to open the plugin manager:
An error occurred during execution of ...
2
votes
1
answer
216
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 ...
2
votes
1
answer
43
views
Layers Created from table not saving?
I'm new to QGIS.
I have imported a shapefile for a road network. I have then imported a table containing condition data about the network. I have used the LRS plugin and the data displays perfectly ...
1
vote
1
answer
58
views
Lines not showing up on canvas when setting symbology in PyQGIS
in my code I'm doing this:
self.final_lines = QgsVectorLayer(uri.uri(), "final_lines", "postgres")
mySymbol1 = QgsFillSymbol.createSimple({
'color':'120,190,33,255',...
0
votes
1
answer
32
views
Using PyQGIS to make a custom measure tool that persists
Similar to how Google Earth works where you can draw out a measure line, then click the draw line or draw poly button to draw a feature and the measure line stays on the map. How could I modify the ...
0
votes
0
answers
25
views
Add expression field to layer_1 to track id of polygon in layer_2 which is closest to line feature in layer_1 PyQgis
I just learned about the addExpressionField function which should be handy for my use case as I need to keep track of some info for a layer that is loaded in from postgres. I have a lines layer and a ...
1
vote
2
answers
49
views
Opening UI for QGIS plugin
I am trying to develop my first simple QGIS plugin, which just loads all shapefiles from a folder into the current project by opening a window and click there a button "import". the ...
0
votes
0
answers
18
views
Adding field to PostgreSQL vector layer without committing it to data source using PyQGIS [duplicate]
I'm loading in a few PostgreSQL tables in my QGIS plugin, I want to keep track of some extra information in the layer by using fields but I don't want to save these fields as columns in PostgreSQL.
Is ...
1
vote
1
answer
356
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 ...
1
vote
1
answer
808
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?
1
vote
1
answer
21
views
Displayed map from QGIS GEE Plugin not encompassing all of my roi
I want the least cloudy Sen-2 image from a certain period of time to be the background map for my QGIS project. I have also clipped the image to a rectangle that represents my roi, ca. 50km long ...
1
vote
2
answers
551
views
Managing download of map tiles in QGIS
I am very new to the world of QGIS and GIS in general.
I have been trying to download very large mbtiles using the Generate XYZ Tiles (MBtiles) option in QGIS 3.18 but my system crashes sometimes and ...
0
votes
0
answers
30
views
QgsProcessingAlgRunnerTask not working when started from Plugin
PyQGIS, using QGIS v 3.18. I am trying to run a processing algorithm in a separate thread in order to keep the UI responsive, using QgsProcessingAlgRunnerTask(). I can run it successfully using ...
0
votes
0
answers
44
views
Add raster layer from WMS service
I am trying to add Raster layer from WMS to QGIS map using Python.
I can open the raster image in the browser,
but when I try to add it to the map in QGIS I get an error "Layer data source could ...
46
votes
1
answer
64k
views
Installing QGIS plugin when offline
Due to various IT policies at my workplace, QGIS is installed on a machine that is not connected to the Internet. I wish to install a couple of QGIS plugins on this system.
I have downloaded the ...
0
votes
2
answers
180
views
Installing raster resampling module in QGIS
On the website of Sourcepole, I have recently come across the case of resampling images in Quantum GIS. Because I am rather a beginner in GIS software I would like to ask you for information about how ...
1
vote
1
answer
678
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 ...
5
votes
5
answers
10k
views
Plugins repository is unavailable
I'm using QGIS 2.18.20. On MacOS High Sierra 10.13.5
Only recently I haven't been able to find uninstalled plugins. The settings show the repository is "unavailable".
I'm not using a proxy. I've ...
0
votes
1
answer
71
views
Getting the elevation around the boundary of polygon in QGIS
In QGIS 3.28.2 Firenze I'm working on developing a QGIS plugin to get the elevation along the boundary of a polygon.
Given a shapefile polygon and a raster, I've been able to think of one solution:
...
1
vote
0
answers
17
views
Expanding QGIS mask Plugin query
When I select a polygon and I apply the QGIS plug-in mask to it then a buffer is created around the polygon.
The plug-in does this with the following expression in my case:
in_mask(31370)
Can I ...
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
0
answers
12
views
Adding parameter in advanced search that is relative orbite number in SCP plug-in in QGIS
I would like to add a parameter in my "advanced search", that is "relative orbite number".
How do I do it with this plug-in?
I've tried this but it doesn't work.
7
votes
1
answer
271
views
Advanced search terms in the Semi-automatic Classification plugin
Background:
At QGIS 3.18.1, I can successfully download Sentinel Level-1C imagery by entering the granule that covers my area of interest (10UGU) in the Advanced search box.
Now I would like to ...
0
votes
0
answers
39
views
QGIS, Plugin Development + Python Virtual Environments
I've seen few articles around the internet but nothing straightforward/clear regarding this issue. I am planning to create a plugin that will require installing several Python libraries but I do NOT ...
0
votes
0
answers
13
views
QGIS crashes when using r.surf.gauss after installing new version
I installed the newest version of QGIS (3.30.1) after uninstalling an older version that I had (3.28.3). Now I'm having an issue with my r.surf.gauss plugin crashing the program entirely when trying ...
2
votes
1
answer
81
views
How do I run a QGIS plugin on its Python API?
I have about 40 layers with attribute tables that have many NULL columns. I downloaded the plugin "Delete NULL Fields from Vector Data", which works. I'd like to automate it using the QGIS ...
1
vote
1
answer
719
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
0
answers
18
views
QgsRasterLayer WMS XYZ tiles pops warnings on status 204
I created a QGIS plugin.
I added a xyz_tiles layer with the following code.
layer = QgsRasterLayer(self.url, layer_name, "wms")
if layer.isValid():
...
0
votes
0
answers
13
views
QgsRasterLayer xyz_tiles asks for the same tiles again
I create a qgis-plugin with pyqis.
I create a raster layer of xyz-tiles server with following code
layer = QgsRasterLayer(self.url, layer_name, "wms")
if layer....
0
votes
0
answers
17
views
Area change error moluscle
I want to simulate future LULC change using QGIS 2.18.24 Molusce plugin. When I was running update tables option under area change, I got a python error message shown on the screenshot below.
How can ...
1
vote
1
answer
42
views
QGIS plugin, display image responses with known bounding box
I am building a QGIS plugin. The users will fill some parameters from UI and the response image will be displayed on QGIS map.
There is a back-end service that serves images (PNG, WebP, JPEG) of given ...
0
votes
2
answers
378
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?
0
votes
0
answers
20
views
QGIS formedit signal change value in real time
I’m developing a QGIS plugin for internal use in the organization where I work. We have a particular case in where we need to be able to detect the event of a change of value in a widget of MapValue ...
1
vote
0
answers
49
views
Running QGIS Plugins in Python console
I usually use Python console in QGIS to run frequently used processing algorithms.
This time, I wish to use one of the QGIS plugins (plugin named QNEAT3) and I have downloaded it. I am able to use it ...
7
votes
4
answers
5k
views
Using Spatial Query plugin from PyQGIS
Is it possible to reach the Spatial Query plugin functionality in QGIS from a Python script (PyQGIS)? If so, how do I accomplish this? Haven't found any documentation for it, even in the C++ API docs.