Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

1
vote
1answer
225 views

How to make GRASS and SAGA tools capable to use in QGIS?

As my title, I installed Qgis, GRASS and GDAL by osGeo4w package, and as I finish the installation, I want to use GRASS tool, I face this problem: But I already installed GRASS and SAGA, how to make ...
0
votes
1answer
44 views

Errors uploading plugin to QGIS python plugin repository

I'm trying to upload my first plugin to: http://plugins.qgis.org/plugins/add/ I keep getting the following error: There were errors reading plugin package (please check also your plugin's ...
0
votes
0answers
49 views

How to cluster points based on both proximity to each other and proximity to another layer (roads)?

Using QGIS I have managed to created cluster for points based on their proximity of each other (using buffer and spatial joins etc), but I would also like to add another variable to it: proximity to a ...
20
votes
1answer
14k 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 ...
1
vote
1answer
63 views

How to open most recent directory using PyQGIS?

For example, when I add a vector layer, next time that I want to add another layer it opens up where I chose my last layer from. How would one implement this in Python and/or PyQgis? I'm writing a ...
1
vote
0answers
52 views

QGIS how to patch a plugin on local machine

I want to make a minor modification to a plugin (to change a field width in Table Manager). I edited the .py file and the .ui file and changed what I think are the right numbers but this seems to ...
1
vote
1answer
193 views

What exactly is the min/max of an extent? (QGIS heatmap plugin)

I'm having a hard time making the heatmap plugin do precisely what I want (namely, to make a heatmap showing not only points but an attribute of those points), and now I'm thinking that I may be ...
0
votes
0answers
39 views

Error opening Google layer in QGIS

I'm using QGIS to open my postgis layers based on Google Maps. But with some I am not having success, an error that generates a dump in the temp folder of my Windows user file occurs. To investigate ...
0
votes
0answers
18 views

Parsing file didnt appear in textBrowser

I make QGIS plugin to parsing xml and show parsed file in textBrowser, however when i run the plugin, its still blank ( nothing happend ) and i didn't get error messsage when run it, this is the full ...
0
votes
0answers
40 views

Visualize bounding box to square like polygon

I want to add script in my plugin to visualize bounding box into a polygon shape, bounding box i try to visualize have format like this: (X1,Y1) (X2,Y2) (X1,Y2) (X2,Y1) Does QGIS/PYTHON have ...
1
vote
1answer
178 views

Openlayer plugin in QGIS, error in projection 3857 Pseudomercator

I'm using QGIS plugin Openlayer to set the background of Google satellite under my vector layer. However, even if I project my layers as EPSG 3857 (the default and only possible projection for ...
0
votes
0answers
15 views

Invalid geometry plugin

The problem I have now with qgis 2.2.0 is getting and installing the LWGEON provider plugin for validating the invalid geometry.
0
votes
0answers
17 views

Is it possible to override default QGIS error messages?

From my QGIS plugin I would like to override/replace one of the the default QGIS error message ("The layer layer_url is not a valid layer and can not be added to the map") with my own message. I have ...
1
vote
2answers
444 views

How to set Eclipse and PyDev for QGIS when ArcGIS is installed?

I have got a lot problems with the configuration of Eclipse with PyDev in order to develop QGIS plugins. The situation is very weird and frustrating. I can import qgis module using Pyscripter without ...
2
votes
1answer
177 views

How can I make the topology checker plugin ignore very tiny errors?

I'm a QGIS2.0 user. Topology checkers is a very valuable for me as a data creator. I use this plugin for checking data quality. But, this plugin finds too much errors include very, very tiny ...
0
votes
2answers
65 views

It is possible to make snap using Google Maps based on QGIS?

Vectorized few lines using QGIS with Google Maps as a base. If I do not Trabachar with maximum zoom does not respect the topology of the base. It is possible to make snap using Google Maps based on ...
4
votes
2answers
628 views

How to Polygonize a polyline shapefile in QGIS 2.2?

When I used QGIS 1.8, I was able to transform polyline layers to polygon layers with the Polygonizer plugin. In QGIS 2.2, this function has been subsumed into the Processing toolbox. Unfortunately, ...
0
votes
0answers
37 views

Is the “1-band raster colour table” plugin available in QGis 2.0?

