Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

1
vote
1answer
18 views

View feature space for multi-band files

I am trying to plot a feature space (scatter plot) for some SPOT images in QGIS 2.8.1. I know a histogram is available in the file properties, but I want to plot eg. Band 1 vs Band 2 to see the ...
1
vote
0answers
17 views

QGIS plugin saving layerstyle

I tried to use: Error = "" vLayer.saveStyleToDatabase ("styleName", "description", True, "", Error) in a python-plugin for QGIS 2.6 to save the data but no success. No error is written. First of ...
-4
votes
0answers
32 views

Creating Check Boxes for all the Layers displayed inside the List View

I have a List View in my UI. Inside which I would like to display the layers loaded in my QGIS toc. For each layer in List View, it should automatically create checkboxes for all layers. How this can ...
3
votes
2answers
55 views

Loading Grass 7.0 vectors in QGIS broken?

Running QGis 2.8.1 in Win7 (64bits), installed through OSGEO4W. When trying to load a Grass 7.0 vector file in QGis, the program will simply crash without any notice. I can load old Grass vectors ...
1
vote
0answers
42 views

Qgis 2.6 and 2.8. Custom form and Init function

I try to apply the good tutorial written by Nathan "Custom feature forms with Python logic". I try his sample on qgis 2.6 and 2.8. I altered the sample to allow field initialization by setting ...
0
votes
0answers
33 views

Python Plugin not Working when I degrade the QGIS version from 2.8.1 to 2.0.1

I removed QGIS 2.8.1 from my system with Ubuntu 14.04 OS, as I was not satisfied with this version because it was crashing when I loaded data from my local server. Now I again installed QGIS 2.0.1 but ...
1
vote
1answer
27 views

how to generate metadata file for semi automatic classification plug in?

I am working on satellite images. The region I am interested in is only a fraction of the whole satellite images. My laptop slows down tremendously when working on the whole image. So I clipped the ...
1
vote
1answer
294 views

Opening Esri Personal Geodatabase (*.mdb) using QGIS 2.6?

Is it possible to open an Esri Personal Geodatabase (*.mdb; ArcGIS 10.2) in QGIS 2.6? Previous versions were right.
1
vote
1answer
44 views

No expected output when accessing variable from one function and using in another fucntion

I have a function say selectedfeatures this function would be called when a selection changed event happens in mapcanvas. self.canvas.selectionChanged.connect(self.selectedfeatures) ...
0
votes
1answer
22 views

Behaviour of Select Feature by Freehand tool in my own plugin

I am calling QGIS "Select Feature by Freehand tool" in my plugin. what it will does is it allows the user to select features in mapcanvas and i made a signal like if selection changed in mapcanvas , ...
1
vote
1answer
33 views

How to define an event for features selected in mapcanvas in qgis using python

I have created a push button, when it is clicked it calls the function 'selectfeatures'. This function will call the Select feature by free hand tool of QGIS and allows the user to select features in ...
1
vote
0answers
19 views

Problem with QGIS Heatmap Plugin [duplicate]

I am experiencing some issues with the Heatmap Plugin (0.2) on QGIS 2.8.1, and I wanted to double-check if I am doing something wrong, or if there is some sort of bug lying around. As a background, I ...
1
vote
1answer
24 views

QGIS plugin: Problems importing resources (resources_rc) file - plugin doasn't load - PATH problems?

