Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

1
vote
1answer
34 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 ...
1
vote
1answer
31 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 ...
-4
votes
0answers
26 views

Error in clicking browse button in my plugin [on hold]

I have a browse button in my UI in my plugin and when in click it, it throws an error which is attached. Also code is attached for reference. def __init__(self, iface): """Constructor. ...
-1
votes
1answer
27 views

Global name canvas is not defined

I am just trying to print the layer name using python in my QGIS plugin by following code. allLayers = canvas.layers() for i in allLayers: print i.name() It is saying an error: Global name canvas ...
0
votes
0answers
25 views

How to select the buffer region in map canvas in my plugin using python

I am developing a plugin which finds buffer by getting state name, city name and distance given by the user. The plugin works fine and writes the cities that matches the distance in a CSV file. What i ...
1
vote
1answer
19 views

Error while trying to replace a opened csv file with the newone in my plugin

My plugin does some basic geoprocessing functionalities and write the output as csv file. What i want is when i open some already writed output csv file in a writable mode and try to replace the same ...
1
vote
0answers
5 views

How do i select specific time and download quality MOD021KM data

I am trying to download MOD021KM for net primary production estimation, and am so stuck on how to download the data and selecting the best time of a day using LAADS website. Morever which values for ...
2
votes
5answers
106 views

How to export attribute table with start and end coordinates of lines to Excel?

I am working in QGIS. I have a georeferenced line layer and I want to export the attribute table and the coordinates of start and end points of my lines to Excel. Can I do this with QGIS?
0
votes
0answers
22 views

Error in finding buffer

I am trying to find a buffer for city provided a state, distance and filepath to write as csv. What i am facing is that the name which i selected in the city combo box alone gets writed in the csv ...
1
vote
1answer
26 views

Removing the duplicate values in QCombo Box

In my plugin, there is a combo box which lists city names for a particular state. FOr example, if i chose a particular state and city will be some 20 names in the dropdown. But the first name alone ...
1
vote
1answer
38 views

How to compute buffers for certain features?

I used the following snippet of codes for finding buffer. def buffer(self): layer = self.iface.activeLayer() distance = float( self.dlg.DistancelineEdit.text() ) city = ...
3
votes
1answer
66 views

How to import fromUtf8 in QGIS?

# Declare instance attributes self.actions = [] self.menu = self.tr(u'&City_searcher_plugin') # TODO: We are going to let the user set this up in a future iteration self.toolbar = ...
0
votes
1answer
42 views

How to trigger a QGIS action when a plugin button is clicked?

I tried calling the select free hand tool by below snippet of code. iface.actionSelectFreehand().trigger() I dnt have any idea how to call this when i am pressing a button in GUI. my gui is ...
0
votes
0answers
25 views

Error in my buffer plugin

In my buffer plugin, i tried the following code # Get buffer distance and selected city dist = float( myLineEdit.text() ) city = myComboBo.currentText() # Get the feature corresponding to the ...
1
vote
1answer
42 views

How to call default tool in QGIS inside plugin using python script?

I want to create a plugin which can draw irregular polygons in QGIS. For that, I want to call the Select features by freehand default tool inside my plugin. How can I do this within a python script?
1
vote
1answer
52 views

How to connect Excel file with QGIS?

I am working with QGIS and I want to connect with Excel. I have exported attribute tables to Excel. Now I want to connect Excel with QGIS in the way that if I change a line dimension, it will be ...
2
votes
2answers
46 views

Is it possible to set up a local QGIS Plugin repository?

I've developed a couple of custom QGIS Plugins for use by our office. I can't post them to the official QGIS Plugins repository as they reference/utilize sensitive data on our own servers. For ...
0
votes
2answers
21 views

Is there a list of free application modules (or “Fachschalen”, in German) for QGIS somewhere?

I'm looking for application modules (in the form of plugins) that cover sets of related tasks like asset management, in a basic UI. A simple use case example: a water gauge (point feature with a 1:n ...
1
vote
2answers
94 views

How to export attribute table to Excel from QGIS?

I have seen all the questions for this question, and I try all the answer like copy paste, csv (in fact this I don't know where to find) but none of all is not the right answer. Can anyone help me?
0
votes
0answers
40 views

Couldn't load plugin processing in QGIS: Access is denied for R

Couldn't load processing plugin due to flowing error. Any help? thanks. Couldn't load plugin processing due an error when calling its initGui() method Traceback (most recent call last): File ...
1
vote
0answers
27 views

QGIS 2.6 can't reload Python plugins

Im using QGIS 2.6 on Ubuntu 14.04. Suddenly a strange caching behaviour appeard in QGIS. When I change the plugin code and try to reload it with for example the Plugin Reloader plugin or when I reload ...
1
vote
0answers
17 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
votes
0answers
35 views

To find buffer using python for a plugin

In my buffer plugin which i am creating, state is selected in a combo box , city is filtered based on the state selected in a other combobox. Distance value will be get from the lineedit box. After ...
1
vote
1answer
19 views

Getting a number from QLineEdit and passing it to the buffer function

I am developing a plugin which finds buffer. In that i am using lineedit for getting distance from the user and pass it to the buffer function. My current code throws an error "'QLineEdit' object has ...
2
votes
1answer
71 views

How does QGIS know there is a plugin update?

I've created a plugin and hosting the installation zip and xml file on a local network repository (for company use). Everything works fine but every time a user opens QGIS, it shows that the plugin ...
1
vote
1answer
43 views

Getting values from Qt widgets and using them for a buffer

I am writing a simple plugin that finds buffer. My gui has 2 combo box and 1 Line edit. The first combo box will have a drop down of values from column 'States' and 2nd combo will have a drop down of ...
0
votes
0answers
10 views

editing and moving curved text labels (along lines)

does anyone knows how to edit curved text label previously placed along a line?; and after converting it using Easy Custom Labeling plugin "Created labeled layer" tool, I obtain a point feature and I ...
1
vote
1answer
78 views

Adding field values to a QComboBox in PyQGIS

I have a layer say 'Cities'. There is a column called 'NAME_1' in the layer. My GUI has a QComboBox in which i want the values of column 'NAME_1' alone to be displayed in the drop down of the combo ...
1
vote
1answer
40 views

How do I properly import python sklearn to QGIS PyQt plugin?

A bit of background: I'm somewhat new to python and QGIS plugin development. I've created a plugin structure for QGIS using the Plugin Builder on QGIS and I've added some controls to the gui and ...
1
vote
1answer
54 views

How to find chainage of points using LRS

I have a Shapefile of road that I have converted from a KML file (created on Google Earth) and a txt file containing lat long (from GPS) of points with some attributes. The points are not exactly on ...
-2
votes
0answers
44 views

GUI that queries from Spatialite Database

I am developing a GUI that has three drop down say state, cities and distance. The output needs to be a CSV file with the cities within that radius. What I want is the full data is placed in ...
1
vote
1answer
45 views

How to sum 10 raster bands instead of 9 from code?

I want to sum 10 raster bands but the problem is that the following code will only work for summing 9 bands, which means the output image consists of 9 bands. from qgis.core import * from qgis.gui ...
2
votes
1answer
47 views

Layer properties dialog in my QGIS plugin

I am developing a plugin which should display some information like geometry of the layer, feature count etc. Now those are currently displayed in QMessageBox.information. I want it to be displayed ...
3
votes
3answers
110 views

Separate a string value in two integers in QGIS

My problem is the following. I have a huge dataset of forest stands. All the information are separated but in many cases the stands have different age and this is marked in one attribute for example ...
1
vote
1answer
61 views

How to deactivate my custom tool by pressing the Escape key using PyQGIS?

I'm developing a QGIS plugin and I have created a custom tool. Once the process is over, if the user presses the ESCAPE key, I want my custom tool not to trigger mouse events on the map anymore. How ...
0
votes
1answer
36 views

Loading all the vector layers in plugin

I have a list of vector layers loaded in the canvas of qgis. `layers = self.iface.mapCanvas().layers() for layer in layers: if layer.type() == QgsMapLayer.VectorLayer: ...
1
vote
2answers
45 views

Easy Custom Labeling plugin - Cannot find leader lines/arrow button

I have installed the Easy Custom Labeling plugin but the toolbar is nowhere to be found. I have checked the box "Activate experimental plugins" in the Plugins' "Settings" menu. Does anyone know what I ...
1
vote
1answer
68 views

How to link my QGIS plugin main class to mouse events from a custom Tool?

I Have two files one is mouseevent.py and the other one main.py. class MouseClick(QgsMapTool): canvasDoubleClicked = QtCore.pyqtSignal(object, object) def __init__(self, ...
1
vote
0answers
21 views

“mapinfo qgis style converter” : error message

I would like convert a big point layer from .Tab toward .QML thanks to the plugin called "mapinfo qgis style converter" . The symbology of my layer is quite complexe (variables of coulours, shape, ...
0
votes
0answers
38 views

The result is not displayed after OK is pressed in my plugin

I am developing a plugin that checks for multipart geometry in a layer in qgis 2.6. After ok is pressed, nothing is displayed. My code snippet is attached. def run(self): """Run method that performs ...
1
vote
1answer
44 views

