Questions tagged [qgis-plugins]

Software plugins that add functionality to the QGIS package

Filter by
Sorted by
Tagged with
1
vote
0answers
19 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
59 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 ...
1
vote
1answer
36 views

What are 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
60 views

How to open ArcGIS filegdb in QGIS?

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
35 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
19 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
32 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
17 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
17 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 ...
1
vote
1answer
73 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
27 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
40 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
38 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
37 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(...
3
votes
1answer
62 views

R Code in QGIS - Stratified Random Sampling of Land Cover Classified Raster

I'm trying to write code using the Processing R Provider scripting in QGIS. The script is to perform a stratified random sampling scheme on a classified land cover raster image. The land cover codes ...
1
vote
1answer
46 views

Aligning rasters with Python (QGIS)

Does someone know if there is a SAGA or GDAL tool that is capable of aligning two raster layers? For the creation of a plugin I want to automate this process so the raster alignment option of QGIS ...
1
vote
1answer
28 views

Extra [ ] in layer QGIS Python Console

I'm trying to write a "simple" plugin as training and to automate a task repetitive task as well. I would like to have the map layer hardcoded instead of make sure you select the correct one but if I ...
1
vote
0answers
29 views

AutoForm Plugin for QGIS 3.6

I cannot find the AutoForm plugin. I am using QGIS 3.6, have this plugin perhaps given another name, or where do I find the functionality. I am trying to create lookup tables following this tutorial ...
2
votes
1answer
37 views

QGIS Python, adding attributes and populating the fields

I am writing a script to add attributes and then populate the fields. When I run the script in QGIS in the python console, it works. But when I put it in a script and run it through a plugin, it only ...
1
vote
0answers
28 views

QGIS log Error displayed within Quick OSM Plugin

I am having an issue using the Quick OSM Plugin. I am using QGIS V3.4. I am following this tutorial linked below. QGIS Training Manual The issue I am facing is occuring at Step 9 of section 1.2.1 '...
2
votes
1answer
39 views

QGIS georeferencing plugin workaround

I need to georeference an image. I had QGIS 3.2 installed. When I clicked on "Plugins -> Manage and Install Plugins" QGIS froze. So, I tried installing 3.8 and the same things happened. Tried 3.4, ...
2
votes
0answers
15 views

Real Centroids plugin QGis 3.4.4 Inavlid Geometry?

The plugin gives on a specific feature the following error message: "Invalid or empty geometries found". Is the following topology not supported?
0
votes
0answers
35 views

Any QGIS plugin to facilitate the creation of hiking maps?

There used to be this one https://plugins.qgis.org/plugins/AreaPrinter-master/ whose description reads:: AreaPrinter simplifies the process of creating print composers for navigation-quality ...
2
votes
1answer
43 views

Adding information to layers in group (QGIS)

For a QGIS plugin I want to access the layers in a group called 'Drawings'. For this I want a ComboBox with the list of layers. I tried different methods but can't get past the fact that i am refering ...
1
vote
0answers
21 views

Find Topology error in polygon layer

I try to find topology error in this polygon layer using QGIS 2.18 with topology rule of "must not overlap": but i don't understand why with the Topology checker, only several areas marked in red, ...
0
votes
0answers
33 views

Least Cost Path in QGIS: Plugin or SAGA or GRASS?

I downloaded a SRTM file and followed this tutorial and now I have a hillshade layer and a color layer. It looks like this. I want to calculate the least cost path between p1 and p2. But I'm not ...
2
votes
1answer
15 views

QGIS3 - Fast jump to another feature

I am looking for a method (plugin) to choose next feature of my vector layer really fast. I need to edit a lot of polygons and fast choosing next record is really necessary (using arrow or something ...
1
vote
1answer
59 views

Adding Vector File Server Layer In QGIS w Plugin?

I'm using QGIS 3.8 and trying to connect to the following vector tile server layer using the latest version of the vector tile reader plugin: https://www.arcgis.com/home/item.html?id=...
2
votes
0answers
27 views

Making a delimited text file for my data in QGIS?

I am using QGIS 2.8 and I want to make a mesh file for dam break simulation. I am following a tutorial of BASEmesh for it. BASEmesh is QGIS plugin. My data is in form of dam dimensions, geometry and ...
1
vote
0answers
22 views

Using QGIS plugin that's designed for use in interface within PyQGIS?

I need to use a plugin that's designed for use within the QGIS interface in PyQGIS. For example https://github.com/dgoedkoop/joinmultiplelines works great but I want to run it within a script, so ...
1
vote
0answers
42 views

Functions like iface.actionSelect().trigger() not working in Plugin?

I want to activate the 'selection Button' in the attribute Toolbar with a click on a button. I always get the error that my class object has no attribute 'iface'. What am I missing here? (I am ...
2
votes
1answer
34 views

PyQGIS/PlugIn: How do I pre-check if processing function is executable before I get a QGIS critical error?

I built a PlugIn with the 'native:shortestpathpointtopoint' tool to find the shortest path between two points on a multipolyline. When I run the Plugin I want to get a message with information about ...
0
votes
0answers
16 views

ModuleNotFoundError: No module named "PKG.resources'

Trying to use plugin builder to work create plugins in QGIS 3.6 The conventional fix would appear to be running pb_tools the issue being that I can't get it to read everything from the right places. ...
0
votes
1answer
90 views

Getting India map on QGIS canvas using PyQGIS?

Can I get India map extent in one click from OSM tile on canvas using PyQgis? This is my code snippet. canvas = iface.mapCanvas() urlWithParams = 'type=xyz&url=https://a.tile.openstreetmap.org/{...
0
votes
1answer
70 views

Can't open QGIS 3.8 plugin manager on OSX

I have not been able to open the plugin manager in QGIS 3.8. I am running Sierra OSX. This is the message that I get when I try to open the plugin manager: An error occurred during execution of ...
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
3answers
181 views

Manipulating value with toolbar

In my project, I use 3 layers with a line geometry. Every line in the layer is a contour with the same depth "valdco". For operational ease, I color these lines blue, red en orange (as seen in the ...
2
votes
0answers
20 views

How to run a Python plugin on QGIS startup

I am new to QGIS and Python plugin development. Is there any way to execute a Python plugin when QGIS starts up? I read startup.py file can be used. What method should I try?
1
vote
1answer
40 views

Showing attribute table in QGIS plugin

I'm trying to develop a plugin which grabs a layer from the project and shows its attribute table in a tableView. My code is as follows: def getVectorLayer(self): layer = None layername = ...
1
vote
1answer
50 views

QGIS plugin: Set the size of the plugin when loaded and change the name

I have two quick questions with the plugin I built: (Red circle) How can I set the size of the plugin window when it loads into QGIS? The default size when loaded is a little bit too small and not ...
1
vote
1answer
51 views

Automatically exchange QGIS layer datasources during project opening?

Do you know of any existing QGIS plugin that automatically exchanges layer datasources during opening of a Project? I would like to transparently switch our users from "PostGIS A" server to "PostGIS ...
1
vote
0answers
47 views

Storing information from a Combobox in layer in QGIS/PyQt

I am building a plugin for QGIS and want to add a string to a created polygon. In my dialog I was able to create a ComboBox filled with 10 different strings which can be added while creating the ...
1
vote
0answers
30 views

Plotting velocity fields in QGIS 3.6 [closed]

I need to know how to plot a velocity field in QGIS 3.6. I have u, v and magnitude data in a CSV file. I installed some plugins such as Crayfish, vector field calc, contour plugin, point sampling ...
1
vote
2answers
55 views

Lines will not stop curving, can't draw a straight line

I am new to QGIS and I realize this is probably a really silly question but I am at my wits end I've been trying to solve this for hours. I need to make a simple line layer to represent the sewer ...
0
votes
0answers
38 views

Filter and search large WFS in QGIS

I'm using a large WFS layer that should be searched in such a way that it's filtered by three columns before loading into QGIS. I know that QGIS has a filter option, but I'm wondering if there is a ...
1
vote
1answer
34 views

PyQGIS QgsProcessingAlgorithm: no output layer when cancelled

For one plugin I maintain, I can't figure out how to return output layer when the user hits 'Cancel'. Basically I'm looping over a set of results in processAlgorithm which populates the output layer ...
2
votes
1answer
49 views

Using QGIS Slider for filtering based on attributes?

For each of my layers, I have various attributes that I might be filtering on, like attribute A < 1000 AND B > 300 etc.. Just like we can add an opacity slider to the legend, I want to be able ...
5
votes
1answer
155 views

Importing text as legend or to legend in QGIS?

I have a layer consisting of appr. 30-45 classes. The majority of the classes has an item description containing multiple lines of text. In ArcMap I can achieve a layout like this Is a similar layout ...