Questions tagged [qgis-plugins]

Software plugins that add functionality to the QGIS package

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Join Multiple Lines Problems

I am using the Join Multiple Lines plugin for QGIS Hannover to join segments of a watercourse layer and while it seems simple enough, it just doesn't work, I select the segments I want joined, select ...
0
votes
0answers
17 views

Converting QGIS plugin to ArcMap tool [closed]

I am using a tool on QGIS called area-weighted average but I do the rest of my process at ArcMap so I want to use it on ArcMap as a tool. Can I convert the script of QGIS plugin to an ArcPy script or ...
1
vote
0answers
14 views

Why is the preview in SCP working, but the actual classification not?

I am using the Semi-automatic Classification Plugin (SCP) to classify Sentinel and Landsat satellite imagery. I have training ROIs saved in a file (.scp) and (re)calculated their spectral signatures. ...
1
vote
0answers
25 views

PyQGIS: Load selected style categories with loadNamedStyle()

I would like to load a specific category of the default style of a layer. Layer and style are stored in a postgres database. The loadDefaultStyle function doesnt take arguments, so i tried this from ...
0
votes
0answers
35 views

Convert .qgz (or .qgs) to .mxd?

Is there any way to convert a QGIS project (format .qgz or .qgs) to ESRI's ArcMap map (format .mxd)? A QGIS plugin would be helpful.
0
votes
0answers
19 views

Moving elements together from two different layers

How can I move elements together from two different layers? I have to move element which consist of three separate elements on three separate layers. I attach a screenshot below. So is it possible? ...
0
votes
1answer
89 views

Running standalone script into plugin with Button Click

Below code can be use to get the X,Y Coordinate of clicked location . class PrintSnappedPoint(QgsMapToolEmitPoint): def __init__(self, canvas): self.canvas = canvas ...
1
vote
1answer
38 views

How can I store a project or global variable that references an object PyQGIS?

I am working on an expression that creates an object, Specifically, I am creating a connection to a database (cursor), which remains available until it is closed. I need the reference to the object to ...
0
votes
1answer
81 views

Is it possible to host QGIS on a computing server?

I'm working on a project with QGIS Desktop 3.18.3. My plugin always crashes. Is it possible to host QGIS on a computing server? If so, will it improve the performance?
4
votes
1answer
72 views

Compiling resources.qrc with QGIS 3.20 (could not find qt5_env.bat)

To compile resources.qrc file with pyrcc5 we usually do qt5_env.bat py3_env.bat pyrcc5 -o pathtoplugin\resources.py pathtoplugin\resources.qrc using OSGeo4W Shell as described in many questions on ...
3
votes
1answer
79 views

Connecting mouse to canvas layer to shift attributes of a layer in QGIS

I am currently trying to develop a QGIS plugin which takes in data to plot points onto a PNG file. One of the objectives of this plugin is to be able to shift points on a layer by dragging and ...
1
vote
0answers
12 views

QGIS v.net not working for certain lines data

I am trying to make a connected network using the v.net GRASS tool. It has worked for 3 vector line layers but is not working for two. I am not sure what the problem is. I used the same settings for ...
2
votes
1answer
65 views

QGIS Custom Style XYZ Google maps label is too small or blurry for high resolution printing

I am trying to print a map with one of the layer I use Google Maps data for street name label by using QGIS, since Google has more detail and complete street name label than OSM, but the problem is ...
2
votes
1answer
23 views

Disable image reloading in QGIS 3.16.10 georeference

I am trying to georeference an image (about 50mb and 20000x20000px), and every time I move the image or add a point it reloads/updates the image in georeference window and it takes about 1 minute to ...
1
vote
0answers
27 views

Interpreting Ruggedness Index calculated from SRTM Tiles

I am looking for help interpreting the values from Ruggedness Index calculations. I downloaded SRTM tiles using the SRTM Downloader plugin in QGIS. Then I calculated ruggedness from SRTM tiles in QGIS ...
2
votes
1answer
56 views

Efficient filtering of many options in QGIS Plugin

Using PyQGIS, I am developing a QGIS plugin that includes a filter function. It should make handling easier for users (internal) who rarely use QGIS. Now I have created a interface with the QT ...
5
votes
1answer
78 views

Database form as QGIS plugin with PyQGIS and QtDesigner

