Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

1
vote
0answers
48 views

Handling save event in QGIS

I have managed to load QgsVectorLayer from PostgreSQL and add it on the map. Is possible to trap save event after editing, do my own saving, call layer refresh and in this way prevent from default ...
0
votes
1answer
95 views

Alternate option for a Data Player plugin for GPS in qgis

I found a plugin for QGIS to play a GPS Track. (Data player plugin).The Problem is I can not read .gpx File with this plugin. Is there another option?
5
votes
1answer
467 views

CAD Like functions in QGIS

Is it possible for a script to be built that will use a reference point and have it draw several polygons based on distance and bearing, then assess the terrain under the polygon for highest obstacles ...
2
votes
0answers
70 views

How to install statist plugin in QGIS / OS X

I am stuck with installing a plugin for QGIS namend "Statist". I get the following message when starting QGIS: "Missing matplotlib Python module". So basically this question relates to all plugins ...
1
vote
1answer
386 views

Why do I get 'KeyError: 0' when using Line Intersection tool?

I'm using Quantum GIS version 1.8.0-Lisboa and trying to create intersection point using Intersection tool. (Vector -> Analysis tools -> Line Intersections ) But when I do that for my shapefile, It ...
1
vote
1answer
100 views

Raster menu does not have any tools in QGIS

in raster menu in QGIS, only raster calculator is available, how to get other tools, like wrap (reproject) please see the image for help. help me to get this.
6
votes
1answer
238 views

QGis Making Column Value of Attribute table unique

For a shapefile, I have a field named id with the following contents in it: 1 1 2 2 I want to make these values unique such as: 1 2 3 4 Is there any way to achieve this in Quantum GIS (using any ...
3
votes
1answer
145 views

How to use the QgsDiagramRendererV2?

I'm writing a plugin for QGIS in python in the QGIS API doc, I can see the QgsDiagramRendererV2 class, under the qgs.core section http://www.qgis.org/api/classQgsDiagramRendererV2.html What I'm ...
1
vote
0answers
119 views

How do I fix this QGIS sextante error? NameError: name 'sextante' is not defined

A colleague of mine posted this the other day. We haven't got any nibbles yet and I wanted to elaborate on the issue. We are having trouble running the r.mapcalculator function and receive the error ...
4
votes
1answer
61 views

How to deliver an additional Python Library with own Plugin?

For my own plugin I need a special library (pyexiv2) to write a comment into a jpg file (PIL does not do that). When I want to share my plugin in one of the repositories in the future, what would be a ...
0
votes
2answers
609 views

Python module “shapely.wkb” missing

I am trying to follow a tutorial from here http://qgistips.spatialthoughts.com/2012/12/find-neighbor-polygons-in-layer-in-qgis.html#more I have downloaded the relevant python script and edited it as ...
3
votes
0answers
59 views

Programatically reorder layers in qgis? [duplicate]

Possible Duplicate: Sort layers in QGIS table of contents? I write a qgis python plugin ,and i try to connect keybord keys to reoder layers in qgis . Are there a method in qgis allows me to ...
0
votes
1answer
292 views

Problem in Spatialite database creation

When I try create a new DataBase, Spatialite plugin return the dialog error box: The SQL query seems to be invalid. no suck table: views_goemetry_columns When I click in OK button, a second dialog ...
4
votes
2answers
121 views

Creating space at intersection of two links

I have a shapefile consisting of two links which are crossing over each other. I want to create an empty space at the point of intersection of the two links. As of now, I have been manually doing ...
1
vote
1answer
148 views

Why won't QGIS let me write to a file?

I am writing a QGIS Python Plugin. I am trying to write data to a file using with open("filename.txt", "w") as f: f.write("file text.") QMessageBox.information(None, "Test", "Written to file.") ...
0
votes
1answer
65 views

QSpatiaLite query syntax

Using the QSpatiaLite plugin in QGIS I composed the following query SELECT 'AddressPoint_2'.'buildingNu', 'AddressPoint_2'.'postCode' WHERE 'AddressPoint_2'.'postCode' = 'NR13 3AA' FROM ...
1
vote
1answer
92 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
23 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
157 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 ...
2
votes
0answers
123 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 ...
9
votes
3answers
2k 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. ...
3
votes
1answer
129 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 ...
7
votes
1answer
813 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 ...
5
votes
1answer
2k views

Is there a way to export QGIS layers to KML?

has had anyone had any luck with the new experimental plugin qgis2kml? I keep getting the error msg layer : format not yet supported I had a look but the author has not provided any documentation, ...
2
votes
1answer
2k 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 ...
4
votes
1answer
243 views

QGIS Globe UnsupportedOperationException

My QGIS Globe is not working: After starting it, that massage pops up in a endless loop: UnsupportedOperationException: GeometryGraph::add(Geometry &): unknown geometry type: ...
5
votes
1answer
710 views

Where can I find documentation on QGIS C++ Plugin Development?

Is external C++ plug-in support available for QGIS? I'm having a really hard time getting started here. I followed the doc here: ...
1
vote
1answer
323 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 ...
1
vote
1answer
136 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: ...
7
votes
2answers
2k 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
143 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
2k 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: ...
2
votes
1answer
737 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
110 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 ...
0
votes
1answer
146 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
370 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 ...
4
votes
2answers
899 views

How to configure 3rd parties for the sextante plugin in qgis?

I'm currently exploring the enourmous potencial that the sextante plugin for qgis has to offer. The model builder will surelly be a very handy tool. The problem is I'm not beeing able to run 3rd ...
-1
votes
1answer
150 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 ...
1
vote
2answers
1k 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 ...
2
votes
1answer
546 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 ...
3
votes
1answer
229 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 ...
1
vote
0answers
207 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
440 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 ...
2
votes
0answers
509 views

Trouble with Python plugins on QGIS [closed]

This question has been bugging me for a while now, and I still haven't managed to solve it, so I'm giving it another go, hopefully someone may help me out. I've been having problems loading several ...
1
vote
1answer
240 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 ...
3
votes
1answer
676 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
228 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
1answer
189 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 ...
6
votes
3answers
2k 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 ...
7
votes
1answer
228 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 ...