Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

7
votes
3answers
464 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
1answer
253 views

Python Script that calls the Voronoi Polygons Function?

I've been looking to see if there was a way to call Voronoi Polygons function found in Vector/Geometry Tools, directly from the code but I have not found one. Does this currently exist? Is there a way ...
0
votes
1answer
25 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 ...
2
votes
0answers
17 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): ...
0
votes
1answer
25 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
22 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? ...
0
votes
0answers
31 views

Writing a script for accessing QGIS tools for use in HTML WebPage [on hold]

My objective is to write a script which uses QGIS GRASS Plugin tools and generates an IDW Interpolation Output and passes the file path as a parameter, which can be used in an OpenLayers API ...
1
vote
1answer
28 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 ...
0
votes
2answers
135 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
1answer
36 views

How to copy attribute values of fields in selected features of one layer to another Qgis programmatically?

I am trying to get the values of attributes of the selected features of a layer field by field and copy to another layer that I created in qgis with pyqgis. Is here a example for this. Every example ...
0
votes
0answers
27 views

How to add the attributes of selected features to my new layer in pyqgis

I am trying to create a layer from the selected points coordinates. I am drawing a circle to the coordinate of selected points. I also need to add initial attributes of my selected features to my new ...
2
votes
4answers
479 views

Unable to load GRASS plugin

I upgraded from QGIS 1.7.0 to 1.8.0, including updating GRASS to version 6.4.3. Since then, GRASS isn't any longer listed in the Fetch Python plugins. I uninstalled and re-installed the whole package ...
1
vote
1answer
69 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
0answers
17 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
42 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 ...
0
votes
0answers
20 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
1answer
25 views

PGRouting Layer plugin error in QGIS 2.2

I am trying to do some basic computations using the PGRouting plugin for QGIS, but I am getting this error all time: An error has occured while executing Python code: Traceback (most recent call ...
1
vote
0answers
12 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
33 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
4 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
15 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.
0
votes
2answers
239 views

How do I successfully install the LecoS plug-in for QGIS 1.8

I have been trying to follow the instructions given here, but repeatedly get an error message pop-up titled "Mount" stating Access is Denied. Does anyone have a solution please?
3
votes
2answers
49 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
24 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
45 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
13k 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 ...
1
vote
2answers
133 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 ...
0
votes
0answers
7 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? ...
2
votes
1answer
393 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 ...
0
votes
0answers
11 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 ...
1
vote
1answer
62 views

How to update a QGIS plugin for new version (2.2)?

The updates to QGIS 2.2 have been fantastic and I'm really liking the improvements to the interface, features and performance. However, it seems that some plugins have not survived the upgrade. ...
4
votes
2answers
308 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 ...
0
votes
0answers
16 views

How to select Qgis features through Python Plugin

Hi I am very new to Python so this may be a bit basic. I am trying to find a way to select and zoom to the features in a QGIS layer. I have created a plug in and built a custom form. I have 3 ...
1
vote
2answers
78 views

How to number points along a line consecutively

I have a line and along this line I have different points which are max. 20m away from that line. Now I would like to number the points along the line, like shown in the grafic. Any suggestions how to ...
1
vote
1answer
132 views

QGis 2.0.1 mapserver extension missing

I tried to export my Qgis projects to mapserver, using RT mapserver extension, because there is not any other extension in my version of QGis.(QGis 2.0.1 Dufour on ubuntu 12.04 LTS). After installing ...
0
votes
2answers
297 views

How to display data from a feature?

I want to display data based on the feature currently selected/clicked on. I am following a tutorial from http://www.qgisworkshop.org/html/workshop/plugins_tutorial.html. It initially shows you how ...
1
vote
2answers
72 views

How to get the file paths of the loaded layers in a QGIS plugin?

I am very new to GIS, QGIS and Python so please bear with me. I am using QGIS 2.0 and I would like to develop a QGIS plugin that would display the raster layers of the main window in order to allow ...
1
vote
2answers
45 views

How to use eVis to launch AutoCAD with a relative path?

I found this post, which leads me towards what I need: How to link to external files with relative path in QGIS actions? Now, I'm trying to use the eVis plugin to open .DWG and .DXF by launching ...
0
votes
1answer
87 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 ...
4
votes
1answer
70 views

MMqgis (hub distance) error in distance

So I am trying to calculate the distance of several points to a coastline, using hub distance (mmqgis plugin) in Qgis Dufour 2.01. I am using the default coordinate system (WGS84) and I, already, ...
2
votes
1answer
419 views

How to debug 'Layer is not valid error' from Python plugin?

I'm trying to understand what goes wrong with a QGIS python plugin. Basically I'm trying to render a series of POINT. The query works fine, at least giving it by hand from inside PostGIS DB: "SELECT ...
0
votes
0answers
11 views

location and mapset at Grass-QGIS

how can I indicate my drawings (unknown) location(coordinate) to GRASS at QGIS. because some time after importing the other vector or raster layers I hit an error regaring to coordinate issues. Thanks ...
0
votes
1answer
29 views

How to do a search in a line to a specific point

I'm using QGIS 2.0.1 Dufour. I'm working with a shape file made by a single line that represents a road with 30km. In that line I want to attach pdf files containing information about some points in ...
0
votes
0answers
23 views

QGIS plugin, extending plugin stub, instance has no attribute error

Update This is not an answer to why it does not work when the method is defined inside the class, but a workaround. Simply defining the method outside, prior to, the class (something that Evil ...
1
vote
1answer
94 views

Image map plugin not working with point data QGIS

I have a point shapefile and I am trying to create a html image from it using the html image map plugin; however, I can not get it work. I get the error: Wrong geometry type Any ideas on this? ...
1
vote
1answer
67 views

Installing LASTools to QGIS on a Mac (or other LAS processing plugins)

I recently saw this link how to install LAStools toolbox to QGIS. The problem is that the instructions are only for Windows users. Now I wonder if it's possible to install LAStools on a Mac with QGIS ...
0
votes
0answers
29 views

OpenGeo Explorer connect to geoserver

Just a quick and easy question. I have installed OpenGeo Explorer as a plugin to QGis for publishing seamlessly to a web based geoserver (hosted through AcuGIS). I have pointed to the server through ...
0
votes
0answers
26 views

QGIS - Loading data by SQL-window in the DB-Manager is not working?

I have problems to add a subset from a PostGIS-table to QGIS by using 'load as new layer' in the SQL-window of the DB-Manager (QGIS-Version 2.2.0-Valmiera). I defined both the 'column with integer ...
0
votes
1answer
49 views

Purpose of “myPlugin_dialog.py” file created by QGIS Plugin Builder

I usually use QGIS Plugin Builder to create working templates for QGIS plugins. While a generic Python plugin needs the files below; __init__.py metadata.txt resources.py (translated from ...
0
votes
1answer
38 views

How to use ArcView GIS extension in QGIS or how to convert one to do so?

I really would like to know whether is a way to can work with ArcView GIS extensions at QGIS? or at least a way to be converted to plugins at QGIS?