Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [qgis-plugins]

Software plugins that add functionality to the QGIS package

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

Can't login to QGIS Cloud plugin - QGIS 3.8 OSX 10.13

I have a QGIS cloud account (free) and login via the web-page, so I think my access is fine. But when I try to login via the QGISCloud plug-in via QGIS Desktop on my MacBook, I get Python Errors. My ...
3
votes
2answers
94 views

Listing of vector layers

I am in the process of writing my two first QGIS plugins. (https://github.com/sickel/qgisSpectre and https://github.com/sickel/qgisstripchart) both of them contains two drop down boxes, one to select ...
2
votes
0answers
28 views

Error: QGIS VectorFieldCalc plug-in “Raster_Parameters_Errors: More than one raster band in raster”

I have used VectorFieldCalc plug-in in QGIS several times before, to make maps of marine currents from .nc satellite data. Recently, I have tried to redo some of the maps and when I try to calculate ...
2
votes
1answer
62 views

QgsMapCanvas layers disappear on canvas panning/zooming

I am trying to write a plugin that will show an image based on its footprint in the vector layer. Currently, I have a problem with QgsMapCanvas. Layer in QgsMapCanvas disappear when I pan/zoom canvas. ...
1
vote
1answer
36 views

Split polygon with selected line from another layer in QGIS

I am trying to split a selected polygon ("regions") with a selected line from another layer ("streets") in QGIS 3.8.3. In the example below, I want to split the selected polygon coloured in yellow ...
2
votes
1answer
29 views

Changing location of plugin folder in QGIS 3?

I want to change the default location of the plugin folder in QGIS 3. The reason is that the default location is read-only, but I want to create and use self-made plugins. Can I change the location ...
5
votes
1answer
42 views

QGIS plugin development and libraries

I would like to develop a new plugin for QGIS. I'm new to python but good knowledge in other languages. I use "plugin builder" to create the bases of my plugin. Then i would like to add specifics ...
1
vote
2answers
47 views

Speeding up pan-sharpening with OTB plugin for QGIS (orfeo-toolbox)

I use QGIS 3.6.1 with the plugin orfeo-toolbox to create a pan-sharped Landsat 8 image. I use the BundleToPerfectSensor function because calling the Pansharpening function results to the error: Inputs ...
0
votes
0answers
30 views

QGIS standalone application execution problem in Eclipse [on hold]

from qgis.core import * from qgis.gui import * from qgis.utils import * from PyQt4.QtCore import * from PyQt4.QtGui import * app = QgsApplication([], True) app.setPrefixPath("/usr", True) app....
1
vote
1answer
26 views

QGIS ordered set from layer.getFeatures()

I need a list of all values of a certain field in a QGIS dataset. To get this, I am using for festure in layer.getFeatures(): value=feature[fieldname] This is kind of working, but I have two ...
1
vote
1answer
53 views

Get the whole path and name of selected layer from QcomboBox in QGIS plugin

I am creating a temporary plugin for QGIS using the QGIS plugin builder plugin. Aim is to learn how to make plugins in QGIS. I have added two comboBoxes that allows the user to select a vector layer ...
0
votes
0answers
8 views

Size of cost raster in Least Cost Path plugin [duplicate]

When I run the Least Cost Path plugin in QGIS, its success is dependant upon the dimensions of the 'cost raster'. If the original DEM or subsequent 'cost raster' it too large then the operation seems ...
0
votes
0answers
12 views

Export classifier from SCP Plugin for use in other image classification

I have run a classification using the SCP plugin in QGIS. I want to recreate these results in a neighboring area and I am looking for help to see if it is possible to save the classification ...
1
vote
0answers
20 views

How to call for Matrix Parameter / Enum Parameter using Field Calculator in the graphical modeler of QGis?

I am using QGis Graphical Modeler v.3 It is possible to define, as an Input, a Matrix, defined as follows: "A table (matrix) parameter for processing algorithms". I want to use values stored within a ...
1
vote
1answer
39 views

Reference to raster list

I am writing my first Python plugin. There was a problem during work. The plugin is designed to select a raster and calculate the statistics for the area bounded by the vector. I have created a list ...
4
votes
2answers
124 views

How to exaggerate the elevation in QGIS 3.6?

I´m using QGIS 3.6 to create a Thematic Map with a basemap (STRM). So, to do that, I downloaded the STRM file (*.TIF) in this site: https://earthexplorer.usgs.gov/ File Name: s11_e040_1arc_v3 ...
1
vote
1answer
65 views

QGIS plugin mouseClickEvent

I am writing a plugin which shows a graph in a qGraphicsView based on some selected points. I want to be able to read out points clicking in the graph, so I've written a mosePressEvent eventhandler ...
1
vote
0answers
27 views

Installing plugin from URL in XML doesn't move files in plugin folder

When I try to install a plugin using a repo I created the downloaded zip file doesn't place the files within the plugins folder correctly. They are placed outside the folder. For example QGIS is ...
3
votes
2answers
68 views

Customize QGIS interface

I'm writing here to ask some questions for a thesis project. My ideas are confused, but I'll try to be clear. I have a GIS project that represents some historical goods in a region. Each good has ...
1
vote
1answer
29 views

Create QGIS Plugin UI with QGIS Designer - style like original tools

I developed a QGIS Plugin with QGIS Designer but my UI does not look as nice as original QGIS Tools and I was wondering if its possible to make them as good looking. Specifically, I don't manage to ...
1
vote
0answers
20 views

Converting Model in Plug-in in QGIS

Recently, I started making a model on QGIS and now I want to transform it into a plug-in, but it seems that I have to change the code to do it, otherwise it won't work. I already have the plug-in, I ...
1
vote
1answer
36 views

QGIS Map to Autocad (not SVG,PDF OR Image)

Is there any way to export the map extent set with Altas points in QGIS to convert to DWG instead of whole project or any shapefile?
0
votes
1answer
33 views

MMQGIS Plugin dropdown/icon not appear (QGIS 3.4)

I am on the latest LTR for QGIS (3.4) and have installed the MMQGIS plugin. In the older version of QGIS (2.18) this caused a dropdown menu to appear on the top menu bar. However, there is no dropdown ...
1
vote
0answers
30 views

Drawing/putting pushpin in QGIS map layer for specific lat/long or NGR?

How do I draw/put a pushpin in QGIS map layer for a specific lat/long or NGR? In MapInfo it is quite easy but just wanted to learn how to do the same in QGIS. I have version 3.8.3.
1
vote
1answer
63 views

QGIS enabling R via plugin

System Ubuntu 19.10, QGIS 3.4 I am trying to utilise R in QGIS for Ripley's K function. The sample R script 'Scatterplot' works with the Processing R Provider plugin, which indicates r-base is ...
2
votes
0answers
32 views

addParameter to raster in Python QGIS plugin

I create a plugin for processing two rasters. I want to set two input layers and one output layer. class CombineRaster: """QGIS Plugin Implementation.""" Input = 'Input raster' Input2 = '...
1
vote
1answer
42 views

Reading source code of QGIS tool?

I can see the source code of the core QGIS plugins from the repository in github. I want to use the code snippets of "information about object" tool of QGIS. I tried searching in program files but I'm ...
2
votes
0answers
57 views

I can't install any plugins on QGIS

I just installed QGIS 3.4 on my computer (macOS Sierra 10.12.6) and I'm trying to install QuickMapServices, but I'm unable to. My plugins window looks like this: and the settings tab says "The ...
1
vote
2answers
39 views

Where is Statist plugin in QGIS?

I am trying to install the Statist plugin to QGIS and I don't find it when I search within my plugins dialog. (see image) I'm running QGIS 2.18 on Ubuntu 18.04. I have the official QGIS plugin ...
3
votes
1answer
49 views

Unusable QGIS layer from PostGIS

I am developing a QGIS plugin. I need to load some polygons from a table in PostGIS. This table is defined with this SQL query : CREATE TABLE cad.polygon( id_polygon serial NOT NULL, geometry ...
0
votes
0answers
31 views

Installing qgis2web in QGIS 3.8

I recently went to install qgis2web on QGIS3.8 Zanzibar and got the same message, irrespective of checking and installing the QtWebKit5. I would like to be able to use the plugin in some training I ...
3
votes
0answers
53 views

No Vector Menu Available QGIS 3.4

I've installed QGIS 3.4 on my Mac. I don't have any vector or processing menu. In the "plugins" menu under settings, I have the following: "The settings on this tab are only applicable for Python ...
2
votes
0answers
30 views

IDE PyCharm settings for developing a QGIS plugin

How do i setup pycharm to recognize QGIS modules? IDE: PyCharm OS: Ubuntu 18.04 QGIS: 3.8 example of imports this answer is very close to the solution but I cannot add the interpreter location I'...
1
vote
0answers
30 views

How can to find tolerance in topology?

I am working with Topology plugins in Qgis 3.8, but I don't see tolerance in topology. I hope to get help. I have attach images.
3
votes
1answer
63 views

QGIS make line attribute

How to automatically load all my attribute values into a layer after manually adding an attribute field? Or how to achieve the effect of PointConnector plugin in a more flexible that retains ...
2
votes
1answer
41 views

Recommended icon properties for QGIS plugin?

Starting with PyQGIS documentation - Developing Python Plugins: icon - a file name or a relative path (relative to the base folder of the plugin’s compressed package) of a web friendly image (PNG, ...
3
votes
1answer
73 views

How to open ArcGIS filegdb in QGIS? [closed]

I have installed OSGeo4W following this: Installing QGIS with FileGDB? Now I have QGIS Desktop 3.8.3 and gdal-filegdb 2.4.1-1 installed on windows 10. I open directory that include the following ...
0
votes
0answers
43 views

local variable 'elevation' referenced before assignment"

I had got this error when I try run Qwater model. "2019-09-15T19:47:05 WARNING Traceback (most recent call last): File "C:/Users/OS10/AppData/Roaming/QGIS/QGIS3\profiles\default/python/...
1
vote
0answers
22 views

Choosing script writer/editor in QGIS Script Runner Preferences

I am a beginner to QGIS and have recently installed QGIS ver.3.82 onto my Windows OS laptop. I have downloaded the Script Runner plugin. I want to use my favorite my script writer/editor (either ...
4
votes
1answer
39 views

ModuleNotFoundError when installing plugin from zip

I have a plugin that I have developed for work and we have less than 10 users that will want to use it, so rather than publishing on the QGIS online plugin repository (https://plugins.qgis.org/plugins/...
1
vote
0answers
19 views

Creating rotated local grid/fishnet in QGIS with known AMG origin & rotation angle?

I have a local grid with known origin that is in AMG (metres) and a rotation angle. How do I establish that grid so that it can be projected into known CRS eg GDA94/ MGA Zone projection? I located ...
0
votes
0answers
13 views

Build Close Vertex Finder in QGIS

In OpenJump there is a tool called ClosedVertexFinder which you can use to find vertices which are too close to each other. https://github.com/ssinger/roadmatcher/blob/master/src/com/vividsolutions/...
0
votes
0answers
18 views

Method to change values in raster with certain conditions in Python (QGIS)

I'm creating a plugin which changes the temperature on a map based on a new land use value. For this I created a Dataframe with these temperature changes. For the indexes of the rows I have a raster ...
2
votes
0answers
20 views

Importing hdbscan in QGIS plugin?

I am building a QGIS plugin and would like to add hdbscan in methods. But when I import with OSGEO4W shell it failed at this line: File "C:\OSGeo4W\apps\Python37\lib\site-packages\hdbscan-0.8.22-...
1
vote
1answer
74 views

Unexpected behavior of QGIS appears when I load a raster layer

I have a small plugin for QGis which is collecting paratemters from gui for URL request to load raster layes (WMS). Example: urlWithParams = self.get_values() mylayer = QgsRasterLayer(...
2
votes
0answers
19 views

QGIS Layer List upgrade to V3 C++ plugin

I was upgrading a c++ plugin that I had used in the past and almost eliminated all the the usual changes according to the most current version (3.6). The plugin used to collect current map canvas ...
0
votes
0answers
28 views

The shortest path is not shown correctly at the time box

I am trying to find the shortest path using "Road Graph Plugin" in QGIS 2.18.22. When I set the Criterion as "Length", the length is shown but the time is not shown and it is shown as "infh". What ...
1
vote
1answer
44 views

Finding matching field values between two layers in QGIS?

I have two attribute tables, 1 from a shapefile layer (left) and 1 from a csv layer (right). I would like to find values in the first column ("KEY" column in shapefile layer) that appears in the ...
2
votes
0answers
42 views

Calculating line length to both sites in QGIS

Is there a function or a plugin for QGIS that works like this? I have a line, for example, 7 km I click on that line at any point A popup or something gives me the distance to the left an to the ...
1
vote
1answer
39 views

Import Shapefile into PostGIS using DB Manger Plugin

When I try to Import Shapefile into PostGIS using DB Manger Plugin in QGIS the error message show "Error 3 Creation of data source "TEST_EST_MILION" failed: ERROR: function addgeometrycolumn(...