Questions tagged [qgis-plugins]
Software plugins that add functionality to the QGIS package
2,913
questions
1
vote
1
answer
21
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
13
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
30
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
25
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 ...
0
votes
0
answers
30
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 ...
0
votes
0
answers
28
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 ...
0
votes
1
answer
30
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
24
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 ...
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
2
answers
47
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
29
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 ...
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
0
answers
16
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 ...
0
votes
0
answers
43
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 ...
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.
0
votes
0
answers
37
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 ...
-2
votes
0
answers
24
views
Python plugin for getting elevation along the boundary of a shapefile [duplicate]
I have a shapefile of an Indian state and the raster data/DEM of India, and I want to get the elevation data along the boundary of the state as a DEM.
the problem with picture 3 method is that some ...
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 ...
0
votes
1
answer
70
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:
...
2
votes
1
answer
77
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 ...
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
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
14
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 ...
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
45
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 ...
0
votes
1
answer
32
views
Load a region in higher resolution with JAXA Earth API plugin in QGIS
I am trying to get elevation data for whole countries from AW3D30, but the plugin for QGIS - JAXA Earth API - only seems to allow loading a region equivalent to your screen at a time, and at an ...
0
votes
1
answer
33
views
Use mbtiles to add custom data provider as layer
We have a custom server that serves raster in a bounding box. So parameters are selected raster id's, bounding box and so on in a payload.
Our user wants a plugin to use it. They also want more detail ...
3
votes
0
answers
48
views
Use a specific date of Google imagery as basemap in QGIS
I am using Google imagery as a basemap by "XYZ TILES", but I want to choose a specific date to display older images like Google Earth.
Is there any method to specify the date of the Google ...
1
vote
1
answer
43
views
Python error when trying to export QGIS project for QField
I am a self-professed QGIS/QField newbie with no formal training, just what I've cobbled together from working on previous assignments with people far more astute than I. Once a year, I update QGIS, ...
0
votes
0
answers
20
views
QGIS Official Plugin Repository is available in MacOS
No matter which version of QGIS I download, the status of my "plugin repositories" says "unavailbe". And I can't delete this entry as it comes with the system.
In addition, when I ...
2
votes
1
answer
82
views
Why Layer Combinations plugin is not available in QGIS?
QGIS "Layer Combinations" plugin is now deprecated. These are its characteristics: Store and restore layer visibilities, foldings and zooms in "combinations". The visibilities can ...
2
votes
2
answers
82
views
Why Travelling Salesman Problem plugin is not working in QGIS 3?
I would like to use the TSP plugin in QGIS. In my current version of QGIS 3.30, it shows an error saying that this plugin was developed for versions 2.14 - 2.99. I tried several versions (e.g., 2.14, ...
0
votes
1
answer
105
views
Pyqt5 : dynamically change label value, with no clicking signal
I have a question regarding PyQGIS.
I am currently developing a plugin, and I wish to update a window's label as soon as the window opens, without having to click on a button.
Here is what I do: I ...
0
votes
0
answers
25
views
QGIS urban infrastructure accessibility and sufficiency analysis
I have been using QGIS and plugin QNEAT3 to conduct the accessibility and sufficiency analysis for urban infrastructure (e.g., gyms, clinics, restaurants, banks, cycling facilities, train stations, ...
1
vote
0
answers
49
views
Calculating average slope of line using QGIS [closed]
I am new to GIS and QGIS. I am using QGIS3.2 on Apple Silicon/OSX. I am trying to calculate the approximate average slope in percentage of a ski run (piste), which is a line, using a calculated ...
3
votes
1
answer
59
views
Numerical digitize give a stack trace error on all releases after 3.18 [closed]
I use the numerical digitize plugin often and it no longer functions in versions of QGIS released after 3.18. Please help or offer another option.
The error is as follows
2023-03-25T14:42:28 ...
0
votes
0
answers
32
views
Minimal distortion using cartogram3
I would like to produce anamorphic maps using the QGIS plugin known as cartogram3.
Unfortunately, when I apply it to my data, the effect is minimal.
The variable has a range between 0 and 2.5 and ...
1
vote
1
answer
75
views
New plugin is not working after add new packages that wasn't imported by Plugin Builder
I'm quite new to the plugin development. So I'm trying just to use the clip method to clip specific layers. But after the reloading the plugin I'm always getting thid message:
ImportError: cannot ...
0
votes
0
answers
12
views
Source code of the QGIS "Extract Labels" processing tool?
Where can I read the source code of the QGIS "Extract Labels" processing tool (native:extractlabels)? I did not find it in the QGIS folders on my computer or on the github: https://github....
0
votes
0
answers
17
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?
0
votes
1
answer
51
views
Calculate difference between 2 measured points of depth of different manholes in a road
I have a question regarding creating relations between some information in the Qgis-system.
The situation where I would like to make relationships is as following.
I have several “manholes” which are ...
0
votes
0
answers
40
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
2
answers
57
views
QGIS keeps closing when trying to reenable the Processing Plugin
Refers to:
QGIS version 3.22.2
Windows 10
I was doing first steps in the processing script environment and added testwise the code line
qgs = QgsApplication([], False)
to the processing script. After ...
0
votes
1
answer
422
views
TypeError: QgsRubberBand(): argument 2 has unexpected type 'bool'
I am trying to install the 'Digitizing Tools' plugin in QGIS version 3.30.0-'s-Hertogenbosch but am getting the below error. I am not a GIS tech and have no idea what this means and google is not ...
1
vote
0
answers
61
views
Convert a model to a plugin
I have a complex model that I want to convert into a plugin. The model includes multiple tools (shared polygon edges, Dissolve, Buffer, Retain, Refactor and merging vector layers) with dependencies ...
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 ...
2
votes
0
answers
57
views
Plugin installation failed in QGIS 3.28 in macOS Catalina [closed]
I am trying to install any plugin (official ones) and I keep getting the following message:
Plugin installation failed: Failed to unzip the plugin package.
Probably it's broken or missing from the ...
4
votes
1
answer
58
views
Issue with QR code Layout item plug-in
I need through a QR code give an https address, with parameters, like https://MyWebSite/Mywebpage?Myparam=1234. The objective is to open a specific page of MyWebsite, and pass the parameter MyParam ...
0
votes
0
answers
22
views
Semi-Automatic Classification Plugin: Matplotlib error
I recently installed QGIS 3.22 in my MacOS system. But when I installed "Semi-Automatic Classification Plugin", this error occured:
Semi-Automatic Classification Plugin: Error. Check Python ...
1
vote
0
answers
48
views
Plugin Zonal Statistics not available in 3.30 anymore
I would like to use the Plugin "Zonal Statistics" in 3.30 Version but can`t find it. I also downloaded it manually, but QGIS says "This plugin is incompatible with this version of QGIS&...