Software plugins that add functionality to the QGIS package
0
votes
1answer
47 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
68 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
21 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
121 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 ...
4
votes
1answer
316 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 ...
5
votes
1answer
504 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
87 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 ...
2
votes
1answer
341 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 ...
5
votes
3answers
362 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.
...
6
votes
1answer
305 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
187 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
256 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
82 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
1answer
133 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
75 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
63 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
47 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
56 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
48 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= ...
5
votes
2answers
594 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
100 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 ...
3
votes
1answer
585 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
115 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
votes
1answer
41 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
1answer
141 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
595 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
126 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
199 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
129 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 ...
0
votes
0answers
65 views
How to apply an existing symbol in pyQGIS?
I'd like to change the layer rendering style from python code.
Basically I want to do the same operations I can do from QGis by:
Right-click on a layer
Select Properties
Select one of the displayed ...
2
votes
1answer
172 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?
1
vote
1answer
387 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
101 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
658 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 ...
1
vote
0answers
182 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
713 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 ...
5
votes
1answer
141 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 ...
11
votes
0answers
266 views
Python Plugin Development in QGIS: How to access label text?
I'm trying to create some custom labels for point features in a QGIS point vector layer, and I want to write a python plugin to do it. We need our labels to be presented with color tinted rectangles ...
1
vote
1answer
58 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!
2
votes
1answer
161 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
76 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 ...
0
votes
0answers
86 views
Road Graph Route not Touching Start and End Points
I am trying to find the distance between 2 points using Road Graph. After I enter the points' coordinates and hit calculate, the route comes up but is not touching either point, and usually it is not ...
2
votes
1answer
114 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
89 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
47 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
65 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
132 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
62 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
293 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
96 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 = ...


