Software plugins that add functionality to the QGIS package

learn more… | top users | synonyms

2
votes
1answer
35 views

Triggerring HeatMap Plugin using Python

I am trying to access heatmap plugin from Raster -> HeatMap -> HeatMap using PyQGIS.If my custom button is clicked, the heatmap plugin dialog box should opens.I know the heatmap is a c++ plugin.Is it ...
3
votes
1answer
96 views

Script that runs automatically from the QGIS Python Console when QGIS starts, using schedule tasks on Windows 10

I'm working with QGIS 2.8 and windows 10. Is it possible that after open QGIS using the schedule tasks from windows 10, I could open the python console and run a script within QGIS programmatically. ...
1
vote
0answers
39 views

how to while true in thread for qgis plugin?

I am currently working on qgis plugin that searches for information every 5 seconds from database and refreshes the map. In my first version, I used Qtimer to do this job. However, in my second ...
5
votes
1answer
56 views

How can I print the text of help(some_method_class) in my QGIS plugin?

I'm developing a QGIS plugin to search classes and classes methods of QGIS. The dir equivalent option it was answered in: How can I access to elements in dir(some_class) of PyQGIS without a ...
4
votes
2answers
99 views

How to populate QTableWidget via plugin?

I am attempting to populate a QTableWidget by adding rows, this is done by the user clicking on the add button: I have the following code to try and insert rows but nothing is happening: def ...
1
vote
1answer
39 views

Compiling QGIS 2.14 32 bit with Visual Studio

I have two plugins for QGIS 2.8 32 bit until now compiled in Visual Studio 2008. Now I want to bring them up to QGIS 2.14 32 bit, but get error message in compiling because Error C2065: 'nullptr' ...
1
vote
0answers
20 views

scale polygon in Qgis [duplicate]

The task is to scale a polygon in QGIS. The procedure is performed tracing the polygon and then apply a scaling factor ( the factor used is " Distance on the ground" / " Distance on map " ) . Both ...
4
votes
1answer
37 views

How can I optimize layer filtering using setSubsetString or QgsFeatureRequest().setFilterFids(my_indexes)

i'm developping a plugin (under QGis 2.8.1) for traffic assignment where I want to show the results of my simulation at each time step. Right now I'm using Time Manager plugin but it gets very slow ...
3
votes
2answers
44 views

broken plugins with QGIS install

I have been struggling with this for a bit. I recently upgraded my qgis to 2.8.9, and now am having issues with the ftools plugin as well as the processing plugin. When I start qgis, I get this error: ...
2
votes
1answer
53 views

How do I change the pixel values of raster data from QGIS python plugin

I have been trying my hand at a QGIS plugin. The plug in reads raster layer data into an array, pipes the data to a C++ program, does processing over there, and pipes my results back. After a couple ...
1
vote
0answers
37 views

How to incorporate QGIS custom widgets into plugin? [duplicate]

Developing a plugin with Qt Designer for QGIS 2.14.1-Essen on Windows 7 and having trouble inserting the QgsCollapsibleGroupBox widget. I receive the following error: ImportError: No module named ...
1
vote
1answer
32 views

QuickMapServices It is not for ubuntu?

I'm new using QGis. I read somewhere that QMS was better and more stable than the OpenLayers complement to use Google Maps. My problem is that it does not appear when I search with the plugins ...
0
votes
1answer
61 views

Exporting Raster from SAGA and importing it to QGIS - error CRS was unidentified

