Software plugins that add functionality to the QGIS package
0
votes
0answers
43 views
Different Operation of the qgis library (C++)
I compiled a QGIS sample code (open raster file), but when I choose a file I get an error: "not valid recognized data source".
But when I run QGIS that is compiled from source code it will open ...
3
votes
0answers
46 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
201 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
109 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
79 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
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
65 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
114 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
1answer
273 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 ...
2
votes
0answers
84 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 ...
5
votes
3answers
300 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
66 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 ...
6
votes
1answer
270 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 ...
4
votes
1answer
695 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
631 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 ...
3
votes
1answer
181 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
306 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
112 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
56 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
46 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.
1
vote
0answers
43 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
553 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
96 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
495 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: ...
1
vote
1answer
340 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
86 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
104 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
0answers
158 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 ...
1
vote
1answer
133 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
690 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 ...
0
votes
0answers
83 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 ...
-1
votes
1answer
40 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
527 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
196 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 ...
0
votes
0answers
61 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 ...
3
votes
1answer
127 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
123 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
180 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
349 views
Trouble with Python plugins on QGIS
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
119 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 ...
2
votes
1answer
143 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
106 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
92 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
579 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 ...
5
votes
1answer
131 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 ...
2
votes
1answer
117 views
QGIS Console error Libgrass
Just installed QGIS 1.8. on Mac OSX
Installed GSL
Install GDAL 1.9 Complete
Installed QGIS
keep getting this console error message in QGIS.
Failed to load ...
0
votes
0answers
63 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 ...
1
vote
1answer
55 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!
1
vote
2answers
72 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 ...