I try to build a QGIS plugin to add data into a SpatiaLite database. All relevant tables are load into the QGIS Layers Panel. At first, I want to select a feature in table_1. This table has geometries ...
2
votes
1answer
57 views

Crayfish plugin doesn't work in QGIS 3.20 [closed]

I have installed QGIS 3.20 in my computer and wanted to use crayfish plugin for Mesh analysis. When I install the plugin it shows the following error and the plugin does not appearing in the toolbox ...
3
votes
0answers
64 views

Adding a fixed table to layout in QGIS

I wonder how to add a fixed table into QGIS layout. I've tried this solution but it doesnt work : model = MyOwnQgsFeatureFilterModel(layout) tableEnsemble = QgsLayoutFrame(layout, ...
0
votes
0answers
17 views

While using smart-map app in QGIS this the error showing

This is the error, showing in my QGIS. How to solve this? An error has occurred while executing Python code: ValueError: range() arg 3 must not be zero Traceback (most recent call last): File &...
1
vote
1answer
42 views

Creating a plugin/button from a python script and make it usable for others via Zip install or plugin manager

I have a python script I use to edit layers for certain projects. As a processing script from the toolbox and using the python console, the script works but I can't manage to create a plugin to use it ...
2
votes
0answers
27 views

Disabling checkbox in layers list while exporting in qgis2web

Is there a possibility to disable the checkbox on certain layers in the layers list (Leaflet export)? I found something similar already here: qgis2web - show specific layers in layer list but ...
0
votes
1answer
29 views

Plugin Update from Python 2 to 3, ModuleNotFoundError: No module named 'resources'

I am currently working on an update for an old Plugin which I want to use in QGIS 3. I came across the problem, that when trying to import modules in the same directory of the plugin.py errors occure. ...
0
votes
0answers
17 views

QGIS Semi-Automatic Classification Plugin Error

I loaded the SCP (Semi-Automatic Classification Plugin) in the QGIS. I want to perform Random Forest Classfication operation with using SCP. However, the following errors raising; I don't know how to ...
2
votes
1answer
75 views

QGIS plugin problem with several Ui's

I wrote a plugin in PyQGIS, which contains several Ui's (using QT Designer). When I run the code in the QGIS Python console, it works wonderfully. Now I would like to make it available internally for ...
2
votes
0answers
22 views

Attribute based clustering plugin (in processing toolbox?)- QGIS

In QGIS Python Plugins Repository there is a Plugin called "Attribute based clustering". Because it's a plugin I cannot use it in graphical modeler. The thing is that I want to cluster ...
1
vote
0answers
26 views

Adding CityGML as vector layer in QGIS

Is there a possibility to add CityGML data to my QGIS Project? If I want to add it as a vector layer. QGIS always freezes and doesn't work anymore. After googling I found the Plugin CityJSON but I don'...
1
vote
1answer
33 views

QGIS 3.16 with AutoSaver plugin: Renamed bak-files were not opened correctly or just as a blank project, respectively. (Win 10)

Though my current QGIS-project was not saved in that very moment, yesterday evening my Win 10 decided to run an OS-update and shutted down. 'No problem', I thought because of having installed the ...
0
votes
0answers
18 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
1answer
84 views

Python attribute error class has no attribute dlg

I am trying to create a plugin for QGIS, when I initialize the start of the plugin build and create the GUI without coding any of the buttons associated with the GUI the plugin works, but as soon as I ...
2
votes
1answer
39 views

QField Sync used in different Laptop/Machine

I configured a QField Package project using my machine/laptop. It worked great and was packaged successfully. Then, after I collected data from the field, I synchronized it using the QField Sync ...
1
vote
1answer
40 views

Error while opening qpt layout file

I want to save my layout. I've tried this solution but and it worked. The file is created but when I try to open it, it doesn't work. I don't know why. Here is my code: project = QgsProject.instance() ...
0
votes
0answers
67 views

Create multiple Window Plugin with Python for QGIS

What is the smoothest way to design a multiple Windows Python Plugin for QGIS. Should I create multiple Qt-Designer Windows and try to conect them, or is there a way to create the Windows in one Qt-...
5
votes
2answers
90 views

QGIS Plugin for Shortest path with multiple Stops