I make raster files from LiDAR las files in SAGA - CRS of .las is Slovenian national Grid. Then i export it as GeoTiff (Import/Export - GDAL/OGR - Export GeoTiff). When i import it into Qgis (Project ...
4
votes
1answer
70 views

Errror using the Simplipy QGIS plugin: 'QgsRasterLayer' object has no attribute 'selectedFeatureCount'

I am adding a raster in QGIS 2.14.1 and get this new error: AttributeError: 'QgsRasterLayer' object has no attribute 'selectedFeatureCount' I am not programming, just using a QGIS menu. I am using ...
1
vote
1answer
33 views

How to request features in a QGIS plugin?

How does one go about requesting a feature to a certain plug-in? The plug-in author is no longer active but he said I could request/implement the feature to someone who maintains plug-ins for QGIS. ...
2
votes
1answer
91 views

Create different print composers from different layers added to QGIS

I'm using QGIS 2.8.3 with windows 10. I want to know if it's possible and how to create, using python code, from each layer (in the table of content) a print composer to each one of them. Any ...
0
votes
2answers
61 views

How to connect push button in dock widget form?

Following this tutorial as a guide, I created a plugin using the Plugin Builder with the dock widget form. I am now trying to connect a pushButton to a function. The following is a snippet of code: ...
2
votes
0answers
65 views

Problem using processing.runandload() [closed]

I'm writing a QGIS plugin using PyQGIS and I have a weird problem. When executing following line of code: processing.runandload("qgis:createpointsalonglines", r"Clipped", 1, 1, 0, r"memory:nodes") ...
2
votes
2answers
47 views

Sum line lengths by category

Is there any chance to calculate line lengths by category. To be precise, I have 4 road categories (state, county, local and uncategorized) and want to calculate them all within one poligone. So far,...
3
votes
1answer
58 views

How can I work with time in QGIS

I would like to make a map displaying how several building uses have changed during the last decades. For example, this building was built in the year 1483 as a monastery, in 1880 it turned into a ...
1
vote
0answers
43 views

Eclipse PyDev has quit recognizing QGIS objects

I followed the instructions for setting up Eclipse with PyDev to start creating QGIS plug ins found here: http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/ide_debugging.html after doing ...
1
vote
1answer
34 views

Why does a Landsat 8 band not load into QGIS SCP plugin?

A 2015 Landsat 8 band 2 does not load into QGIS' Semi-automatic Classification Plugin window when wanting to clip multiple raster bands. Bands are loaded from Table of Contents (TOC) as displayed ...
1
vote
1answer
99 views

Installing and using ArcGIS REST API Connector plug-in?

I downloaded this plug-in http://plugins.qgis.org/plugins/connector/ from the plugins link at QGIS.org and it unzipped into a folder entitled "connector" in my "downloads" folder (running Mac ...
1
vote
0answers
28 views

QGIS plugin 'Module' object has no attribute 'classFactory'

I am trying to learn how to make QGIS plugins and have been trying to follow tutorials such as this one; https://anitagraser.com/2014/04/26/getting-started-writing-qgis-2-x-plugins/ but I keep ...
2
votes
2answers
46 views

using PyQGIS to subsample a region of a raster layer's pixel data

I am having trouble sampling multiple pixels from a raster layer at oe time. If I want to sample pixel data from a layer at a particular coordinate I can write. ident = layers[0].dataProvider()....
3
votes
1answer
52 views

Qgis2threejs installation problem

I have just downloaded Qgis2threejs plugin from: Plugins/Manage and install plugins but the tool doesn't appear in the toolbar. Does anyone know what is wrong? I'm using QGIS 2.14.1 Essen.
0
votes
1answer
75 views

Plugin with QT Creator and Python [closed]

I would like to develop a selection-plugin in qgis. It doesnt run because there is a Problem with the python script. I can select the layer. However, I dont know how can i choose between "ZD", "RD"...
0
votes
1answer
20 views

Getting the DB name of the spatialite table loaded inside QGIS using PyQGIS

I have a table loaded in QGIS from spatialite DB. When i see the layer properties it is dbname='/home/farook/Spatialite/Cities.sqlite' table="cities" sql=. Now i want the dbname alone (i.e) the entire ...
2
votes
1answer
28 views

QGIS CPP multi-platform plugin deployment

We're starting to look at porting some of our plugins over from ArcMap to QGIS and we're pretty excited about it. Currently everything we have is written in C++ so it would be nice to use that on ...
1
vote
2answers
110 views

How to add dynamic text feedback for QGIS plugin?

I am building a plugin using Qt Designer which will initially allow users to select features for a chosen polygon layer and then when a feature is selected on the canvas, the area is printed out in ...
4
votes
1answer
56 views

Connecting to a spatialite DB, querying, writing the queried result to a spatialite table using PyQGIS

I am developing a plugin that connects to a spatialite DB , do some queries and outputs the results to a spatialite table. I had tried with the below code to connect to the DB and print the queried ...
2
votes
1answer
46 views

QGis QDir remove directory problem

I am currently developing a QGis plugin and I need to create and remove directories and I use PyQt. I don't know if my problem comes from PyQt or QGis. So my program creates folders, that works all ...
0
votes
0answers
41 views

Debugging QGIS plugins using Eclipse IDE in Ubuntu?

I am using QGIS 2.14.1 in Ubuntu 15.04. I am developing QGIS plugin using Eclipse 3.8 IDE installed. I would like to configure pyqgis and debug the code using eclipse. Is there any documentation for ...
2
votes
0answers
63 views

How to add plugin icon to status bar using PyQGIS?

I would like add my plugin icon to the status bar at the bottom of the screen. How would I do that? (QGIS API documentation on statusBar() seems to be leading to the QT docs and that site is down ...
2
votes
1answer
36 views

Hook for deinstallation of a QGIS plugin

I have a plugin that creates a lot of settings in the Options | Advanced dialog. I'd like to clean up a little on plugin install. Is there a hook I could use ? unload() is run on any QGIS shutdown ...
1
vote
0answers
30 views

Error while creating plugin using plugin builder in Ubuntu 15.04

I am building a QGIS plugin using qgis plugin builder 2.10.1. I am using Ubuntu 15.04. I had selected (/usr/share/qgis/python/plugins) path for the plugin to store in plugin builder, Its raising an ...
0
votes
1answer
33 views

minidump error message With A lots of layer (shp file)

I'm newbie in GIS or QGIS. I want to create mapweb, Map has a lot of layers (shp files) about 40 layers. I used QGIS2web to create map web. When I add some layers, it was no problem, but when I tried ...
3
votes
1answer
62 views

Can't execute plugin made by Plugin Builder

I have read this post: Can't compile plugin builder plugin in QGIS 2.4 (Windows) But I couldn't resolve my problem. I have already seen this post, looking for help. I can execute: pyrcc4 -o ...
2
votes
0answers
95 views

How to resolve this error with GeoServer Explorer Plugin

This morning I changed my default password of geoserver and since then publishing layers or projects from QGIS not working using GeoServer Explorer Plugin. I am getting this error while trying to ...
3
votes
4answers
258 views

Plugin causes QGIS to crash on startup

I get the message "the plugin will be disabled because it crashed QGIS during last startup." Which plugin? None is identified. I'm a bit of a rookie so not sure where to look to solve this. Running on ...
1
vote
0answers
25 views

pyqgis change or update attribute data with real-time data or Timer update,Memory has been growing

I update my shapefile attribute data by QTimer ,and labling it, keep the lable visiable,change attribute by 1 minute, but the Memory has been growing 1 layers =self.iface.legendInterface()....
1
vote
3answers
62 views

QGIS Heatmap by value (NOT by point-densty)

I need a heat map generated by points value irrespective of how close or far apart the points may be in QGIS 2.6.1 So far I'm using the raster/heatmap/heatmap function. I need the same colour to run ...
1
vote
1answer
60 views

QGIS Authentication System for plugin manager

Does anyone have any details/documentation or information yet on the new Authentication System for Plugin Manager added to QGIS v2.14? We would love some more information, and in particular if it ...
1
vote
0answers
133 views

Adding Plugins in QGIS Essen 2.14.0

I am still relatively new to QGIS and have been using it for the basemap image services associated with OpenLayers plugin_particularly, the Google Satellite service. I am now unable to add/see the All ...
2
votes
0answers
35 views

How to mask only select layers (i.e., exclude some layers from the mask)

is there a way to create a masking layer in QGIS (2.14) that will mask only certain layers, so that some layers (such as baselayer imagery or other) will be unaffected? I'm using geometry generator ...
1
vote
0answers
46 views

How to clip many lines with polygon?

I have two vector layers: "parallel": a vector layer containing a lot of lines, they're all parallel but that shouldnt matter "polygon": a vector layer with just 1 polygon I want to create a new ...
2
votes
1answer
80 views

Quantile in QGIS python Plugin

QGIS is very powerful when it comes to styling Vector Data. When it comes to Raster data, ArcGIS still has some advantages including Styling based on Quantiles. See my earlier post: For this I want ...
3
votes
1answer
55 views

Merge cells together in qgis

I have a qgis vector representing a country. This country countains many houses. I want to join together every 600 houses starting from the bottom to the top with python and qgis. I have a field ...
2
votes
0answers
25 views

Open QGIS project files in exclusive mode / alert if project file already in use

I have QGIS-Project-Files saved to a network drive and was wondering if it is possible to warn users that a project file is already opened by an other user to prevent concurrent editing of the same ...
2
votes
0answers
154 views

Plugins incorrectly being disabled due to “causing QGIS crash”

I have QGIS 2.14.0 installed on my machine (W7 x64, AMD FX-8150 3.6GHz, 8GB RAM, SSD) and I'm having issues with plugins not opening by default when I open QGIS. The message I get (for each plugin ...