Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [qgis-plugins]

Software plugins that add functionality to the QGIS package

0
votes
0answers
3 views

Midvatten plugin - ERROR when importing csv file

I am trying to import csv files of water levels and stratigraphy but it's difficult. I get the message (see image of the first step): INSERT OR IGNORE INTO obs_p_w_lvl (geometry, obsid) SELECT (CASE ...
0
votes
0answers
8 views

Getting rid of qt.qpa.plugin Error?

I am trying to execute standalone python script outside QGIS. But when I try to initialize Qgs Application , it give me below error . I don't have any idea how to get rid of it . from qgis.core ...
0
votes
0answers
24 views

PyQGIS - Plugin processAlgorithm. Same code, different results in script vs plugin code

I'm adding functionality to a QGIS Plugin to create a print layout and add stuff to it like a map, legend, etc. To test this code, I wrote a script. The script works and creates the print layout the ...
1
vote
1answer
35 views

PyQGIS - Plugin returns error from processAlgorithm. Invalid Result

I've written a script which automatically creates a print layout and exports it. Now I'm trying to integrate the code into my plugin's code. The plugin has some existing functionality and I'm adding ...
1
vote
1answer
33 views

Qfield and Qfield sync plugin

Good day everyone, Does anyone have a link to a tutorial for using Qfield / Qfield sync plugin? My project folder is 25Gb and there is no way to add this onto the tablet.. I only need certain layers (...
2
votes
2answers
36 views

Selecting features of a shapefile using attributes of another shapefile

A newbie here trying to learn QGIS for work. How can I select specific features of a polyline with the same values as the attributes of the buffer polygons I generated? I have a layer of polylines ...
-2
votes
0answers
15 views

Error of processing JSONDecodeError while search [closed]

Error of processing JSONDecodeError: Expecting value: line 4 column 1 (char 3) while searching Google basemap.
1
vote
1answer
44 views

Retaining symbology used in QGIS when building map in QGIS2web plugin?

I am a GIS tech for a telco company, I build a lot of maps in QGIS and am always trying to find ways to share the map and its data with my workers. When i build my map in QGIS and try to open ...
3
votes
0answers
39 views

How to test the geometry type from a list of layers and then join it with PyQGIS 3

Summarizing my problem, I'm a beginner and I'm developing a plugin that will be able to do several spatial joins. For this, it will have to separate the spatial from the non-spatial layers and do the ...
2
votes
1answer
17 views

Assign lineEdit to Variable for a QGIS 3 plugin

Good day to all, I am trying to create my first QGIS 3 plugin, I am using Plugin Builder and Qt Designer, I want to add a variable named name with lineEdit to be able to use the information entered ...
0
votes
1answer
25 views

Semi-Automatic Classification Plugin Syntax Documentation?

I am want to integrate SCP module for DOS corrected into my script. However there appears to be no documentation of its python syntax structure available anywhere?
0
votes
0answers
18 views

Plugin Validity in Migration QGIS 2.18.19 to QGIS 3.4.4 [closed]

I am fairly new to the QGIS platform, as I have worked on it only for the last year. I need to check if the following plug-ins will be available in the newest LTR release: -Georeferencer GDAL (I see ...
2
votes
0answers
56 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 ...
4
votes
2answers
81 views

Adding missing python packages to QGIS Plugin?

In our plugin, we dependent on some external python packages. Some are available in QGIS, some (like pandas or fiona) are not. I've written small script, which checks requirements and if something is ...
1
vote
0answers
24 views

points2one plugin subsitute for QGIS 3.4.4 version [duplicate]

Points2one plugin is not compatible with QGIS 3.4.4. It's quite useful for our works related to forestry. Is there any other substitute plugin or new upgrade version of points2one plugin?
2
votes
0answers
18 views

QGIS turn right click — “Toggle Editing” off

In QGIS3, Interface customization I have turned off the mEditMenu but when a user right clicks on a dateset they still see "Toggle Editing". Is it possible to remove this? and also any keyboard ...
0
votes
1answer
44 views

Grid spacing by attributes, QGIS

Is it possible to define point grid spacing by attribute in QGIS? EDIT: I really dunno is this even possible. Added a picture where I try to demonstrate the situation. So the problem is that I want ...
1
vote
1answer
42 views

Cannot install any plugins: please see error

Using QGIS version 3.4.4. No issues with version 2.18.28 When attempting to install any well credited plugin, I'm presented with the following error. `Couldn't load plugin 'nominatim' due to an ...
1
vote
0answers
22 views

Eventfilter on MapCanvas

I'm trying to capture MouseClick events on the QgsMapCanvas. The goal is to intercept the right mouse button and display a custom context menu. If the right mouse button is pressed with a modifier key ...
0
votes
0answers
16 views

JOSM-like editing for QGIS

I am used to digitizing stuff using JOSM, the Java OpenStreetMap editor. Recently, I tried some digitizing in QGIS and it felt rather clumsy. What I was missing specifically was an equivalent to the "...
2
votes
0answers
36 views

QGIS BadLayerHandler - setDataProvider()

I've made a bit of a plugin to handle badlayers (I'm aware that Change datasource plugin had something for this but the code appears to have been removed now?). I've followed the advice provided in ...
1
vote
1answer
51 views

Custom QGIS 3 Plugin and I get “Couldn't load plugin 'add_layer' due to an error when calling its classFactory() method ”

I am trying to create a basic custom QGIS plugin - all it will do is load a dataset from a list into the current project. I keep getting the above error and can't figure out what's causing it. I ...
1
vote
0answers
14 views

How to set project CRS with plugin (sqlite layer)?

I'm loading a sqlite db into the current project of qgis with a plugin. The standard CRS is EPSG:4326, however i want the canvas to be set at EPSG:3857. When running one of the 2 codes in the console,...
1
vote
0answers
33 views

Using TimeManager in QGIS?

I'm using QGIS 3.4.1 and TimeManager 3.0.2. I've tried every combination that I've seen suggested and still cannot get a working animation. Started w/ a CSV import, saved to an ESRI shapefile. All ...
1
vote
1answer
52 views

Using SAGA GIS for TPI classification?

I processed one country with TPI, and I got a certain Landforms classification of terrain. (Topographic Position Index (TPI) calculation as proposed by Guisan et al. (1999)). When I processed only one ...
1
vote
0answers
53 views

QGIS Plugin: display dialog for entering username and password to connect to the database

I do not want the password and username to be saved in the QGIS project. Instead of standard QGis dialog(QgsCredentialDialog) I want to display "my dialog" for entering username and password. On the "...
0
votes
0answers
12 views

DEM colour themes add-in for QGIS [duplicate]

Is there any plugins / add-ins for QGIS that give more of a variety than the default colour ramps?
2
votes
1answer
30 views

Missing R scripts in QGIS 3 after install

After install Processing R Provider plugin (v.1.0.1) in QGIS 3.4 I only got test.rsx. I'm able to create new scritps but I can't acess scripts already installed in my OS (Linux Mint 19.1) trough R ...
2
votes
1answer
45 views

PyQGIS Processing: “memory: not found”

I try to run a QGIS plugin in QGIS 3.4 that uses processing to execute algorithms in a row: params_snap = { 'input' : input, 'type' : 1, 'tool' : 1, 'threshold' : ...
2
votes
2answers
134 views

How to convert several 'point' data to 'line' data?

I am using QGIS V3.4. I have over 1000 data points situated between a start and finish point expressing the Depth of coverage (DOC) of a pipeline. I need to identify the places along the pipeline ...
4
votes
1answer
151 views

Processing R Provider plugin for QGIS 3.4

I downloaded Processing R Provider plugin (v.1.0.1) which allows us to use R in QGIS 3.4. Installation and settings were really smooth. This plugin automatically recognizes R installation folder and ...
1
vote
1answer
35 views

QGIS 3.4.4 - PyQt 5 - Browsing button doesn't react with QFileDialog.getSaveFileName()

I'm trying to work through the tutorial : http://www.qgistutorials.com/en/docs/building_a_python_plugin.html to build a plugin in QGIS 3.4.4. and to implement it with PyQt5 (instead of PyQt4 library ...
3
votes
0answers
98 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
1answer
120 views

Display name when hover over plugin icon in QGIS

I have made a QGIS plugin (Python) and when I hover my mouse/cursor over the icon in QGIS the name of the plugin seem to be "Plugins Toolbar". I have searched all .py scripts in the directory of the ...
1
vote
1answer
27 views

Zonal statistics error - Algorithm Zonal Statistics starting… DatasetReadAsArray() got an unexpected keyword argument 'interleave'

After updating QGIS to 2.18.28 I cannot use Zonal Statistics. As soon as I use it (Raster EPSG 25830 and Polygon 25830), I get the following error message "Algorithm Zonal Statistics starting... ...
2
votes
1answer
77 views

Start/stop Python plugin during execution by just clicking on plugin button

I created a Python plugin in QGIS which is working fine. Now I want that whenever a user clicks on the plugin button (located on top of QGIS bar) it counts the number of clicks. If the number of ...
1
vote
0answers
36 views

Wrong or missing parameter QgsProcessingParameterFile QGIS 3.4 Python plugin

I'm making a script that can be called by the processing.execAlgorithmDialog function. For one of the parameters, I want to use the QgsProcessingParameterFile class for selecting a .csv file. I tried ...
1
vote
2answers
83 views

Understanding law or etiquette when applying changes to open-source software, specifically QGIS?

I am interested to know if there are any laws or etiquette surrounding the use of people's third party plugins or QGIS itself. What I am especially interested in is when a user accesses your code and ...
0
votes
1answer
55 views

How to maintain OpenStreetMap labels/details (from QuickMapServices) when exporting from QGIS? [duplicate]

My question is about OpenStreetMap place labels in QGIS, and how to keep them at a similar size when exported to as they appear in the software. I realise variations of this question have been asked ...
3
votes
2answers
52 views

Getting coordinates from mouse click in QGIS 3 (python plugin)

I am trying to get coordinates from a mouse click in QGIS 3 and python 3 using the plugin builder. I have tried using the response from this post, and i can manage to get the coordinates printed to ...
0
votes
0answers
16 views

How can I use Evis in QGIS for more than one photo name in a cell divided by a comma?

I'm using Evis to see a photo having the name in a cell of the attribute-table. When there's a single photo name there's no problems, but I can't see multiple images when I have multiples names ...
2
votes
1answer
59 views

Creating list of intersected polygons for each line using QGIS?

I have a line layer representing transport routes. I would like to add a virtual layer listing every city crossed by each line. I would only need the id of each city to be listed (column Code_INSEE)....
0
votes
0answers
22 views

QGIS SCP plugin: Band calc errors

The Band Calc tool in QGIS' Semi-Automatic Classification (SCP) plugin returns errors, even though the source rasters are valid. For example, I have dividing Band1/Band2 (landsat 8) returns a raster ...
2
votes
0answers
49 views

Does the Clipper plugin for QGIS work with Shapefile layers?

I created 2 overlapped polygons in one Shapefile layer, run the intersection tool with another layer and then run the Clipper plugin. This causes the error: TypeError: MultiPolygon geometry cannot be ...
2
votes
1answer
23 views

Using Plugin > Map Creator > Set Layer CRS

I am using map creator and I would like to permanently set the layer CRS value. I place multiple maps within one project on QGIS, and I have to manually set the CRS value each time a new layer is ...
0
votes
1answer
37 views

Using QMessageBox to debug during QGIS plugin development?

I am developing a plugin in QGIS 3.4 and usually I debug with QMessageBox. Everything is running ok until I debug a list and the result was this one. What happens?
1
vote
0answers
17 views

Qgis Python Plugin leaves orphaned variables in RAM, even after plugin reload [closed]

My python plugin for QGIS 2.18 opens files with millions of features. To convert them in Qgis readable format, I run through several external python libs, one of them is a R-Tree tool, consuming 10G ...
1
vote
1answer
60 views

Method asPoint().x() doesn't work in QGIS 3.4.3 but did in 3.4.1

I have built a plugin which does essentially this equal sized polygons along line Main parts of the code are from user lejedi76 I have used this plugin for months now and it worked as expected. ...
0
votes
0answers
27 views

QGIS plugin - Works on PC, not on Mac

I'm adding some functionality to an existing QGIS plugin (EcoValuator from Key-Log Economics). After playing with the existing version of the plugin, it works on a PC, but not on a Mac. The issue is ...
0
votes
0answers
39 views

Semi-Automatic Classification Plugin install failure [closed]

I'm trying to download the Semi-Automatic Classification plugin in QGIS 3.4.1 but keep getting this error message coming up. Couldn't load plugin 'SemiAutomaticClassificationPlugin' due to an ...