Questions tagged [qgis-plugins]

Software plugins that add functionality to the QGIS package

515 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
1answer
683 views

Editing Layout-Items after loading a QPT-Template in QGIS 3 with Python

I am facing a problem with the new Layout API while implementing a plugin for QGIS 3. Starting point is a layout template in qpt-Format, which contains different elements like (attribute) tables, map, ...
6
votes
0answers
351 views

Adding layer using QgsMapLayerRegistry within thread PyQGIS Plugin

I am developing Python QGIS plugin, where I am opening two threads in run function with one thread performing calculation while second thread is printing value looping and when first thread is ...
5
votes
0answers
307 views

Add private plugin repository to QGIS 3.4

I want to add a repository to my QGIS 3.4 which is on a private server. The repository contains all files needed (plugin.xml and metadata.txt for example) and has the structure as described here: Is ...
4
votes
1answer
469 views

Enabling QGIS Official Plugin Repository in the 3.4.1 Version?

I am using QGIS version 3.4.1. Recently, I cannot install new plugins. I have looked in the plugin setting. It seems that the link is blocked. The address is "https://plugins.qgis.org/plugins/plugins....
4
votes
0answers
204 views

Get signal on delete group on QGIS 2.18.16

I tried : QgsProject.instance().layerTreeRoot().willRemoveChildren.connect(self.onWillRemoveChildren) It works if I delete a group within in the root node. But if I delete a layer within a group ...
4
votes
0answers
221 views

Is it possible to get the compression level of a GeoTiff?

When creating a GeoTiff and using Deflate or LZW as compression it is possible to select the level of compression from 1 to 9. Is it possible afterwards to see which level was used? I have a lot of ...
4
votes
1answer
81 views

Cell Size and nonsensical results from GRASS r.walk

I've been wrestling with two main problems the past six hours. I am using 30m resolution aster/srtm merged dem. When I use the r.walk function to calculate a walking time surface from a point, the ...
4
votes
0answers
867 views

QGIS plugins not installing

I'm trying to install plugins on a fresh install of QGIS 2.18.12. I can connect to the plugins repository but trying to install any plugin fails with the error message: Failed to unzip plugin package....
4
votes
0answers
105 views

Open QGIS project files in exclusive mode / alert if project file already in use

I have QGIS-Project-Files saved to a network drive and was wondering if it is possible to warn users that a project file is already opened by an other user to prevent concurrent editing of the same ...
4
votes
0answers
697 views

module object has no attribute classFactory

I asked this question several days ago on the QGIS developer list but didn't get any love. I'm hoping someone can help me resolve this error. I have a custom repo and a custom plugin that I'm ...
4
votes
1answer
275 views

Showing only selected features from a a layer in the QgsComposerLegend?

I have developed a custom qgis plugin. I have a button to export the map canvas in the form of image along with the legend. I came up with the following code for the legend: legend = ...
4
votes
0answers
72 views

QGIS plugin window qt creator formatting is ineffective

I am developing a QGIS plugin. I have assigned the QGIS main window as the parent window of custom plugin using: QtGui.QDialog.__init__(self, iface.mainWindow()) But after doing so the problem is ...
4
votes
0answers
638 views

Seeking QGIS plugin with functions like ArcScan?

Is there a QGIS plugin which does raster scanning, like ArcScan. Typical QGIS Vectorization returns very bad outputs that have thousands of 'islands'. I require a clean and efficient vectorization ...
3
votes
0answers
53 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 ...
3
votes
0answers
46 views

Plugins that works with high resolution screens

I've written a plugin for QGIS (GeoDataFarm) and I've been using QT creator for all ui files of the plugin, which have worked fine for me. However, I just got an email from someone that tested my ...
3
votes
0answers
40 views

How to plot distances distances in meters in QGIS?

My goal is to plot circles on QGIS canvas by taking distances in kilometers from MySQL base. This is code I use: from PyQt4.QtCore import * from PyQt4.QtGui import * from qgis.core import * from qgis....
3
votes
0answers
218 views

Canceling task currently running in background using PyQGis?

I am trying to close QgsProject on loading layer (if password and username from QgSProject - datasource are incorrect) before QgsCredentialDialog is shown. on signal : QgsProject.instance()....
3
votes
0answers
42 views

