Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

2
votes
0answers
54 views

Is there a way to distinguish between digitized and pasted features?

Is there a way to tell if an added feature in QGIS is in fact a newly digitized one or a pasted feature? I think QGIS is treating both cases in the same way, emitting the same signal: ...
4
votes
2answers
143 views

What is the fastest way to iterate through a list of features?

I have written a QGIS plugin and it iterates through all features in a layer using provider.select() and compares geometry. The problem, the plugin is very slow. If there are 114 features in a ...
4
votes
1answer
84 views

Is it possible show the feature attributes dialog when I add a feature in code?

I want to know if it is possible to make the feature attributes dialog in Qgis show up when I add a feature by code using: QgsVectorLayer::addFeature( tFeature ) This is available when I add ...
1
vote
0answers
376 views

QGis CadTools CAD Console

I need help with the Qgis CadTools CAD Console commands. According to these help files there are six commands. I just can't get them to work. Can someone help me? Thanks
2
votes
0answers
220 views

Postgresql Query Plugins Not Returning Results in QGIS

I'm using the Fishnet function as described here to create a grid. If I use the following SQL to call the function to position a grid where I want it (I'm using NZGD2000 SRID = 2193) the query ...
3
votes
1answer
152 views

How to get raster layer pixels contained in a shape defined in a vector layer

I am new in QGis python plugins dev and I have a "maybe stupid" question (in the title :-) ). I try to retrieve pixels (from a raster layer) which are "contained" in a polygon defined in a vector ...
2
votes
1answer
116 views

Qspatialite plugin problems with queries using inner join

I'm trying to create a layer in QGIS from a sqlite database using a query from 2 tables: one has spatial data and the other doesn't. When I build the query using Qspatialite using the 'Advance SQL ...
2
votes
0answers
50 views

QGis, add dialog and classes to plugin

what are the steps to add files that represent a uidialog(draw with QTDesigner), and add the necessary python class files, using the default makefile provided with qgis plugin builder? thanks,
1
vote
0answers
51 views

How to find a feature on map by its field data

I'm using QGIS 1.8.0 & got much help to find a Featuer using 'Quick Finder' plugin. Is it possible to locate a Feature (using a similar plugin like'Quick Finder'), on map using its attribute data ...
2
votes
2answers
121 views

Invalid Username When Developing a QGIS Plugin on Mac

On a fresh Mac OSX 10.8 install, I've installed Quantum GIS from Kingchaos binaries and it's running fine. I'm trying to develop a plugin for QGIS using Plugin Builder. The skel that Plugin Builder ...
3
votes
1answer
490 views

How to use QGIS Photo import plugin?

I have a lot of Photos with lat, long, and altitude information. When I start the import, I get an error message. Do I need to prepare a blank point layer before importing? Is there another python ...
3
votes
1answer
304 views

How to connect a PyQGIS plugin with Postgres?

I have some questions for you: I created a python-plugin in QGIS, then I created a Qt gui fom my plugin and at last I created a Postgres DB now I need to make a connection between Qt-gui and ...
1
vote
1answer
130 views

QGIS python plugin, segmentation fault, what can I do?

I'm trying to write a python plugin to create an input file for an urban climate model out of three shape files. Unfortunatelly QGIS closes when I try to load the plugin. When I start QGIS from the ...
1
vote
0answers
214 views

Qgis Plugin development with postgres data

can someone help me with initial developing on qgis plugin that displays postgres data table on a QTTableView or QTTableWidget? So far: I can connect to database using psycopg2 or using ...
2
votes
1answer
1k views

What's the proper format for WKT linestrings when importing into QGIS?

I'm trying to run the following test CSV through the Delimited Text plugin as WKT data: oid,Line 1,LINESTRING((45.554194 -122.686101, 45.433001 -122.762632)) 2,LINESTRING((45.432505 -122.598327, ...
0
votes
1answer
304 views

Polygonizer plugin halts in Windows

I've had some success and some problems using the Polygonizer plugin in the past. I'm using Polygonizer 2.1 in QGIS 1.8 on Windows 7. I'm aware there are sometimes problems using Polygonizer in ...
1
vote
1answer
271 views

