Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

1
vote
1answer
119 views

Python error when running SpatiaLite with OSGB(27700)

I have a project open in QGIS and am trying to import an Ordnance Survey Address Point layer into SpatiaLite. I have recently installed the Qspatialite plugin. I open SpatiaLite in the DB Manager ...
0
votes
0answers
24 views

postgis: no module named psycopg2 [duplicate]

Possible Duplicate: psycopg2 error with QGIS 1.5 When I open DB Manager in QGIS I get what appears to be an error message at the bottom of the window:- postgis: no module named psycopg2 ...
5
votes
1answer
167 views

Is it possible to grow QGIS symbol size over time?

I've got a data set of people movements within my municipality. (between points of places) I've managed it with the plugin for QGIS 'time manager'. Over time people come and go, and based on a count ...
8
votes
1answer
4k 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 ...
8
votes
1answer
2k views

Issues Accessing ESRI File Geodatabase within Quantum GIS Desktop

I am trying to access ESRI file gdb from Quantum GIS. I am on Windows 7, 64-bit. I have found many useful threads on how to set up this functionality within Quantum GIS. The method I went for is ...
2
votes
0answers
133 views

Install Georeferencer Plug-in QGis 1.7.0 OS X

I'm trying to install the Georeferencer plug-in in QGis 1.7.0 on Mac OS X (10.5.8). However the plug-in doesn't show up in the list. I have used "enable 3rd parties directory" and I have checked ...
3
votes
2answers
1k views

How to install shapely for python 2.6 (Mac) NOT 2.7?

I'm trying to use Polygonizer plugin inside QGIS, but it needs Shapely to work. I've installed Shapely (pip install Shapely) but that's for python 2.7. QGIS works with python 2.6 (on Snow Leopard) and ...
11
votes
3answers
3k views

How to programatically check for a mouse click in QGIS

I want to know how to check for a mouse click in QGIS. I am trying to write a python plugin and want to provide functionality similar to the "Select Single Feature" tool that already exists in QGIS. ...
7
votes
1answer
1k views

How to enable GRASS-modules in QGIS?

I have the latest QuantumGIS-1.9.0-master from Github with python-modules support and full GRASS-integration (GRASS-4.6.3-RC2) on Linux. When opening the GRASS-tools plugin, it only displays six ...
6
votes
1answer
2k views

How to transform a selected multipart feature into singlepart features while editing in QGIS?

There are several questions and respective answers for how to make a multipart features Layer into a singlepart features one using QGIS: How to break a single polygon into multiple polys? How to ...
1
vote
3answers
2k views

Where is the QGIS Parallel Line Plugin?

Somehow I believe to recall there does exist some ind of "draw paralel line" plugin for QGIS. Could anyone please point me to - I cant find it :-/
3
votes
3answers
462 views

How to install the QGIS Statist plugin in Mac OS X?

I'm trying to install the Statist plugin. I'm running MacOSX 10.7.5. with Python 2.7.3. and Numpy 1.5.1. I have also installed matplotlib 1.1.0 (for python 2.7). When I try to install the Statist ...
1
vote
2answers
523 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 ...
3
votes
1answer
167 views

Button to add a new line in a non-spatial table without opening the table itself using QGIS?

While using QGIS and having loaded a non spatial table (from PostGIS), is it possible to add a new row to its table attributes without having to open the attribute table first as in here Is it ...
1
vote
1answer
179 views

Get the keyPress-Event in QGis-Plugin

I have a QTreeWidget in a QWidget which is the gui of my plugin(cpp). Now i want to get the keyPress-Event of a Node in the TreeView. I try to reimplement the signal of the QWidget. protected: ...
0
votes
1answer
339 views

How to set the cursor to busy mode?

How can I set the cursor to busy-mode/in progress from my qgis plugin (cpp)? I couldn't find anything in the API documentation.
4
votes
1answer
233 views

Can I add entries to the layerlist context menu?

