Questions tagged [qgis-plugins]

Software plugins that add functionality to the QGIS package

Filter by
Sorted by
Tagged with
10
votes
1answer
4k views

QGIS 3.0 - qConsolidate or similar plugin

It appears that the qConsolidate has not been updated for Qgis 3.0. Are there any alternative plugins/functions available for exporting all layers and saving the project to a new folder?
10
votes
1answer
6k views

How does FlowMapper Plugin work?

I downloaded the FlowMapper plugin for Qgis and I can't seem to find any information on how it is supposed to work... Also the text seems to cut-off and not fully showing for the input fields so I'm ...
10
votes
2answers
2k views

Starting QGIS with virtualenv Python?

is there any means of telling QGIS to use a different Python installation than the default, system-wide one? E.g. use some virtualenv Python /myvirtualenv/bin/python instead of /usr/bin/python? ...
10
votes
3answers
9k views

Splitting irregular polygon into equal areas using QGIS?

I am a surveyor and use QGIS for maintaining soil test records on civil projects and am constantly provided with test lot area or number of lots required. These are more often than not irregular in ...
10
votes
1answer
3k views

Creating raster layer from numpy array using pyqgis?

I am working on a plugin for Qgis to calculate spatial Kernel density maps. I have all the calculations working, all I am missing is a way to turn a Numpy Array, with density values into a multiband ...
10
votes
1answer
851 views

Creating Human Trafficking Heatmap in QGIS?

I'm trying to create a heatmap with about 325 points distributed around the city of Houston. (FYI Houston is a major human trafficking in the US: a title shared with LA and Atlanta depending upon ...
10
votes
2answers
339 views

QGIS Cross Section Profile Distance using Ellipsoid?

I am working with QGIS 1.8 and 2.6 and can't get any of the Cross Section Profile tools to provide the ellipsoid ("proper") distances. All the distances use geographic coordinates which are too long/...
9
votes
1answer
6k views

How to transform a selected multipart feature into singlepart features while editing in QGIS?

There are several questions and respective answers for how to make a multipart features Layer into a singlepart features one using QGIS: How to break a single polygon into multiple polys? How to ...
9
votes
3answers
3k views

Is it possible to set up a local QGIS Plugin repository?

I've developed a couple of custom QGIS Plugins for use by our office. I can't post them to the official QGIS Plugins repository as they reference/utilize sensitive data on our own servers. For ...
9
votes
1answer
2k views

Programmatically associating layer with custom UI using PyQGIS?

I know it is possible to associate a layer with a custom UI for editing feature attributes using the QGIS interface. But is this possible with Python? This link shows how to achieve the result ...
9
votes
1answer
6k views

QGIS - export a project with dependencies

I was wandering if there was a way to save a specific project with all layers as dependent files to make it easy to share with collaborators. for example, create a zipped or non-zipped folder ...
9
votes
2answers
863 views

Odd behavior in a QGIS plugin: my function is triggered twice

I have a plugin with a function (triggered by a button) that selects a specific layer by name, then shows its attribute table. When I close the plugin and open it again, the attribute table pops up ...
9
votes
4answers
5k views

What QGIS plugins do you consider to be essential? [closed]

What QGIS plugins do you consider to be essential - vector, raster, geoprocessing plugins?
9
votes
1answer
3k views

Adding PostGIS layer from QGIS Python plugin

I try to develop a plugin to add postgis layers to qgis from a plugin as part of learning python. The code for adding a postgis layer is taken from the cookbook and work fine if I run it from the ...
9
votes
1answer
1k views

Automatically save python scripts in QGIS

When writing python scripts, QGIS does not save them when the user saves his main project with the ctrl+S command or with Project->Save. Besides, when leaving QGIS, the program does not warn about ...
9
votes
2answers
570 views

Distributing QGIS plugin which depends on certain Python packages

I developed a plugin for Qgis which depends on some Python packages. On Linux and Mac, this is not really a problem because I can easily install them with the system pip command. Windows is another ...
9
votes
1answer
1k views

How to use third-party package in a QGIS plugin?

I'm developing a QGIS plugin and I would like to use arrow or requests packages as I'm used to manipulate dates and REST APIs. QGIS does not come with these packages (at less arrow), so when I try to ...
9
votes
1answer
479 views

