Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

2
votes
4answers
96 views

QGIS Plugin with save settings dialog

I am writing on an update of the qgis2leaf plugin. It would be great to store the settings of the plugin UI (like which checkboxes are checked, which strings are used) in a separate file (like xml or ...
1
vote
2answers
58 views

Creating a plugin tutorial

I am looking for a tutorial of how to create a plugin for QGIS. I want a tutorial that: Explains about the latest version of QGIS Working in windows environment. adequate for absolute beginners and ...
1
vote
1answer
59 views

How to simplify a multiline geometry in QGIS?

I'm trying to simplify my shapefile, which uses a lot of vertices to represent curvatures, by using the Generalizer plugin. But no matter what threshold I use for Douglas algorithm, it still includes ...
8
votes
1answer
3k 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 ...
2
votes
1answer
99 views

Import MySQL data to QGIS with a plugin

Does anyone know about a plugin that can import a MySQL database into QGIS?
1
vote
0answers
44 views

Is there a QGIS plugin that allows users to interface with a PHP form page?

I've been looking for several days for a QGIS plugin that allows users to interface with a PHP form page. Does anyone know something that works in this way?
3
votes
0answers
60 views

Find Polygon in “Layer A” containing Polygon in “Layer B”

I haven't found yet someone with the same problem, so I'm posting a new question. The topic seems quite standard, so I'm sure there's a way to do it in QGIS. I have two layers: Region Layer Postcode ...
0
votes
0answers
23 views

Importing Marxan results using Qmarxan in QGIS 1.8.0

I have used the Qmarxan plugin in QGIS 1.8.0 to create a planning grid for analysis in Marxan (I have used an older version of QGIS because the plugin Qmarxan has not been updated for the latest ...
1
vote
0answers
27 views

Pyqgis, Plugin development issues

I am new in the pyqgis world... I am trying to adapt the Geocoding Plugin developed by Alessandro Pasotti to a new plugin. I have been dealing with the following issues and I think you have the ...
2
votes
1answer
24 views

Broken Plugin: EOL while scanning string literal

I've written a python plugin, and it works perfectly on my pc (Windows 7). I've zipped the whole folder and sent it to the client. they report back with this (the name of plugin's folder is LTS): ...
0
votes
2answers
863 views

Make a polygon from intersecting lines in QGIS, using Polygonize or similar?

In QGIS, I want to make polygons from a set of intersecting lines. Looking at the screenshot here, I want chop the purple line (it's a closed line, not a polygon) where it crosses the green and blue ...
2
votes
0answers
55 views

QGIS 2.2 - spectral profile for multilayer/time series

I am missing a spectral profile in QGIS which enables me to see the values for all bands of a given pixel. (absolutely necessary for multispectral and multitemporal/time series work) It seems, there ...
2
votes
0answers
53 views

Using Space Syntax Analysis plugin for QGIS?

I'm trying to run the Space Syntax Analysis plugin for QGIS. I've added the metadata file that was missing, but it does not appear in the Plugin toolbar when I click on it. Can someone help me to ...
3
votes
0answers
68 views

Problem with performance when loading PostGIS layer using pyQGIS

I'm having a question on loading a PostGIS layer into the project from my QGIS plugin. The code is like this: uri1 = qgis.core.QgsDataSourceURI() uri1.setConnection(str(host), str(port), ...
5
votes
1answer
571 views

How to programmatically associate a layer with a custom UI?

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 ...
1
vote
1answer
147 views

What causes QGIS 2 Plugin Manager Error from showPluginManagerWhenReady?

there. when i open the plugin manager in qgis, i get this: Ocurrió un error durante la ejecución del siguiente código: pyplugin_installer.instance().showPluginManagerWhenReady() A Google ...
1
vote
1answer
255 views

Opening *.pmf file using QGIS?

I have spatial data that has been put together with ArcGIS for Desktop and exported to me as a .pmf file. I'm spearheading a complete move from ArcGIS to QGIS and trying to make our old data still ...
5
votes
2answers
867 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: ...
1
vote
0answers
34 views

How to do LOS Analysis in QGIS?

I am not able to do LOS analysis in QGIS. I have point Features and Raster SRTM Data. I have installed the LOS Plugin in QGIS but not getting any results. Kindly suggest?
0
votes
1answer
75 views

How to set image size with Image Map Plugin on QGIS 2.4?

I use QGIS 2.4, but I have noticed that the "Set Map/Image Size" feature on the HTML Image Map Plugin no longer seems to work. No matter what you set the "Set Map/Image Size" for, your image will ...
1
vote
1answer
45 views

How can I fix a broken gdal-tools plugin in QGIS?

I have QGIS installed on my 2011 macbook pro and I recently upgraded my OS to 10.9. After the upgrade, I noticed that QGIS gives me this error (see attachment 1) saying that the plugin is not ...
2
votes
1answer
33 views

How to store a password during one QGIS work session?

I'd like to get into qgis-plugin development, but am rather new to both python and QGIS development. I intend to write a plugin which connects data from a mysql database to shapefiles. As the data is ...
1
vote
1answer
116 views

QGIS 2.4 plugin PyQT qWebview javascript interface problem

I have a QGIS plugin which contains a qtwebview and Javascript communication between the page and the plugin. It is working perfectly with QGIS 2.2 but not with 2.4 (both QGIS versions share the ...
5
votes
1answer
150 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 ...
1
vote
0answers
45 views

Join/append multiple, identical polygon layers into a single layer whilst retaining all attributes?

I have run some analysis (zonalstats) on different raster layers using the same analysis polygons. I want to concatenate all these different layers together, i.e. retain a single polygon and have a ...
3
votes
1answer
572 views

Where is the Road Graph panel?

I am trying to use the Road Graph plugin within QGIS 1.8 (running under Windows 7 64-bit). When I click Vector -> Road Graph -> Settings I get the settings-panel: But, I don't know how to enable the ...
4
votes
1answer
1k views

How does Flow Mapper 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 ...
2
votes
1answer
34 views

QGIS Processing - Additional Creation Parameter for GdalWarp

I am having a hard time getting the "Additional Creation Parameters" to work when using GdalWarp through the processing toolbox. I am trying to set the nodata value to 0 for the output raster. ...
1
vote
1answer
33 views

gdaltools in qgis v2.4?

Where's the GDALTools plugin for QGIS 2.4? It's not listed in list of available plugins, and it's seemingly not installed out of the box. Is it just that it's not yet compatible?
1
vote
0answers
19 views

How to install the QGIS Raster Lang plugin?

I´m trying to install the rasterlang plugin for QGIS. I tried several things on this website but it seems to be quite complicated because I need to install binary files and other files. The idea ...
4
votes
1answer
78 views

How do you set the position of a plugin window when you start the plugin?

I'd like to set the position of a plugin's window or dialog relative to the map canvas frame. For example, if I start a plugin, I want it to appear somewhere in the left upper corner of the map ...
1
vote
1answer
49 views

Show a single value related to a whole layer in QGIS

I'm developing a maximum flow plugin for QGIS. I would like to show a calculation result (i.e., the maximum flow) on the map. The result is not a property of a single feature. It is a property of a ...
1
vote
2answers
431 views

count lines in polygons

I found the following link to a post saying that a count lines in polygons had been added to ftools for QGIS: http://hub.qgis.org/issues/4712 However I can't find how to access this feature nor any ...
1
vote
2answers
335 views

QGIS 2.4: plugin changes map tool canvas click behavior from 2.0

I had created a plugin for QGIS 2.0 to add new features more easily. It involves changing extents and updating snapping options along with triggering the default actionAddFeature(). However, I've ...
2
votes
1answer
116 views

Sorting layers in legend using python in QGIS 2.4

In QGIS 2.2 , I was able to sort in alphabetical order the layers simply using this: self.maplegendtree = iface.mainWindow().findChild(QTreeWidget, "theMapLegend") self.maplegendtree.sortItems(0, ...
1
vote
0answers
22 views

Export polygon to points (vertices) [duplicate]

This is the first time that I have worked with geospatial data and QGIS, so please be kind. I was given a shape file that contains house districts for the state of FL. This link provides ...
1
vote
0answers
85 views

QGIS Grass Processing toolbox

I'm trying to use some of the GRASS tools from the processing toolbox in QGIS. I get the following Python error: An error has occured while executing Python code: Traceback (most recent call last): ...
2
votes
1answer
904 views

Getting polygon shapefile node coordinates and point order

I am trying to get the coordinates of each node of a polygon in QGIS. What I basically did is use the following tools: Vector -> Geometry tools -> Extract nodes Vector -> Geometry tools -> Export ...
1
vote
1answer
29 views

Adding some background information to a layer

I have 2 Python Qgis plugins. The first plugin is creating a QgsVectorLayer via the ogr dataprovider. The second plugin is offering some services on the features in the layer. I need to pass some ...
1
vote
0answers
42 views

How to programmatically interrupt QGIS initialization and startup

I'm wondering how to interrupt the initialization of QGIS 2.0 on Windows XP before start up. I've put a dialog in one of my plugins that shows up on start up. However, I'd like to make a quit button ...
3
votes
0answers
72 views

IS it possible to run GRASS commands in the QGIS graphical modeler?

I have a geoalgorithm set up in the graphical modeler and everything runs except for the GRASS commands. It is really frustrating because when I execute these commands on their own they work just fine ...
1
vote
1answer
59 views

Problem with batch mode Saga Raster Calculator

I have to do a couple of raster multiplications for which the batch mode would save me a lot of time. But the only thing I get are rasters that contain nothing but nan values. If I multiply the ...
1
vote
0answers
41 views

Easy way to extract raster cells OUTSIDE a vector (Mask) layer in QGIS?

I have a raster file but am only interested in the cells outside a certain polygon. This polygon is very iregular and scattered across the raster. Is there any easy way to extract only the cells ...
1
vote
0answers
69 views

Retrieve a point coordinates from map canvas using QGIS API

I'm trying to build a plugin that firstly captures the map coordinates. I have tried to adapt the map tool explained in this post: How to programatically check for a mouse click in QGIS The code I ...
2
votes
2answers
703 views

Unable to load 'nviz' through GRASS

I am using QGIS 2.0.1-Dufouron on Windows 7. When I try to load nviz via GRASS, I get the message "Module nviz not found". Weirdly enough, I can load it via the toolbox and be able to 'run' it (it ...
0
votes
1answer
65 views

No result from pgRoutingLayer tsp(euclid) algorithm

I use QGIS plugin pgRoutingLayer for displaying the shortest route. Dijkstra algorithm works fine. I tried tsp (euclid) algorithm but it drew nothing (even no error message). I thought it may be ...
1
vote
1answer
37 views

How to test for multiple map items in Composer using python?

I am building a QGIS plugin and I need to check for multiple maps items in Composer that works on all platforms. Currently I am getting the first map in the composition using the code below, but ...
1
vote
0answers
72 views

How to export data from sql database in the decimal format in QGIS?

Currently I am working with QGIS and fetching data from SQL server and export it in the format of shapefile in QGIS. While importing the data from sql server attribute table showing data with ...
0
votes
0answers
29 views

QGIS 1.8.0 ask me to install scipy

I need help in a step by step to install scipy via QGIS or via python, I'm not familiar with python language so the guide of Nathan's blog wasn't useful to me due that OSGeo4W don't recognize the ...
0
votes
0answers
16 views

Pyqgis 2.2 : get signal on feature added : error message

For my pyqgis plugin 2.2, I try to: def logFeatureAdded(self,layerId,addfeatures): message = str(layerId) + " has features added: " for feature in addedFeatures: message += str( ...