Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

1
vote
1answer
59 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 ...
2
votes
1answer
293 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
258 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
95 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
340 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 ...
3
votes
0answers
59 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
58 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
45 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
1answer
208 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
150 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
560 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. ...
1
vote
1answer
120 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 ...
2
votes
1answer
55 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
232 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
522 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
43 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
41 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 ...
1
vote
0answers
23 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 ...
3
votes
2answers
59 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 ...
1
vote
1answer
1k 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
16k 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 ...
2
votes
1answer
332 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. ...
2
votes
2answers
110 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
2answers
101 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
36 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
65 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 ...
0
votes
0answers
140 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 ...
1
vote
1answer
96 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
80 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?
0
votes
1answer
158 views

Threejs “Failed to generate a dem file using gdalwarp. gdalwarp is not installed.”

I am trying to test out the new threejs plugin for QGis and have come across this error. Failed to generate a dem file using gdalwarp. gdalwarp is not installed. I have installed the latest ...
0
votes
1answer
1k views

AttributeError: 'module' object has no attribute 'Open'

Hy, I am running the following code which I found on: GDAL - Perform Simple Least Cost Path Analysis which I adapted to my case, but I get the following error when running the code in the python ...
1
vote
1answer
52 views

Tick boxes for a qgis plugin written in python

in a python plugin for qgis I want the user to be able to select one or more of several options via tick boxes. I imagine it to look like e.g. Qgis 2.2 tool "Vector" -> "Data Management Tools" -> ...
2
votes
1answer
176 views

QGIS 2.2 documentation

I thought I would try to write a plugin for QGIS (some Python code that I hoped I could easily port) I started following http://www.qgisworkshop.org/html/workshop/plugins_tutorial.html but that turned ...
1
vote
1answer
174 views

Sextante plugin

I'm looking for the sextant plug-in which is supposed to be showing in Plugin Manager under Manage and Install plugins. I currently have 30 plugins installed and enabled in QGIS 2.0 and 121 more ...
0
votes
1answer
198 views

How to create a slope map with different colors according to slope percentage or degrees

I have converted a dxf file with contour lines into a polyline shapefile, and I have used the Raster Analysis plugin to create a grayscale slope map from this shapefile. I would now like to have ...
5
votes
1answer
184 views

How to change OpenStreetMap Layer Properties in QGIS 2.0

I have loaded the OpenStreetMap layer in QGIS 2.0, but would like to edit the properties in order to better complement the map I'm producing. I can't seem to find the OSM toolbar or OSM Feature widget ...
0
votes
0answers
80 views

r.shaded.relief plugin on a DEM layer

I loaded a raster digital elevation map from the DEM explorer website. I defined the projection and created a mapset. I then loaded the raster file into GRASS with the r.in.gdal plugin to create a DEM ...
1
vote
1answer
86 views

QGIS 2.0 Raster Interpolation

I am trying to use the Rasterinterpolation plugin to pick up elevations from a Raster DEM for a series of vector points. Once loaded, the Plugin is accessible through Plugins Menu/ Raster ...
0
votes
1answer
70 views

how to compile qgis-1.8.0 on ubuntu

i have downloaded qgis-1.8.0.tar.bz2 and I want to install it on my linux computer(12.04 LTS). How can I perform it please? I do it because I am desperate with Qgis 2.0.1 Dufour on ubuntu 12.04, ...
0
votes
0answers
138 views

Geology plug-ins for QGIS

Sorry this is probably a very basic question but I'm new to QGIS and struggling with it a fair bit. I'm trying to get a plugin to show me the geology (preferably solid and drift) of an area and have ...
1
vote
1answer
125 views

Why do features in QGIS drawn on same datum as Google imagery from OpenLayers move? [duplicate]

I have just started using QGIS. I've loaded the "openlayers" plugin and added a google hybrid layer, which is based off the WGS84 datum to my understanding. Now I create a shapefile and add a new line ...
2
votes
1answer
523 views

QGIS 2.0 Plugin: Select and Identify a Single Feature

given is a layer with some nodes on it and every node has some attributes(name, id, etc...). For showing up the informations of a single node I can use the "Identify Feature Tool". Choose the tool, ...
0
votes
1answer
219 views

Get list of CRS in QGIS by python?

It is possible to get list/dictionary of "Recently used coordinate reference system" from QGIS by python? Or get list of all "Coordinate reference systems of the world" also from QGIS by python.
-3
votes
1answer
185 views

QGIS autotrace plugin - when will it be ready?

Is there any news on when the MapInfo-style auto-trace plugin that Lutra Consulting has been developing, will be put up to the QGIS Plugins Repository? It was supposed to be this month, according to ...
5
votes
1answer
182 views

How can I get the field index of the new layer in my script using Python?

I am trying to use layer.changeAttributeValue(fid, fieldIndex, value) to add values to a field in QGIS Basically, I'm creating a plugin which will, if a checkbox is ticked, create a new field, then ...
0
votes
1answer
84 views

Halt QGIS on startup

I have a custom made login form in Python, which launches on QGIS startup. But before the user has a chance to enter the credentials, the program starts normally, bypassing the form. From then on the ...
0
votes
1answer
1k views

How to add the Delimited Text Plugin for QGIS 1.8?

I can't find the Delimited text Plugin- everything keeps telling me it's in the core build, but which core build? the Mac OS variant comes in multiple installers so without programatically unpacking ...
1
vote
1answer
418 views

Label features on hover/click with QGIS?

Simple question: Is there a built in/easy way to show labels for features based on a hover or click action with QGIS 2.0.1?
1
vote
1answer
102 views

Sextante in QGIS - downloaded, but does not show up

I downloaded Sextante, and I put it into the directory C:\users[my_user_directory].qgis\python\plugins\sextante-1.0.9\sextant I re-started the computer, but there is still no sign of Sextante in ...