I have been asked to find the shortest route from a particular start point to multiple properties along our shires road network. In QGIS I have tested the different network analysis tools and other ...
0
votes
1answer
21 views

QgsTask: finished-function isn't executed

I am writing a plugin for QGIS. I created a task by subclassing QgsTask, it's basically copied from the PyQGIS Cookbook and looks like this: import json import urllib.request from qgis.PyQt.QtCore ...
0
votes
1answer
95 views

Rename layers within group automatically by adding a prefix derived from group name using QGIS

I have some Sentinel derived rasters (time series) divided in tiles. In my QGIS (3.16) each tile is represented by a group. Each group contains rasters from different dates and according layernames. ...
1
vote
1answer
59 views

Adding layer to GeoPackage

While running the following code canvas = qgis.utils.iface.mapCanvas() layer = canvas.currentLayer() print(layer.name()) options = QgsVectorFileWriter.SaveVectorOptions() options.actionOnExistingFile =...
1
vote
0answers
43 views

Adding multiple vector layers into GeoJSON file

I have multiple polygons stored in a list like this : def drawParcel(self, propriete): length = len(propriete.name) i = 0 while i < length: layer = QgsVectorLayer('Polygon', ...
1
vote
0answers
24 views

Type object 'GeometryType' has no attribute 'LineGeometry'

I am new to QGIS and I want to export a shapefile to SVG. It's a simple shapefile from Germany that I downloaded from https://www.eea.europa.eu/ and applied some changes as I wanted. I downloaded ...
1
vote
0answers
18 views

Shapefile Attribute table: Automatic numbering of points arranged in (non-orthogonal) row/line based blocks, by row order + from left to right

I have a Sentinel time series of several rasters, which contain reflection values for 10 Sentinel-bands. Now I'd like to excerpt these values for given points. The sample points are arranged in pixel ...
0
votes
0answers
47 views

Whitebox tool not in QGIS 3.16.5

In QGIS 3.16.5 I can not see a whitebox tools to create contour from raster. Why the whitebox tool does not appear in my QGIS version?
1
vote
1answer
35 views

Transforming dataframe into feature attribute table in Processing plugin using PyQGIS

I am trying to develop a processing plugin using "Create New Script from Template". In this plugin I have created a pandas dataframe. Assuming the df looks like this: C1 C2 0.25 0.84 0.36 ...
1
vote
0answers
20 views

QGIS Plugin Manager is not available in QGIS 2.18. for Mac

I cannot access the repository because it's not available, and when I updated it doesn't work. So, I cannot install plugins. I already try to download the plugin and saved it in the path /Applications/...
0
votes
0answers
12 views

Autocorrelation Plugin Python Development

I have a QGIS Plugin I'm currently working on with various features one of them being performing autocorrelation of a couple of attributes of the selected layer. I have already developed the ...
1
vote
0answers
48 views

"IndexError: list index out of range" for SCP plugin in QGIS

I am using QGIS 3.20 on a Mac with the SCP plugin for pre-processing Landsat 8 OLI images. While I pre-process, I check the following options: Allow calculation of brightness temperature in Celsius. ...
0
votes
0answers
11 views

How to make a layer using mean squared error(MSE) from temperature prediction?

I made a temperature prediction for the next 4 hours using a dataset for 1 year with 10 minutes interval time. I have a file with the coordinates from 20 weather stations (longitude, latitude and ...
0
votes
0answers
44 views

Testing plugin out of QGIS

There is a testing folder in the plugin's directory. Is there a way to launch tests outside the QGIS (without launching QGIS at all)?
2
votes
0answers
22 views

Using PDAL in custom QGIS plugin

Is there a way to use PDAL in the custom QGIS plugin without conda (especially in Windows)? The only solution I'm using now is conda environment activation and launching QGIS from this environment ...
2
votes
1answer
43 views

Clustering points showing the sum of HHS - QGIS 3.18

I have a points layer in QGIS. Each points represent a building. In the attribute table, each point has a field representing the number of HHs in the building (1 HH, 2 HHs, etc...) I want to use the ...
1
vote
1answer
53 views

Printing message with map canvas coordinates after user click in QGIS Plugin

I need to print a message after the user pushes the button "Prueba". The message must contain coordinates "x", "y" from the user's click in the map canvas. I don't know ...

1
2 3 4 5
52