I used to use the "1-band raster colour table". Is it still available in QGIS 2.2.0? It seems like I can't install it (I don't find it in the list of plugins available, even after installing the BC ...
1
vote
1answer
40 views

Error in LineEdit when show parsing value as string

I m trying to make QGIS plugin to open xml, parse it and then show value i parse from xml to line edit, i use this code : from PyQt4 import QtCore, QtGui from ui_testparse import Ui_testparse import ...
1
vote
1answer
162 views

models from QGIS 2.0.2 to Python scripts?

I want to automate some tools for QGIS 2.0.2 using Python. Previously I have used ArcMap for automating tools and now i want to use QGIS. In ArcMap I used the ModelBuilder, and more specifically the ...
1
vote
1answer
168 views

How to use Threads in PyQgis, mainly to keep UI active?

I'm trying to develop a plugin, which does heavy computations and as a result, user interface becomes inactive. I know that I should use threads to keep the UI alive (specifically, I have a progress ...
4
votes
1answer
205 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?
2
votes
1answer
80 views

How to edit a QGIS plugin GUI?

I have inherited a QGIS system from a former employee and my predecessor built a custom plugin for it. I now need to remove a single checkbox option completely from the UI for this plugin. Is there a ...
5
votes
3answers
245 views

How to export a Vector Layer with OGR2Layers Plugin