How do I implement PyQGIS multithreading to update a progress bar

I am developing a PyQGIS plugin using python. I facing a problem during the implementation of threading in my plugin. I have written a Python script which contains a class wrapping all geo-processing ...
8
votes
4answers
773 views

Quickly review one by one all the features in a dataset in QGIS

I have about 400 features in a point dataset. I would like to (quickly) visually check their locations one by one on the map. For now, I open the attribute table alongside the map. I select the first ...
8
votes
2answers
2k views

Plugins crashing with “No module named qgsprojectionselectionwidget” in Windows?

My Python QGIS plugin works on Ubuntu (at least for me, and all fatal bugs reported so far are solved), but when I run it on QGIS installed from the official 2.10.1 64-bit installer for Windows (on ...
8
votes
3answers
3k views

Where has the cartogram plugin for QGIS gone?

This plugin used to be downloadable from Carson Farmer's plugin repository page. However, the repository is broken. An old version of the plugin source code is still available at https://code.google....
8
votes
3answers
2k views

no Get More in Plugin Manager in qgis 2 + ubuntu 13.04

After upgrade of qgis 1.8 to qgis 2.0 I couldn't find the choice "Get more" in Plugin Manager and I can't install plugins.
8
votes
2answers
3k views

How to find disconnected islands in a road network layer, using QGIS

I have a road network layer that can't route from one side of the layer to the other. Topologically, there is no connectivity between the start and end nodes, probably due to missing links. This ...
8
votes
1answer
2k views

What is the purpose of some functions and files in QGIS Python plugins?

I'm just trying to understand the architecture of a QGIS Plugin created with the QGIS Plugin Builder, as well as the workflow and the linkage among generated files. If possible, I'd prefer a diagram. ...
8
votes
2answers
3k views

How to select and zoom in features from a QGIS Python Plugin

I'm very new to Python. I'm trying to find a way to select and zoom to the features from a QGIS layer. I've created a plugin and built a custom form. I have 3 values from the form which I need to ...
8
votes
2answers
3k views

How can I add a second Toolbar Button and Dialog to a QGIS plugin built with Plugin Builder?

I want to create a toolbar with 2 buttons, each button opening a different form. The steps I followed are: Created a plugin using Plugin builder Created a toolbar with 2 buttons by doing the ...
8
votes
1answer
18k views

What's the proper format for WKT linestrings when importing into QGIS?

I'm trying to run the following test CSV through the Delimited Text plugin as WKT data: oid,Line 1,LINESTRING((45.554194 -122.686101, 45.433001 -122.762632)) 2,LINESTRING((45.432505 -122.598327, 45....
8
votes
2answers
3k views

Loading Multiple CSV Files into QGIS 2.10

How can I load multiple CSV files into QGIS with Longitude/Latitude already included in it. I downloaded the "Load Them All" plug-in, however, the result loaded was converted as text files and cannot ...
8
votes
2answers
2k views

How to build QgsExpressions in python?

How can I build a feature request expression using variable inside expression? For example values = [1, 2, 3] for j in range( y ): it = vl.getFeatures( QgsFeatureRequest().setFilterExpression ( u'"...
8
votes
2answers
3k views

QGIS Processing Progress

I have been developing a python plugin that uses Processing algorithm for raster calculations. I want to support the gui with progress bar. How can i connect Processing job to progress bar? I found ...
8
votes
2answers
555 views

QGIS crashes when doing a rollback after modifying values of an user-added feature with pyQGIS

I'm developing an addon for QGIS that needs to assign a UUID to any feature as soon as it is added to the layer. I'm using the featureAdded signal to write the UUID in the corresponding field of the ...
8
votes
1answer
1k views

How to debug a QGIS python plugin with popups?

I'm trying to write a python plugin for QGis. I'd like to debug some DB queries and I need a way to display the result. I thought about using a popup to display it, but I don't know how to show a ...
8
votes
2answers
3k views

Seeking purge function to remove layers from qgs file which are not present in Layers pane of QGIS?

I have some QGIS projects that I've been using for long time, adding and removing layers, updating reference to deleted or moved files etc. Opening the qgs file with a text editor I see that it ...
8
votes
1answer
1k views

Using memory layer for processing algorithms in QGIS 3

I would like to run a processing algorithms in QGIS3 with a memory vector layer as result. When I define the memory layer as shown in the following, I get the error Incorrect parameter value for ...
8
votes
1answer
3k views

Is the use of Google Earth imagery via the OpenLayers Plugin in QGIS legal?

I understand the terms and conditions WRT use of Google Earth imagery in external applications are strict. Years ago ArcBruTile offered such service in ArcGIS the legallity of which was ...
8
votes
1answer
4k views

How to enable GRASS-modules in QGIS?

I have the latest QuantumGIS-1.9.0-master from Github with python-modules support and full GRASS-integration (GRASS-4.6.3-RC2) on Linux. When opening the GRASS-tools plugin, it only displays six ...
8
votes
3answers
5k views

How to extract slope from topographic raster map? [duplicate]

I am working on a project for a machine learning class wherein I extract features from a topographic raster map and then classify the traversability of the terrain. One of the features I need to ...
8
votes
2answers
4k views

Where can I find documentation on QGIS C++ Plugin Development?

Is external C++ plug-in support available for QGIS? I'm having a really hard time getting started here. I followed the doc here: http://download.osgeo.org/qgis/doc/manual/qgis-1.1.0_coding-...
8
votes
3answers
6k views

Unable to Install External QGIS Plugins

I'm using: QGIS version 1.8.0-Lisboa on Windows XP, installed using OSGeo4W I am behind a proxy but I have configured it in Options > Network. When I go to Plugins > Fetch Python Plugins.. All of ...
8
votes
1answer
343 views

Fixing headings for QGIS custom widgets in Qt Designer

I use custom Qt widgets like QgsMapLayerComboBox for my QGIS plugin, laying the whole thing out in Qt Designer. Using those requires fixing headings in .ui file as described here. Unfortunately I have ...
8
votes
4answers
3k views

Snapping points to line and calculating chainage using Open Source GIS

I have a line layer (representing a pipeline) and a points layer (representing valves) and I would like to calculate the chainage of the valves along the pipeline. I assume that I would first need ...
8
votes
1answer
1k 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, ...
8
votes
1answer
2k views

Issues Accessing ESRI File Geodatabase within Quantum GIS Desktop

I am trying to access ESRI file gdb from Quantum GIS. I am on Windows 7, 64-bit. I have found many useful threads on how to set up this functionality within Quantum GIS. The method I went for is ...
8
votes
0answers
247 views

Remove reference to raster layer object PyQGIS

I am developing a plugin to load a set of raster files on QGIS. When there are a large number of files to be loaded, the main UI is freeze. So I use QgsTask to move the creation of raster layers to a ...
7
votes
7answers
6k views

Georeferencer plugin will not load in QGIS

I have downloaded and installed QGIS. I would like to georeference an image using the core georeference plugin. When loading it no toolbar appears and the 'update', 'reinstall' etc boxes in plugin ...
7
votes
5answers
17k views

How to install OpenLayers plugin on QGIS 1.8?

After having installed QGIS 1.8 I am not able to find the OpenLayers Plugin. In "the old days" I know I was supposed to check "add 3rd party repositories", but that button has disappeared. I tried ...
7
votes
2answers
3k views

Get a pixel value

How can i do this operation: I want to get a pixel value fro the satellite image (Landat, GeoTIFF, 7 bands) using qgis-python. What operators should i use? (for example in qgis's Python Console)
7
votes
3answers
5k views

How to remove all selection from all registered layers using QGIS plugin?

I want to remove all selection from registered layer in QGIS using Python. I tried to clear the map canvas using: self.iface.mapCanvas().clear() self.iface.mapCanvas().refresh() but the selection ...
7
votes
3answers
2k views

How do I set layer transparency in QGIS 2.0 with Python?

I have a raster layer loaded in QGIS and I'd like to be able to set its transparency via the Python console. I'm new to the API and have not been able to find out how to do this. Any help would be ...
7
votes
1answer
2k views

Where's the Plugin called Plugin Reloader

Just installed the QGIS 2.16.1 Nodebo version, while trying to sink my teeth into building plugins , I found that the plugin called "Plugin Reloader" doesn't exist !! Please help

1
2
3 4 5
48