Attribute Error: “List” object has no attribute getFeatures

I am developing a plugin that checks for multipart geometry in a layer in qgis 2.6. I am geeting an error list object has no attribute getFeatures. My code snippet is attached below. def run(self): ...
1
vote
3answers
68 views

Using QGIS2Leaf plugin to export into leaflet but output results into browser crash?

Amateur GIS technician here, Just tried to export my converted cad cities pipelines into a shape files and then export it into leaflet using QGIS2Leaf but the browser crashes before the displaying the ...
1
vote
1answer
38 views

QGIS Semi-automatic classification plugin install error on OS X 10.10: matplotlib.backends.backend_qt4agg

I have tried repeatedly to install the QGIS Semi-automatic classification plugin via both (1) Plugins > Install & Manage Plugins and (2) manually based on other comments I found here, but I ...
3
votes
2answers
29 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 ...
2
votes
1answer
36 views

How to display QGIS plugin panel “OSM place search”?

It is possible to hide the panel for the experimental QGIS plug-in 'OSM place search' - but the panel is not listed (to re-display) under the menu item View | Panels. How can it be re-displayed?
5
votes
2answers
52 views

Start QGIS with virtualenv Python

is there any means of telling QGIS to use a different Python installation than the default, system-wide one? E.g. use some virtualenv Python /myvirtualenv/bin/python instead of /usr/bin/python? ...
4
votes
1answer
50 views

Qgis2Threejs returns empty page

When i try to make 3D scene from DEM with Qgis2threejs it creates a empty html page. I also try to make 3D thematic map from shapefile with the same result. I have also check my browser and it ...
1
vote
1answer
122 views

What is the purpose of some functions and files in QGIS Python plugins?

I'm just trying to understand the architecture of a QGIS Plugin created with the QGIS Plugin Builder, as well as the workflow and the linkage among generated files. If possible, I'd prefer a diagram. ...
5
votes
3answers
130 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 ...
1
vote
0answers
23 views

Error while creating QGIS plugin

I tried developing a python plugin in QGIS2.6 following the instructions in the link http://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/.When I launch the plugin in QGIS after ...