Is there a way of viewing a photo has a point tag from Photo2shape in QGIS?

Is there a way to view images (photos) that have location point from Photo2shape by clicking on the point in QGIS?
1
vote
1answer
1k views

How to save a vector layer from QGIS to Sql Server 2008 or 2012?

using QGIS, i've loaded up some administrative boundary data of New Zealand. I wish to now import this vector data from QGIS into my Sql Server 2012. Is there any way to do this with QGIS ...
2
votes
1answer
280 views

How to port QGIS C++ plugins to other QGIS installations?

I developed a C++ plugin for QGIS using VC++ express 2008 and a QGIS dev release (1.9.90 alpha), my plugin works fine on this release and now I want to port it to other QGIS installations, so I copied ...
4
votes
1answer
347 views

How to Create a raster layer from a numpy array using pyqgis?

I am working on a plugin for Qgis to calculate spatial Kernel density maps. I have all the calculations working, all I am missing is a way to turn a Numpy Array, with density values into a multiband ...
2
votes
1answer
982 views

Problems with Google layers plugins

I currently use Quantum GIS 1.7.4 at work and I have trouble to open Google layers extension. In fact, when I start QGIS 1.7.4 the following message appears and I cannot use Google layers extension. ...
2
votes
0answers
278 views

How to access mysql data from python built-in console?

I'm writing a QGIS Plugin, and somewhere I want to present data from a MySQL database. It's simple data(strings,etc), not Geospatial, or vector data. I'm familiar with querying databases from python ...
4
votes
1answer
800 views

Plugins are not installed in qgis 1.8.0 Lisboa

I am trying to install plugins in qgis1.8.0 Lisboa but error message is appear as follows, Failed to unzip the plugin package. Probably it's broken or missing from the repository. You may also ...
2
votes
1answer
1k views

How to install fTools and Table manager

I've just make clean install of Qgis Lisboa under Ubuntu Precise. Latest Qgis version under Windows XP is very unstable (crashes every few minuter while editing shp file). After new installation ...
3
votes
1answer
968 views

QGIS: How to load feature (.qml) styles from python? [duplicate]

Possible Duplicate: How to style a layer from console? I'm trying to set the styles for a vector layer by loading the .qml file in the python console. The qml-style file contains all ...
1
vote
0answers
50 views

How to call a method when self.iface.actionSelectRectangle().trigger() is released?

In my QGIS python plugin I use "self.iface.actionSelectRectangle().trigger()" to select features. I also have a button which changes the attributes of the selected features. Is there a way instead ...
2
votes
1answer
396 views

Are features of new labelling tool available to control via Python API?

I am writing a plugin using Python and currently using methods that set the label similar to those seen under Layer Properties. Some of the features under the new labelling engine available on the ...
0
votes
0answers
25 views

add 3rd party repositories [duplicate]

Possible Duplicate: How to install OpenLayers plugin in QGIS1.8 "add 3rd party repositories" is missing from v 1.8 QGIS plugin installer. I would like to access the Openlayers plugin which ...
1
vote
1answer
302 views

installing module in embeded python in qgis

I'm newbie to Quantum GIS and Python. I'm using QGIS in windows platform. How I can install module for python embedded in QGIS? Also, how can I run embedded python from windows directly? Thanks
1
vote
1answer
255 views

ReportLab integration into QGIS returns error message “no module named reportlab”

I want to use ReportLab in my own plugin which I have written for QGIS. I have installed ReportLab for the python versions 2.4, 2.5 and 2.6. The package is respectively installed into the ...
3
votes
2answers
542 views

How much information does QGIS's OpenStreetmap Plugin download?

I am using the OpenStreetmap Plugin for QGIS to download the information for my university extent. The information as I see is downloaded in vector format divided into Points, polygons and lines... ...
1
vote
1answer
431 views

How to disable on-focus “scrolling” of dropdownlists in QGIS forms?

The dropdownlists in QGIS form has an advanced action behaviour i.e. the items in a dropdownlist are getting scrolled while we scroll the mouse wheel by focusing over the control. I don't want this ...
7
votes
1answer
187 views

Jitter or Randomise Points in QGIS