I am implementing a python based plugin for use with QGIS 1.8. Most of it's user interface is contained within a QDockWidget but there are some layer specific controls I would like to append to the ...
1
vote
0answers
136 views

how to add wms to QGis via cpp-plugin

I try to add a wms-Layer to QGIS Desktop from my plugin(c++) QString uri= ...
7
votes
2answers
3k views

How to split an irregular polygon into equal areas?

I am a surveyor and use QGIS for maintaining soil test records on civil projects and am constantly provided with test lot area or number of lots required. These are more often than not irregular in ...
1
vote
1answer
162 views

Issues with OSM Plugin in QGIS on Ubuntu 12.04

(not sure how to wrap the subject into a question! But...) Here are some issues I've been having with the OSM plugin: 1) When I bring in the .OSM file, close QGIS, then reopen, I get a "Handle Bad ...
4
votes
1answer
3k views

Importing shapefile in grass

I have very simple shapefile, which consists of couple of polygons, and I wanted to snap boundaries automatically. Unfortunately qgis doesn't have such function, but grass has according this answer: ...
0
votes
1answer
184 views

FieldPyculator Plugin - How to concatenate fields?

How can i concatenate two fields using pyculator plugin? There is any document with all pyculator functions that i can use in "field expression"?
1
vote
1answer
252 views

GRASS-QGIS Linking error

I need few customizations over grass and would use qgis gui for accessing grass. I am building qgis with grass enabled (WITH_GRASS=TRUE). While I am doing that I get the following. Any help is greatly ...
3
votes
1answer
656 views

How to hide/show QGisVectorLayer from Python code?

Once created a layer, how can I hide/show it? I can enable/disable rendering of a specific layer by selecting the checkbox through QGIS, but I need to do it programmatically from python code. How can ...
1
vote
2answers
2k views

How to fix QGIS PyQGIS package?

I have a broken package that is preventing QGIS from loading python plugins, updating itself, or even un-installing. The main symptom of this problem is the following message that appears when QGIS ...
1
vote
0answers
278 views

How does QGIS execute Python plugins?

I am trying to run a python script from within a python plugin. The script runs a CGIHTTPServer in a separate thread. It works as expected when executed from the command line and i can issue requests ...
2
votes
2answers
638 views

How to create a “Datum-less” projection in QGIS?

I want to use QGIS to do some georeferencing and image registration. On ArcMap10 I can define an "Unknown Projection", basically a default metric grid, and use it as a grid for georeferncing. In QGIS ...
1
vote
1answer
331 views

QGIS Python error on OS X while trying to simplify shapefile geometries

