Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

2
votes
0answers
74 views

How to move feature using python console in qgis

i am building a qgis plugin that can create as much copies of a selected feature as i want and paste it to my required place.I have code to copy and paste feature select = ...
3
votes
1answer
371 views

Problem with print composer when exporting a map with Google Maps Plugin in the background

Whenever I try to export a map with the Google Maps plugin in the background, it exports but just exports to a blank document. When I turn the Plugin off so it is not in the background, it prints ...
1
vote
1answer
114 views

Why does QGIS 2.4 prematurely terminates on startup at “Starting Python”?

After reinstalling Python (3.4) as well as OSGeo4W and the QGIS Standalone, my QGIS always crashed when "Starting Python" on my Windows 7 64 Bit environment. It simply did not proceed to the QGIS-GUI ...
2
votes
1answer
319 views

How to highlight a selected feature in qgis plugin using python [duplicate]

I am working on a plugin that would highlight selected features by changing its color. Can anyone help me regarding this? The plugin searches for required features and once found, I want that those ...
3
votes
1answer
202 views

Spatialite WITH clause issue

I've encountered an issue: when I try to execute in Spatialite_GUI query that contains WITH clause I get SQL error: near "with": syntax error. Also WITH unlike SELECT and other keywords is not ...
2
votes
2answers
341 views

QGIS, interpolate along an irregular shape or line to create a DEM

Before anyone marks this as a duplicate, hear me out. This question: Interpolation: irregular shape, merging DEM's asks my question but not for QGIS. Furthermore, the answer is vague and not ...
1
vote
1answer
510 views

Export to Open Layers plugin doesn't work with Raster and WMS

i am trying to export a Qgis_2.4 project to openlayers using the "Export to OpenLayers" plugin. I cannot export raster layer. I am not getting any error message, but the raster layer doesn't appear ...
2
votes
2answers
694 views

'QgsVectorDataProvider' object has no attribute 'select'

I want to create a tool layer in QGIS 2.4 that will select any vector features that intersect with that point. In my script I tried the following function: def selectFeature(self, point, button): ...
3
votes
1answer
303 views

Qtiles on QGIS + QGIS Server

I have just created some tiles on my project on QGIS with the plugin Qtiles; now I get several tiles in .png! My question is, how could put these tiles .png on QGIS Server? Is it possible?
1
vote
2answers
207 views

Is there an update for QMarxan plugin version 2.4?

Is there an update for the QMarxan plugin which at this stage only works on version 1.8.0. I did read on one forum that this was in the process of being developed. Any feedback much appreciated.
0
votes
1answer
75 views

Flow mapper not working?

I am trying to run the test files for flow mapper plugin in QGIS but I run into an error message.
2
votes
1answer
181 views

Compiling custom plugins for QGIS on Windows

I've made my first plugin using plugin builder and I want to compile it. I read that I need two commands to do it under windows: pyuic4 and pyrcc4. But when I use any of these commands I get this: ...
4
votes
1answer
949 views

Question about ArcGIS vs. QGIS for kernel density estimations

It appears from the QGIS documentation that the Heatmap Plugin can generate a kernel density surface from a point map and make use of the attributes of the original points to influence this surface ...
0
votes
0answers
22 views

How to extract road centreline from delaunay triangulation using open source QGIS? [duplicate]

From some months I have been solving a problem but I cannot finish. My question is, "How can I extract a road centreline from delaunay triangulation using open-source QGIS?" Actually, I am using ...
2
votes
2answers
667 views

How to open the “File Browse” dialog in Windows from a PyQGIS plugin code?

I am in the process of developing a plugin for QGIS using Python. Note that this is my first plugin, so the query could be quite basic... I have used this Digital Geography link to create the basic ...
2
votes
1answer
81 views

Adding new Field and writing values for all features

I need to create new Field in Attribute table of vector layer, and afterwards to calculate values and store them in that Field for all features I have in that layer. I have solution which works, but ...
1
vote
0answers
79 views

How to periodically refresh QGIS display with updated shapefiles?

I'm creating updated shapefiles for a fixed set of layers in a project every 15 mins. If the user has that project open in QGIS on a Windows 7 PC, I can't overwrite those shapefiles, so I rename the ...
3
votes
1answer
1k views

How to install open layers plugin on QGIS 2.4? [duplicate]

I am a new user of QGIS, and I just downloaded the version 2.4 on Windows 7/32 bits. And I seem to encounter several problems: I cannot install openlayers plugin In the "Plugins" tab under "Manage ...
2
votes
1answer
63 views

Why doesn't QGIS automatically find the new plugin update during startup?

I have done a plugin for QGIS and I made a repository (xml) for the end users to install it. Then, I made a new version and update also my repository file with the new one but Qgis doesn't ...
2
votes
1answer
232 views

QGIS 2.4 Heatmap Plugin Generates a Solid Black Map

I'm trying to generate a heatmap of vehicle-pedestrian collisions in Los Angeles using data taken from UC Berekely TIMS. TIMS provides an exhaustive database of traffic accidents involving injury in ...
1
vote
2answers
75 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 ...
3
votes
4answers
218 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
1answer
107 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 ...
1
vote
0answers
59 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
1answer
112 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
1answer
182 views

Qgis crash with maptool plugin

I have a qgis plugin (c++) that adds a map tool inherits from QgsMapTool. My tool does nothing, juste I can activate my tool by triggering. I test my plugin in Qgis 2.4; when I activate my tool the I ...
2
votes
1answer
1k 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
78 views

Pyqgis, Plugin development issues [closed]

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
39 views

Broken Plugin: EOL while scanning string literal [closed]

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): ...
2
votes
2answers
152 views

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

QGIS Metatools error

I haven't been able to successfully use the QGIS MetaTools plugin for describing metadata. Has anyone used it before? When I try to create metadata for a shapefile, the plugin creates the xml file but ...
4
votes
1answer
159 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), ...
0
votes
3answers
508 views

Georeferencing window won't open QGIS 2.4

I had the georeferencer window open in QGIS 2.4 while project was running, I accidentally closed the Qgs document with the georeferencing window open (worked absolutely fine till then). When I opened ...
2
votes
0answers
41 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?
1
vote
1answer
116 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 ...
3
votes
1answer
45 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
0answers
54 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 ...
0
votes
1answer
155 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
42 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
49 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 ...
2
votes
2answers
89 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. ...
4
votes
1answer
183 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 ...
3
votes
1answer
353 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
26 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
179 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): ...
5
votes
1answer
544 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 ...
3
votes
1answer
57 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
1answer
33 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 ...
3
votes
0answers
125 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 ...