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
44
votes
1answer
58k views

How to install a QGIS plugin when offline?

Due to various IT policies at my workplace, QGIS is installed on a machine that is not connected to the internet. I wish to install a couple of QGIS plugins on this system. I have downloaded the ...
28
votes
3answers
8k views

Getting started with QGIS plugin development?

I wish to develop a simple plugin for QGIS, which will open some data, and perform some specific processing. I tried searching on the QGIS wiki, but only found this link : http://www.qgis.org/wiki/...
28
votes
4answers
2k views

Development of a plugin which depends on an external Python library

I'm developing a Python plugin, the target is integrating into QGIS the functionalities of a PyPI Python library called 'elevation'. Is there an OS independent way of installing external Python ...
25
votes
1answer
13k views

QGIS 3 Plugin folder location

I am searching for default location for QGIS 3 Plugin folder I checked here but could not find : C:\Program Files\QGIS 3.0\apps\qgis\python\plugins C:\Users\Abhijit.qgis2 (cannot locate .qgis3, ...
23
votes
1answer
5k views

Accessing QGIS plugins in Python?

Is there a way to access QGIS plugins in Python? I'd like to write a script to do some geoprocessing, and I'd like to use the clip, regular points and convex hull tools in fTools, as well as the ...
23
votes
1answer
818 views

Displaying numbers of single band raster layer in QGIS without additional vector layer?

I wonder if there is a raster symbolizer in QGIS with a label option, that renders the cell values as labels of single band raster layer, a scalar field. The standard raster symbolizer dialog in QGIS ...
20
votes
0answers
4k views

Connecting ArcSDE to QGIS? [closed]

I have a need to be able to connect to and edit ArcSDE data in QGIS. This question has been asked before as: Is it possible to connect to ArcSDE using QGIS? https://hub.qgis.org/wiki/17/...
19
votes
6answers
26k views

How to access QGIS Plugin Repositories from behind a proxy?

I have been trying to teach myself QGIS by using this forum and others to help. Most of my questions can be answered by downloading plugins that are available through 3rd party repositories but for ...
19
votes
1answer
2k views

How to tell which QGIS plugins are slow to load?

We have new users of QGIS in our office that are dismayed immediately by the startup time of QGIS - which hangs on the 'Restoring Loaded Plugins' message on the splash screen. Is there a way to tell ...
19
votes
0answers
201 views

Output formats for QGIS Heatmap plugin not appearing in drop-drown in Ubuntu [duplicate]

I've been trying to use the heatmap plugin on QGIS (2.8.2) on Ubuntu(14.04) but the drop down for the output formats doesn't get populated. Selecting the drop-down allows me to press OK on the ...
18
votes
3answers
7k views

Visual Impact Assessment in QGIS or GRASS

Is it possible using QGIS or GRASS to perform a Zone of Visual Impact assessment? E.g. where can a 100m high structure be seen at a viewing height of 1.8m within 30km, taking into account elevation (...
18
votes
3answers
13k views

Programatically check for mouse click in PyQGIS?

I want to know how to check for a mouse click in QGIS. I am trying to write a python plugin and want to provide functionality similar to the "Select Single Feature" tool that already exists in QGIS. ...
17
votes
2answers
14k views

How to check Topology in QGIS?

I have two Shapefiles with Polygons ( City and Forerst) Is there a Plugin who is able check the topology (QGIS)? Like "Knots do not overlap" or something like that? I dont want that they overlap. ...
16
votes
1answer
448 views

Setup QGIS with local plugin repository only

Is there a best practice how to setup QGIS without the official repository but only with a local repository? The idea behind this is to setup a stable environment where local GIS-admins check plugins ...
15
votes
2answers
6k views

Creating sectors for telecom towers?

I work in the Mobile networks industry and i took up a task to create a plugin for QGIS using c++/python that does the following: step 1: Create points corresponding to each mobile tower based on Lat/...
14
votes
4answers
2k views

Writing automated tests for QGIS plugins?

I'm looking for advice on writing automatic tests for QGIS plugins written in Python. I have written tests for Python scripts in the past using PyUnit (the unittest module), but have never done so ...
13
votes
1answer
18k views

Getting layer by name in PyQGIS?

I have a plugin which finds buffer for list of cities, provided the distance. The state and city names are taken from the attribute table and gets filtered accordingly. What I want is My plugin should ...
13
votes
2answers
778 views

Where to report QGIS and QGIS-Plugin bugs?

I often find bugs in QGIS and its Plugins. I would like to ask about this on the internet but I do not seem to find the proper place to address this issue. Are there any instructions?
13
votes
1answer
8k views

How to remove a vector QgsVectorLayer from QGis python plugin

I managed to add QgsVectorLayer in QGIS through a python plugin, for example: vl = self.iface.addVectorLayer(uri.uri(), layerName, self.dbConn.getProviderName()) But how can I remove it?
13
votes
1answer
3k views

Import GRASS and SAGA modules to python script

I'm new at this. I am "building" a python plugin for qgis and I want to import modules from GRASS and SAGA but I don't understand how to do it. The plugin I want to import is Kriging interpolation ...
13
votes
2answers
15k views

How can I programatically create and add features to a memory layer in QGIS 1.9?

I had a working plugin in QGIS 1.8 which read data from an MSAccess database and added it to a series of memory layers. There is some processing involved in the interim so I don't think simply using ...
13
votes
1answer
510 views

Obtaining the distance from the QGIS Measure Tool?

I have built a plugin for feeding a Spatialite database with an input mask. There are two fields which represent the min/max dimension of an object. In the moment I call the Measure Tool (iface....
13
votes
2answers
3k views

How to call the interpolation plugin from the python console?

I would like to call the QGIS interpolation plugin function (TIN method) (Raster->Interpolate) from python console. I can't find the corresponding function within QGIS API or within the ...
13
votes
1answer
710 views

How to access a deleted features attributes (before committing)

I have a signal setup for a feature deletion event on a layer: self.layer.featureDeleted.connect(self.feature_deleted) When I try and grab an attribute from the deleted feature on the slot, a ...
13
votes
3answers
843 views

How to display charts next to features in the map?

This question is meant to be primarily on QGIS software but all other software solutions are welcome as far as it is possible to achieve it as easy as possible, preferably out of the box. Though the ...
12
votes
3answers
5k views

Need to Quickly Add Multiple Layers From Multiple Folders To QGIS Project

I have downloaded several imagery Zip files (content of each is jp2, jpg, jpw, xml, htm, and .dbf, .prj, .sbn, .sbx, .shp, .shx) and would like to quickly add this imagery to my working project in ...
12
votes
3answers
4k views

Make QGIS python plugin for both versions 2.x and 3.x?

I am in the process of migrating a QGIS python plugin from QGIS 2 to QGIS 3, and browsing various resources. It's not clear if it's possible to have the plugin compatible with both versions or if it'...
12
votes
3answers
3k views

Howto setup and use a remote GIS workstation (QGIS,GRASS,PostGIS)?

I'm using QGIS (and sometimes GRASS and PostGIS) on my 2009 MacBookPro for my thesis project. I was wondering (during an endless batch generalizing in QGIS) if I can set up a server so I can work from ...
11
votes
7answers
12k views

QGIS plugin: Problems importing resources (resources_rc) file - plugin doesn't load - PATH problems?

I'm building qgis plugin and I can't find solution for this error. File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in _import mod = _builtin_import(name, globals, locals, ...
11
votes
2answers
14k views

Google Maps not Showing in QGIS 2.12

The Google Maps in my OpenLayers plugin in QGIS 2.12 does not show anymore. The other maps do show, that is: OSM Bing MapQuest Stamen Apple Maps I tried in QGIS 2.8 and Google Maps does not show ...
11
votes
3answers
12k views

Splitting all lines in layer at vertices using QGIS?

I want to automatically split all lines in a QGIS layer at their vertices (like this). I've done a google search and found this article, which is quite close but the workflow is complicated. Because ...
11
votes
1answer
14k views

QGIS moving the layer/all features using Vector Affine Transformation

I'm using QGIS to analyse some flight tracks which were produced using a different software. Now when they are on QGIS the reference point of everything is on 0,0 which is the aerodrome reference ...
11
votes
1answer
3k views

How to hide/show QGisVectorLayer from Python code?

Once created a layer, how can I hide/show it? I can enable/disable rendering of a specific layer by selecting the checkbox through QGIS, but I need to do it programmatically from python code. How can ...
11
votes
1answer
20k views

How do I maintain a resposive GUI using QThread with PyQGIS

I have been developing some batch processing tools as python plugins for QGIS 1.8. I have found that while my tools are running the GUI becomes non-responsive. The general wisdom is that the work ...
11
votes
2answers
1k views

Couldn't load plugin 'processing' on windows 7 64bit

I installed QGIS (2.0.1-Dufour Dufour, d94c044) using both the stand alone installer and the OSgeo4w installer and seem to have an issue with the processing plugin. At first I thought that there was a ...
11
votes
1answer
818 views

Gram-Schmidt pan-sharpening in QGIS?

I need to perform Gram-Schmidt pan-sharpening, I don't have access to ArcGIS or ENVI so have been using QGIS. Is there any plug-in or similar capability that is available to perform Gram-Schmidt pan-...
10
votes
3answers
4k views

Changing QGIS plugin's icon, why doesn't it change in the menu/toolbar?

I've been writing a QGIS plugin (using the "Plugin Builder" plugin), and decided I wanted to change the icon (icon.png). After running make deploy to rebuild the plugin locally, the new icon appears ...
10
votes
5answers
14k views

How to display special characters German “ÄÜÖß” in a map?

I have a shapefile with names for Regions. These don't seem to contain special characters but ugly hieroglyphs. What can I do do display them correctly. If I import the shape as UTF-8 it doesn't work.....
10
votes
2answers
6k views

Programmatically load composer from template and generate atlas using PyQGIS

I am trying to build a plugin to load a print composer from file, generate an atlas and export to image. So far I have been successful in loading the template and exporting it to image. I have been ...
10
votes
2answers
1k views

Straight Lines from Label to Feature in QGIS?

What I’m trying to do is label a series of point features but due to the density of point features I’m going to have to move the labels away from the point features. I then want to use a simple ...
10
votes
1answer
4k views

How to see print commands through Python Script while programming plugin for QGIS?

Is there a way that from running a custom plugin made for QGIS that a Python Shell can appear along when the plugin is run, like a debug screen? I'm asking this to know if there is a way to see print ...
10
votes
1answer
5k 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
1answer
816 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
269 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
5answers
1k views

Is there a way in QGIS 3 to get a selected feature WKT?

In QGIS 2.x, I used the getWkt plugin: https://github.com/hugoledoux/QGIS-getWKT to get a WKT of a selected feature. But that plugin isn't present in QGIS 3.x. Was that capability built into core ...
9
votes
5answers
5k views

Calculating Image boundary / footprint of satellite images using open source tools?

I need to create the polygon outlines of several single layer raster images, not the extent/bounding box, but the area without the nodata values, as shown here: Creating shapefile showing footprints ...
9
votes
2answers
5k views

Converting cluster of Points to Polygons using QGIS?

I have an input point layer that is grouped into clusters, so I want to have each cluster of points converted into polygon. This question (How to convert a set of points to a polygon based on a ...
9
votes
1answer
5k 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
12k views

Creating parallel lines at particular distance from lines which are part of a shapefile

I am using QGIS 2.18 . I have shapefile which contains multiple lines. After processing certain data processing , I need to draw parallel lines at different distances from existing lines. For example ...
9
votes
3answers
5k views

Making lines curvy using QGIS?

I don't have much experience with QGIS and am working on a map with lines connecting locations created with the mmqgis plugin. Is there an easy way to make those direct lines somewhat curvy for ...