I'm using QGIS 2.0 Dufour on my Linux (Ubuntu 12.10).I'm download shapefile of Croatia country from this site (http://www.gadm.org/country) and i added a new vector layer where i created some ...
1
vote
1answer
170 views

How can i use python QGis network analysis library to calculate short path based on speed and distance?

I want to calculate and show short path from starting point to an end point in a qgis python plugin. in my research i stopped by an article about QGis network analysis library; ...
1
vote
0answers
44 views

How to include external libraries with my QGIS plugin?

I'm developing a plugin which makes use of "networkx" library extensively. However, networkx is not part of Python libraries pre-installed in QGIS. Is there a way to include this library with my ...
1
vote
0answers
44 views

Spatialite database creation problem (QGIS DB manager)

I am trying to create a Spatialite database in QGIS 1.8.0. Step one of instructions is: Right click on the Spatialite entry in the Browser tree and select Create Database. The Spatialite icon is ...
0
votes
1answer
37 views

Changing band for greyscale in plugin

I am trying to make a qgis plugin to change which band in a multiband data set (netCDF where the band represents time steps) is used for a grey scale rendering. The file works fine with manual ...
0
votes
0answers
17 views

Select Single Feature

I'm making a plugin in quantum gis 1.8 Lisbon. And I intend to select the value of fields in a table, when I click the mouse over a point. (Ie something similar to Single Feature Select tool). Does ...
0
votes
1answer
144 views

How to export a map (satellite image, 3 bands) to Tiff without losing the resolution in Qgis.

I manually improve the colour contrast of landsat images. The printing in pdf afterwards is OK, as it maintains the resolution due to the high dpi. Now I am interested to obtain a kmz/kml file of the ...
1
vote
0answers
75 views

Programmatically modify layer datasource on project save event (QGIS)

I have a QGIS plugin which allows users to add WFS/WMS layers to the map. I would like to be able to scramble the user ID part (token) of the uri when the project is saved/closed and then use my own ...
7
votes
3answers
507 views

How to use ZonalStats plugin?

I am using QGIS 1.8.0 on a Windows Home Premium 7 machine. I have a single band TIFF that is 187 MB in size. My vector polygon shapefile represents a regular grid of a 147x112 36kmx36km grid cells. ...
2
votes
0answers
112 views

Programmatically change layer position in the table of contents (QGIS)

I am trying move/position a layer to the bottom of the TOC by using addTopLevelItem on all other layers. I unsure how to reference the layers as QTreeWidgetItem's. def bg_bottom_level_item(self): ...
1
vote
1answer
88 views

Unknown error concurring when developing QGIS 2.0.1 plugin in Windows 7

I am following the tutorial found here for developing a simple QGIS plugin within QGIS 2.0.1 installed on Windows 7. However, as I have began to try developing a link between the GUI and each the ...
0
votes
0answers
49 views

I'm looking for an idea to calculate shortest path in a line Vector layer using a starting point

I'm looking for an idea to calculate shortest path time in a line Vector layer using a starting point in a qgis python plugin based on distance and speed. is there a solution where i can get ideas? ...
2
votes
1answer
47 views

In what ways has QGIS 2.x API changed making Plugin Builder Tutorial invalid?

I am working on the QGIS workshop Tutorial for QGIS Plugin Builder and notice that it is for QGIS 1.1. As this seems like a popular tutorial, in general, what are some areas of this tutorial that need ...
1
vote
2answers
171 views

How to handle adding a PostGIS layer in pyQgis without saving password?

I'm writing python plugin and trying to find the right way to add PostGIS layer on the map without storing user password. After adding layer on the map, I strip out the password from uri like this: ...
0
votes
0answers
47 views

insertVertex giving false in pyQGIS

I have this code from my plugin which work in Qgis 1.8 and I am trying to make it work in 2.0. I want to insert a coordinate x and y into a polyline after the last entry. points = geom.asPolyline() ...
0
votes
1answer
240 views

Replacement of QVariant and setAttributeMap in PyQGIS

I am updating a plugin for QGIS 1.8 to QGIS 2.x. I have the code below. The setAttributeMap does not exist anymore. I have replaced it with fet.setAttributes and it seems to work. When using ...
1
vote
0answers
34 views

Using QGIS ComboBoxManager: adapting for QGIS plugin

I'm looking for more guidance using the QGIS ComboBoxManager module (http://3nids.github.io/qgiscombomanager/). After finally getting the imports correct, I'm trudging my way through learning how to ...
1
vote
0answers
24 views

Why is node tool deleting unselected points in lines?

I am freehand editing lines to a shapefile on Mac QGIS 2.2.0, and have my snap settings at vertex and segment @ 20 pixels. The lines are roadways and I have merged them all into one feature and merged ...
0
votes
0answers
40 views

Error openlayers plugin in qgis [duplicate]

I did the following steps: I put the projection in 3857 and I enabled the project on the fly Open a vector shape layer in the projection 4326 I enabled the openlayers plugin Clicked enabled ...
0
votes
0answers
17 views

Query from plugin that shows result on Map and in Attribute Table

I'd like to create a plugin that performs a static (no user input required) query that, based on a condition, selects all the features on the map and displays these in the attribute table. I have the ...
0
votes
0answers
26 views

What does this python error in terrain profile plugin mean?

I get this message when trying to create cross sections from a raster layer. It happens only when I try to plot from a selected polyline. When I choose temporary polyline, the plugin works fine.
3
votes
2answers
55 views

What is the closest CRS to “Meridiano de Greenwich”

I have a 1906 scanned map that I am trying to georeference in QGIS for Mac. The map has French and English lat-long, indicating them as either "Meridiano de Greenwich" or "Meridiano de Paris." I would ...
0
votes
0answers
44 views

Check if Openlayer Layer is empty, caused by nonexistence of internet connection?

I use Openlayer Google street map as a base-map in my QGIS plugin projects. i want to check programatically if the layer is loaded or is empty and decide if i load my offline base-map instead of ...
1
vote
1answer
518 views

How to create a dock widget correctly in QGIS plugin?

I am building a QGIS plugin and would like to use a dock widget. I have used QT creator to design the UI, with the object type being a QDockWidget. When the plugin is enabled in QGIS the dockwidget ...
7
votes
5answers
15k views

How to install Openlayers plugin on Qgis 1.8?

After having installed Qgis 1.8 i am not able to find the Openlayer Plugin. In "the old days" I know I was supposed to check "add 3rd party repositories", but that button has disappeared? I tried ...
0
votes
0answers
11 views

GarminCustomMap: crash without error

My GarminCustomMap crashes without an error. Im using qgis 2.2 on Xubuntu Precise. I tryed with different settings but after 2 - 6 seconds QGIS crashes without any error. What could be the problem? ...
0
votes
0answers
15 views

Every time I use the Distance Matrix my program stops responding

I get to the point of having all of my information in QGIS, and am attempting to save a .csv file in the Distance Matrix. I browse to an output distance matrix, click ok, the bar fills up to 100% and ...