I'm building qgis plugin and I can't find solution for this error. File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 478, in _import mod = _builtin_import(name, globals, locals, ...
0
votes
0answers
22 views

QGIS 2 leaf plugin - How can I receive legend in Czech language - letters with diacritics missing

I am using QGIS 2 leaf plugin and on the web my index.html don't show in the legend letters with diacritics. When I see the html code there is . It doesn't enable languages like the Czech language? ...
3
votes
1answer
44 views

Need to Quickly Add Multiple Layers From Multiple Folders To QGIS Project

I have downloaded several imagery Zip files (content of each is jp2, jpg, jpw, xml, htm, and .dbf, .prj, .sbn, .sbx, .shp, .shx) and would like to quickly add this imagery to my working project in ...
1
vote
0answers
17 views

QGIS plugin : connect to polygonselect Maptool signals

Working on a new plugin I am trying to connect a custom function to the mouse right-clic signal while using the polygon selecting maptool. I have activated the maptool through : def run(self): ...
1
vote
1answer
256 views

Export to Open Layers plugin doesn't work with Raster and WMS

i am trying to export a Qgis_2.4 project to openlayers using the "Export to OpenLayers" plugin. I cannot export raster layer. I am not getting any error message, but the raster layer doesn't appear ...
3
votes
1answer
70 views

Error writing memory layer to shapefile in QGIS

I have created a memory polygon layer in my QGIS plugin. Then I added a buffer based on a point. I can see the ploygon memory layer in the map canvas and I can save it to a shapefile from the main ...
0
votes
0answers
37 views

How to store a triggering action and events and call them when needed using python in qgis

Can anyone explain in detail how to store the triggering action or an event that take place in the mapcanvas in a variable and call the same when needed in python. Say for example,say i have ...
0
votes
0answers
18 views

Change programmatically to RuleBasedRenderer

After loading a shape as layer in qgis i want to use a rulebased renderer instead of the categorized one. i've tried this code: QgsVectorLayer* ...
1
vote
1answer
29 views

Initalize plugin with current working directory?

Upon starting Qgis, a (currently under construction) plugin needs a means of checking the current project/legend/registry. This checksum would ideally occur upon startup automatically. As the plugin ...
3
votes
2answers
287 views

Error when creating a new mapset with GRASS in QGIS

When I try to create a New Mapset with the GRASS plugin in QGIS I get an error or the program crashes. QGIS 2.6.1 (32-bit install, Win7). QGIS crashes completely when clicking "Finish" in the New ...
2
votes
1answer
36 views

PyQGIS: Is it possible to replace an action triggered script by one supplied through a plugin?

In ArcView 3 all controls (menu choices, buttons, tools) had scripts associated with them that could be changed simply by supplying a script with the same name through an extension (plugin). That way ...
1
vote
1answer
24 views

Openlayers plugin not displaying any source

I was previously using QGIS 2.2 and using the openlayers plugin to display google streetmaps on an area. Reopening the project several months later I found that this layer no longer displays. In fact ...
1
vote
1answer
47 views

Plugin to run one function when run button is clicked

My plugin gui is attached below which has two functions one is selecting state, cities from the combo box and distance to be entered in the lineedit and the other is if we click a pushbutton it will ...
5
votes
3answers
156 views

Alternative to OpenLayers plugin for QGIS?

Are there any alternatives to OpenLayers plugin to have Google / Bing maps for QGIS projects? I need an high quality cartography (both aerial and street view) but OpenLayer plugin do not allow to ...
-2
votes
0answers
39 views

Using a QGIS tool in my plugin [duplicate]

I want to use Select Features by Freehand tool in my plugin I want to know what are the steps i should include in my code for calling and using this plugin. Like whether the code should be added in ...
1
vote
1answer
38 views

Convexhull for selected features and performing buffer for the resultant convexhull using python

I have features selected on the mapcanvas. I want to perform convex hull for those selected features and save those in a memory or store it in a variable preferably and then want to do buffer for the ...
-1
votes
1answer
28 views

List printing same values as a buffer output instead printing unique values

I have a list of features selected in the mapcanvas and for that selected features i am doing buffer and printing the feature names that are inside the buffer. While printing,all values in the list ...
3
votes
1answer
134 views

How to prevent users from removing QGIS layers?

I need to prevent users from removing layers. In my plugin code I use the following to achieve that: QgsMapLayerRegistry.instance().layersWillBeRemoved.connect(self.dontremovefunc) def ...
0
votes
0answers
25 views

How to create custom input widget using Plugin builder?

I am trying to develop a plugin that takes in user input for the time, using the QGIS plugin builder. However, I want to specify the different times the user is allowed to select from when the plugin ...
3
votes
2answers
747 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
29 views

Save Vector layer and update .qgs project file (pyQGIS)

need help to solve the following use case: QGIS started with new project (no layers) New layer is created programmaticaly and data is populated: vl = QgsVectorLayer("Point", "temporary_points", ...
0
votes
0answers
23 views

Parcels management and land ownership

Is it possible for me to split a feature by the column area i input?Like A feature has 3000 sqm and i have in attribute table column 1= 2000sqm and column 2= 1000 sqm and based on this 2 colums 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 :-/
-2
votes
0answers
34 views

Installation procedure for older version of QGIS (2.4) on Ubuntu 14.04 [duplicate]

How do I install an older version of QGIS, specifically 2.4, on Ubuntu 14.04? I am trying to run SWMM model on QGIS 2.8, but the SWMM plugin is not compatible with that version. Can anyone suggest to ...
2
votes
1answer
43 views

Odd behavior in a QGIS plugin: my function is triggered twice

I have a plugin with a function (triggered by a button) that selects a specific layer by name, then shows its attribute table. When I close the plugin and open it again, the attribute table pops up ...
7
votes
2answers
3k views

How can I programatically create and add features to a memory layer in QGIS 1.9?

I had a working plugin in QGIS 1.8 which read data from an MSAccess database and added it to a series of memory layers. There is some processing involved in the interim so I don't think simply using ...
0
votes
0answers
22 views

Creating Convex hull and finding buffer in QGIS

I have a layer and features are selected using Select Features by freehand tool and for that selected features, convex hull was done and for that convex hull i am trying to find buffer and write it in ...
0
votes
1answer
360 views

visualize bounding box to a polygon

I try to make plugin in QGIS that compare 2 bounding box data, ex: (-32.61442167739459, -32.017601026186576, 13.015663782506067, 13.428145228091406) and (-38.6102467739459, -38.017601026186576, ...
2
votes
3answers
32 views

QGIS python plugin appends values every time it's started

I've written a small python plugin (using plugin builder as base) to simplify the expression process for a given layer (just a few comboboxes that are used to create a query). The combo box populating ...
1
vote
1answer
39 views

Buffer for features selected in the mapcanvas and writing to csv file

I have some features selected by using "Select Features by Freehand" tool in QGIS and try to find the buffer for those selected features alone and write the city and state names within in the buffer ...
1
vote
1answer
30 views

Can't compile plugin builder plugin in QGIS 2.4 (Windows)

I'm trying to build a basic plugin using plugin builder but I can't even compile it. I tried following a few tutorials and just trying to compile whatever but that always results in the same problem. ...
1
vote
1answer
32 views

How to do a buffer operation for a polygon drawn by the user using python in QGIS

I have a polygon drawn on the map canvas.Say the polygon would be drawn by using "Measure Area" tool in qgis.Now, I want to do buffer for certain distance around that polygon.I can see the below ...
0
votes
1answer
20 views

Where can I get the Cadinput plugin for QGIS

From Stackexchange, I got to know that Cadinput plugin could do this work. I need to create a line feature specifying the desired length and bearing in an open source GIS (Preferably QGIS) as in CAD ...
1
vote
2answers
1k views

QGis 2.0.1 mapserver extension missing

I tried to export my Qgis projects to mapserver, using RT mapserver extension, because there is not any other extension in my version of QGis.(QGis 2.0.1 Dufour on ubuntu 12.04 LTS). After installing ...
-3
votes
1answer
23 views

Warning message needed when there is no specific layer instead of python error

In my plugin, when I click a button it will call the findTheCityNames function which is attached below and get features if there is a particular layer. What I want is if there is no specific layer in ...
3
votes
2answers
58 views

QGIS Plugin for PostGIS versioning

Does anyone of you know a QGIS-Plugin for Versioning PostGIS-Data? I know there was pgVersion of Horst Düster but as far as I know this was not updated for QGIS 2.x (at least not for the "normal" QGIS ...
1
vote
1answer
49 views

How to get a layer by name in PyQGIS?

I have a plugin which finds buffer for list of cities, provided the distance. The state and city names are taken from the attribute table and gets filtered accordingly. What I want is My plugin should ...
2
votes
1answer
57 views

QGIS moving the layer/all features using Vector Affine Transformation

I'm using QGIS to analyse some flight tracks which were produced using a different software. Now when they are on QGIS the reference point of everything is on 0,0 which is the aerodrome reference ...