Hiding Layer Source using PyQGIS

I am developing a plugin for QGIS that loads the layers of a WFS. For security reasons I would like the user could not know the layer source. How can I remove the path of the layer in Vector ...
3
votes
0answers
367 views

CadTools plugin functionality in QGIS 3 beyond Advanced Digitising Panel?

I've recently migrated to QGIS 3.6.0, and I've realised that the wonderful CadTools plugin is not compatible with QGIS 3. I tried to use the Advanced Digitising Panel, but it's cumbersome and not ...
3
votes
0answers
40 views

QChainage only works on first part of merged line

I'm trying to merge a number of lines into a single line for chainage purposes. Each individual line is created using OpenRouteService, then merged into a longer continuous shape using Edit > Merge ...
3
votes
0answers
88 views

Line perpendicular to the maximum axis of an irregular polygon (sinkholes) QGIS 3

I am performing a morphometric analysis of dolines using QGIS 3. The analysis consists of determining the longest axis (the union of the two most distant points of the polygon) and the shortest axis ...
3
votes
0answers
144 views

QGisPlugin : Trigger closeEvent by clicking 'X' in QgsAttributeForm

This is the code: def formOpen(dialog, layer, feature): """Function called when a connec is identified in the map""" global feature_dialog # Create class to manage Feature Form interaction ...
3
votes
0answers
106 views

QGIS 3 - Save processing output to memory and turn into numpy array?

I'm currently developing a python plugin for QGIS 3. In short, the code conducts among others a viewshed algorithm, turns the output in a numpy array and calculates some spatial metrics the user can ...
3
votes
0answers
180 views

Create lines to connect vertices in QGIS

I have a file that marks street edges and want to connect "crossing" points automatically. Image 1 shows the street edge, Image 2 shows the desired result. Is there a plugin or method I can use to ...
3
votes
1answer
303 views

Grid for atlas plugin

Any alternative for the plugin Grids for Atlas in Qgis 3?. I use it a lot because I always create atlas in my works but currently I have to create the coverage layer in qgis 2.18 and the continue my ...
3
votes
0answers
322 views

Using QGIS 3 Plugin Builder on a Mac

Now that I have QGIS 3 running nicely on my Mac. I am having another go at building some plugins. I have installed the plugin builder plugin and run it without problems and it has generated a source ...
3
votes
0answers
42 views

Installed plugins disappear after reinstalling 2.14

I am using Kyng Chaos package QGIS 2.14 on Mac OS 10.11.6, and uninstalled/reinstalled the software recently and each time I re-open a project I lose all my user-specified preferences that I initiated ...
3
votes
0answers
335 views

Autocompletion for VS and Eclipse when debugging QGIS plugins

I have been trying to get autocompletion to work in first Eclipse and afterwards tried with Visual Studio. I have been following these guidelines / Stack Questions IDE settings for writing and ...
3
votes
0answers
66 views

How to determine Kc value and apply it to r.sun?

As outlined in this link ( r.sun delievering unrealistic Values ) to get realistic values of kilowatt / meter-2, you must multiply the results by a "clear sky factor (Kc)". The link comments recommend ...
3
votes
0answers
71 views

PyQGIS expression with many inputs

I try to create some advanced expression using a QGIS plugin for education rules. I have a simple Gui : My Gui has 7 line edits for text inputs. I try to using this Expression: layer = ...
3
votes
0answers
791 views

Installing plugins for QGIS 2.18 on mac

I can't install any plugins on QGIS since updating to 2.18 (I am running High Sierra). I am connected to the QGIS Plugin Repository yet receive the error message: Plugin installation failed:Failed ...
3
votes
0answers
230 views

Are there any QGIS tools or plugins that can display photos stored in a database?

A colleague's team has been using the eVis plugin in QGIS to store research photos. eVis relies upon a filepath or URL stored in the data source (shapefile, Spatialite db, etc.). They are using a ...
3
votes
0answers
126 views

Closing windows by code QGIS 2.18