Occasionally I'm asked to plot points that relate to sensitive data items. I would quite like to be able to add a varying level of random jitter to points when plotting so that point density is still ...
0
votes
1answer
118 views

QGIS - Unable to get OSM data on re-opening project

I have now successfully got OSM maps to import as I would like, but if I save the project then later re-open, I always get a bad layer message and I have to reload the OSM once the project is open. ...
1
vote
0answers
195 views

Problem using addVectorLayer() in Qgis

I am confused a bit, using addVectorLayer() in QGIS plugin. I want to add and display a vector layer, directly when QGIS opens. Hence I am using addVectorLayer() in _init_() function of my plugin. ...
3
votes
1answer
416 views

r.watershed analysis error from raster map being in different zone and unable to be opened

I tried running my DEM (geotiff) file through the r.watershed program by the GRASS GIS plugin of QGIS. I believe the error message results from a raster map in the different zone than the current ...
1
vote
0answers
431 views

How to change feature's geometry?

Hy, I'm creating my layer like this: crs = core.QgsCoordinateReferenceSystem(4326, core.QgsCoordinateReferenceSystem.EpsgCrsId) uri = "Polygon" uri += '?crs=' + crs.authid() uri += ...
0
votes
0answers
27 views

Set buffer radius in metric units in qGIS [duplicate]

Possible Duplicate: What is up with QGIS buffer tool units? A similar question to this one has already been asked QGIS - Change unit of measure from degrees to meters, but none of the steps ...
4
votes
1answer
215 views

Surface covered by buffers in QGIS

In QGIS, I have plotted buffers around points. I would like to calculate the area which falls under buffers without over counting due to buffer overlaps. Is there a quick and easy way to do this?
2
votes
1answer
463 views

Loading an older google satellite image with OpenLayers plugin in QGIS

I am using the OpenLayers plugin in QGIS. I want to use the google satellite layer, but there is a cloud on the specific image. Is it possible to load one of the older google satellite images? Like ...
4
votes
1answer
439 views

QGIS - export a project with dependencies

I was wandering if there was a way to save a specific project with all layers as dependent files to make it easy to share with collaborators. for example, create a zipped or non-zipped folder ...
1
vote
2answers
121 views

Fetching field values from uncommitted features on Qgis

I'm trying to fetch a feature's field value on Qgis, I use QgsFeature.attributeMap().value(cont int & key).toDouble() This works fine for committed features but it always returns " 0 " if the ...
3
votes
0answers
260 views

Freehand plugin query

I've installed the QGIS 'Freehand' plugin and I have a query regarding it. When drawing a polygon qgis automatically closes the polygon when the pen leaves the graphic tablet. Is there any way to ...
1
vote
1answer
1k views

How can I create a custom form to display the attributes of the selected object?

I have already appealed to the selected objects, and found a way how to put them in a MsgBox. But I need to output was in the form
0
votes
1answer
1k views

How to install sda4pp plugin with missing repository in QGIS

I see that the repository for the sda4pp plugin went down in 2011. Does anyone know if there is another way to download the plug-in with the repository missing? If this plug-in is no longer ...
3
votes
1answer
528 views

Changing attribute data types using PyQGIS

OK, so I've already asked a question how to access attribute data types when developing plugin for QGIS, using PyQGIS. And one helpful member said i should use pendingFields() method on the current ...
0
votes
1answer
157 views

Qgis : QGraphicsTextItem's position not updated?

I'm using QgisInterface->mapCanvas()->scene()->addItem(QGraphicsTextItem) to add a QGraphicsTextItem to the map canvas. The problem is that when I use the pan tool to move the display the added ...
0
votes
0answers
61 views

How can I create form with controls using QGIS(python)? [duplicate]

Possible Duplicate: How do I build a custom form for entering attributes in QGIS Help me, please create a form with controls using QGIS plugin. Thanks!
7
votes
1answer
1k views

How can i create sectors for telecom towers

friends i am seeking advice from the GIS community I work in the Mobile networks industry and i took up a task to create a plugin for QGIS using c++/python that does the following: step 1: Create ...
4
votes
1answer
542 views

How can I add OpenLayers layer from the python console?

I am new to the python console. How can I add a layer from the OpenLayers plugin from the python console? Thank you