I am trying to reduce the file size of the shapefile by simplifying geometry in QGiS on OS X. But I get the following error... An error has occured while executing Python code: Traceback (most ...
5
votes
1answer
1k views

How to remove a vector QgsVectorLayer from QGis python plugin

I managed to add QgsVectorLayer in QGIS through a python plugin, for example: vl = self.iface.addVectorLayer(uri.uri(), layerName, self.dbConn.getProviderName()) But how can I remove it?
2
votes
1answer
928 views

How can I fix QGIS PostGIS Manager error 'shp2pgsql' is not recognized?

I have QGIS 1.8.0 installed via OSGeo Installer and work on win 7. All I need is to upload the shapefile to the database via this plugin. Unfortunately I am receiving an error: Something's wrong: ...
2
votes
1answer
225 views

Road graph tool crashes, but works with sample shapefile [closed]

When I try to calculate the distance between two points using the "Road graph" plugin in QGIS (1.8.0-2, on OSX 10.8.2 ML), QGIS just crashes. It does work with the sample shape file from ...
7
votes
3answers
3k views

How to extract slope from topographic raster map?

I am working on a project for a machine learning class wherein I extract features from a topographic raster map and then classify the traversability of the terrain. One of the features I need to ...
3
votes
2answers
847 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 ...
2
votes
1answer
3k views

TIN Interpolation using a vector layer

I'm writing a plugin in QGIS and I'd like to generate a TIN surface using a vector layer with x,y and z (interpolation attribute). The idea is to visualize the same result like in the Interpolation ...
7
votes
1answer
307 views

How to debug a QGis python plugin

I'm trying to write a python plugin for QGis. I'd like to debug some DB queries and I need a way to display the result. I thought about using a popup to display it, but I don't know how to show a ...
1
vote
1answer
74 views

Can't find the New label tools in QGIS

I can't find the New label tools in QGIS developed by sourcepole. I'm using QGIS 1.7.4. Is it a QGIS tool or a pluggin? Thanks!
4
votes
1answer
940 views

Unit of $length in QGis Field Calculator

I'm calculating field of various features in my shapefile using QGis. I'm getting some sample length as 0.134914579766986. I want to know in what unit (eg: meters, km etc) is the above value ?
1
vote
2answers
174 views

Length of Feature

I have a shapefile which renders a map. I want to calculate and preferably store length of each feature in the shapefile either using QGis or through programmatic means. What is the best way to get ...
2
votes
1answer
297 views

How to move the QGIS Layerpanel/Dockwidget programmatically

i'm working on a QGIS-plugin and want to move the default LayerPanel/Dockwidget to somewhere else programmatically. More specific: i want to move it into a tab of my tabwidget. Is this possible? How ...
2
votes
2answers
281 views

Cannot add Plugins from Python: “Plugin is Broken”

I'm using the latest version of QGIS on a Windows 7 (32 bits), and when I try to add a plugin from the option "Fetch Python Plugins", it simply cancels the installation and I can see the following ...
1
vote
0answers
128 views

Error reading repository: QGIS Official Repository HTTP request failed

I can't seem to access the plugin repository. Is this an issue with my system or is there something going on at the server end?! I get the following error as wells sometimes a window saying: "Error ...
0
votes
0answers
178 views

Why are my combo boxes not filled with a list of layers?

I am developing a Qgis plugin (layer_gui) and I am having a problem with populating the list of layers. When I first run the plugin my combo boxes are not filled with a list of layers, I have to ...
3
votes
1answer
285 views

Does QGIS DB Manager plugin lock PostGIS transactions?

I do most of my geospatial analyses in PostGIS 2.0 using PgAdmin III. I use QGIS 1.8 for visualizing my data but also for querying my database using the DB Manager plugin. Sometimes (quite often ...
6
votes
1answer
91 views

How to get info from selected object?

I am new to the Quantum Plugin development and wonder if there is more information about the following. I have added a shape file and am (off course) able to select a point from this shape file. In ...
3
votes
1answer
707 views

Which parameter values should I use with QGIS Heatmap plugin?

I've read all the posts and docs about the heatmap plugin but can't seem to get it to work. The map is the size of the United States and has a little over 2000 points. I've tried small radi (1 ...
1
vote
1answer
267 views

QgsVectorDataProvider.createAttributeIndex() fails in QGis 1.8

Adding an Attribute Index to a Shapefile fails for a Python Plugin in QGIS: For example - the following python Code in a Plugin ly = QgsVectorLayer(data_source, layer_name,"ogr") prov = ...
2
votes
1answer
122 views

plugin 'hook' when writing with Python

Just a conceptual question... when writing a plugin using Plugin Builder 1.8.3, where does the script get connected to the application instance objects? As an example (taken from ...
1
vote
1answer
160 views

Is there a straight way to copy or clone a QgsVectorLayer Object?

Is there a straight way to clone or "deepcopy" a QgsVectorLayer Object with python? Unfortunately the python module "copy" is not successfull with that. Thanks in advance! nikolaus
3
votes
1answer
638 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 ...
2
votes
1answer
649 views

How to meet “Contour plugin” and “Profile Tool” dependencies in OSX?

So I have two similar but different issues than my previous question, one I may have mentioned already. When attempting to install the Contour plugin I am told I need matplotlib, which I have on my ...