Im trying to close the window (by code) that appears right after the "add feature" tool is called. This is the window im talking: This is my plugin code: def run(self): """Run method that ...
3
votes
0answers
234 views

Why does Contours plugin crash QGIS 2.18?

I am running QGIS 2.18 on a mac and trying to use the Contours plugin. I've never had problems with it before but then I updated QGIS using Kyngchaos. Now Contours crashes QGIS when I choice "Filled ...
3
votes
0answers
60 views

Installing external software for QGIS Plugin

I'm wondering if anybody has experience in installing external software for QGIS plugins. I am developing one and I feel like I have hit a wall. I need to use osm2pgrouting, but it is written in C ...
3
votes
0answers
277 views

How does one create an “Embedded Widget” in the Legend section of a Vector Layer in QGIS?

By default, QGIS provides transparency widget but this can be extended by plugins registering their own widgets and assign custom actions to layers they manage. from QGIS 2.18 Manual How can I ...
3
votes
0answers
146 views

QGIS Custom Qt Widgets on OSX

When I install QGIS on windows I get a bunch of custom widgets in Qt Designer On OSX I can't figure out how to get those same widgets to appear in Qt Designer. I have set my environment variables ...
3
votes
0answers
357 views

minidump written to C: in QGIS PLUGIN

I have created a simple QGIS script using QGIS 2.18.3 and windows 10 and it works fine without errors.But I want to move that script to another PC where I have QGIS 2.6 and windows 7. I first copy-...
3
votes
0answers
289 views

Stop QGIS plugin execution

I made a QGIS plugin but I didn't built it with the current structure because I need to keep the dialog window open during execution. So I didn't use a QDialogButtonBox for "Ok" and "Cancel" button, I ...
3
votes
0answers
76 views

Passing a stand alone script in a plugin

I have a few stand alone scripts and I am in the process of making a toolbar from them. Most of my script have arguments like this : ##Points=vector ##Distance= number 2000 ... Those lines make a ...
3
votes
0answers
581 views

Install openpyxl in QGIS

I have built a plugin to try to read Excel files and save the chosen layer to CSV and I want to use openpyxl in QGIS, but there is a error: ImportError: No module named openpyxl
3
votes
0answers
120 views

Copy custom developed plugin from one computer to another

I have developed a plugin on a PC running QGIS version 2.18. Now I would like to installed it on another computer running QGIS version 2.14 essen. I have tried to copy by zipping the plugin and then ...
3
votes
0answers
59 views

ArcIMS equivalent in QGIS for adding images from external client

I am looking to add some images to the QGIS map canvas from an external server. My client has provided their server URL to access their data (with password credentials). The instructions to access the ...
3
votes
0answers
83 views

QGIS - Flowmapper uses only first node

Running on QGIS 2.14.2 for Mac OS X. I installed Flowmapper and prepared the three files required in txt format (node coordinates, node names, matrix). Flowmapper imports the files OK through its ...
3
votes
0answers
869 views

Building foot print detection from raster imagery in QGIS?

I read the article about Building RECognition tool (BREC) from GEM foundation visit www.globalquakemodel.org/resources/use-and-share/tools-apps/ Tried to work on Building foot print extraction in ...
3
votes
0answers
517 views

QGIS canvas refresh & rendering control from plugin?

Plugin Description I have been working on a plugin which essentially doing the same as "GPS information" live tracking but with capability of displaying two GPS streams. I am comparing streams and ...
3
votes
0answers
426 views

QGis Graphic Query builder for PostGis

My question is about availabe QGis Plugins that could help me with the following issue: I have a PostGis database that has one shapefile as a main table and a lot of tables containing the shapefile's ...
3
votes
0answers
712 views

Plugins incorrectly being disabled due to “causing QGIS crash”

I have QGIS 2.14.0 installed on my machine (W7 x64, AMD FX-8150 3.6GHz, 8GB RAM, SSD) and I'm having issues with plugins not opening by default when I open QGIS. The message I get (for each plugin ...
3
votes
0answers
346 views

QGIS 2.14 Processing plugin crashes - TypeError: must be string, not None

I've recently installed 2.14, and it worked fine for the first couple of days (Appart from Grass tools), including several program and computer reboots. Today I had this error show up Couldn't load ...
3
votes
0answers
242 views

QGIS 2.10 Can't load georeference plugin?

Apparently my problem was already present in older versions of Qgis. I don't know how to fix it, knowing I have a Linux system (Fedora 23). Somethiing similar here : Where to download QGIS 2.10? So, ...