Questions tagged [qgis-plugins]

Software plugins that add functionality to the QGIS package

Filter by
Sorted by
Tagged with
5
votes
1answer
2k views

Handle add new feature event and/or access feature before commit?

Is it possible with PyQGIS to catch "add new feature" event before commiting changes on the layer? or at least to access new features before commit.
5
votes
1answer
205 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 ...
5
votes
1answer
128 views

Receiving value from QgsPropertyOverrideButton if data defined override is checked

I am trying to develop a plugin for QGIS 3. For me it is quite the first time really working with pyqgis or python, so there might be something simple I am missing. I want to use data defined ...
5
votes
1answer
2k views

Processing R Provider plugin for QGIS 3.4

I downloaded Processing R Provider plugin (v.1.0.1) which allows us to use R in QGIS 3.4. Installation and settings were really smooth. This plugin automatically recognizes R installation folder and ...
5
votes
2answers
686 views

QGIS plugin, GeoSearch: Doesn't Search

I am trying to use the QGIS plugin GeoSearch. Every time I type in an address and hit search, nothing happens. When I first installed it a few months back, it worked like a charm, I dont know why one ...
5
votes
1answer
90 views

Is there still a qgis plugin wishlist?

I was wondering if there is something like a wishlist for QGIS plugins? The link on this page does not work anymore. It would be quite useful to know what people need.
5
votes
1answer
89 views

Add an extended set of plugins to a fresh QGIS installation

There are a number of non-default QGIS plugins I use every day that are not included in a fresh installation of QGIS. QuickMapServices, QConsolidate are just to name a few - I think everyone has their ...
5
votes
1answer
404 views

Displaying loaded project file name in QGIS title bar when opening via QgsProject.instance().read()

On Windows, if I open a project in QGIS then the project file name appears in the title bar. If I do the same thing in PyQGIS using the following code the title bar does not change. from PyQt4....
5
votes
1answer
522 views

Add extra item to drop down menu plugin. “Layers menu from project” plugin

I have created a drop down menu in QGIS. The code is mainly from the "Layers menu from project" plugin. I have cleaned it so it only have the drop down. My problem is that I will like to add an ...
5
votes
1answer
343 views

Adding Features with PyQGIS?

I'm new to PyQGIS and I'm having some dificulties. I'm trying to implement / utilize "Add Feature" (polyline) functionality in my python plugin. I know I can do this by defining starting and ending ...
5
votes
1answer
275 views

Is there a way to locate plugins in the QGIS gui programatically from pyqgis?

I've let my love of shiny new QGIS plugins get the better of me, and I'm finding it difficult to remember which menu / submenu / panel that a given plugin is in. I'm using well over 100 now, and going ...
5
votes
2answers
375 views

How to create a python plugin in QGIS 2.4.0?

While I am learning to create a python plugin in QGIS 2.4.0, I have followed the procedure explained in "https://qgis.readthedocs.org/en/latest/docs/pyqgis_developer_cookbook/13_plugins.html#...
5
votes
1answer
68 views

How to store the CHANGES to a map database

I'm looking into providing a map amendment service for a particular map series. The service will help map owners look into the changes made to the operational features of the map, after the map was ...
5
votes
2answers
4k views

Getting polygon shapefile node coordinates and point order

I am trying to get the coordinates of each node of a polygon in QGIS. What I basically did is use the following tools: Vector -> Geometry tools -> Extract nodes Vector -> Geometry tools -> Export ...
5
votes
2answers
5k 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, ...
5
votes
1answer
2k views

How to load a postgres view using pyQgis?

Under Qgis 1.8 on Windows 7 I have this problem with my pyArchInit plugin: I need to load on the map canvas my geometries from a postgis layer. Till the 1.7.4 version I use the method explained on the ...
5
votes
1answer
59 views

QGIS plugin development and libraries

I would like to develop a new plugin for QGIS. I'm new to python but good knowledge in other languages. I use "plugin builder" to create the bases of my plugin. Then i would like to add specifics ...
5
votes
1answer
703 views

Enabling QGIS Official Plugin Repository in the 3.4.1 Version?

I am using QGIS version 3.4.1. Recently, I cannot install new plugins. I have looked in the plugin setting. It seems that the link is blocked. The address is "https://plugins.qgis.org/plugins/plugins....
5
votes
1answer
266 views

Are there any QGIS tools or plugins that can display photos stored in a database?

A colleague's team has been using the eVis plugin in QGIS to store research photos. eVis relies upon a filepath or URL stored in the data source (shapefile, Spatialite db, etc.). They are using a ...
5
votes
1answer
113 views

What signal does x button in messageBar emmit or how to get rid of it using PyQGIS?

I'm creating QGIS plugin and I'm informing user about the progress of computation via QProgressBar, that is shown in messageBar. I have added Cancel button, that gives user a possibility to end the ...
5
votes
1answer
2k views

Timelapse Google Earth Engine and QGIS

Any chance somebody is working on plugin for QGIS or know about any project trying to get Timelapse Google Earth Engine (imagery) into QGIS? There was a major update recently and it looks really ...
5
votes
1answer
728 views

How to change OpenStreetMap Layer Properties in QGIS 2.0

I have loaded the OpenStreetMap layer in QGIS 2.0, but would like to edit the properties in order to better complement the map I'm producing. I can't seem to find the OSM toolbar or OSM Feature widget ...
5
votes
1answer
349 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
226 views

Importing text as legend or to legend in QGIS?

I have a layer consisting of appr. 30-45 classes. The majority of the classes has an item description containing multiple lines of text. In ArcMap I can achieve a layout like this Is a similar layout ...
5
votes
1answer
347 views

getFeatures() is inaccurate with memory layers

I was writing a plugin for QGIS when I wanted to copy all my data to memory layers and edit them instead of actual shapefiles to speed up the process. In a QgsMapTool-derived class, I am using a ...
5
votes
1answer
918 views

Sending a https request from a QGIS plugin using urllib2

I'm developing a QGIS plugin that needs to send https request to an API. I have to use urllib2 (see below if you want to know why I don't just use the requests package) The first request I need to ...
5
votes
0answers
403 views

How to compute time-space maps automatically? [closed]

I am looking for a way to produce a time-space map in QGis or ArcGIS. See an example here. As input data, I have a city in the centre of Germany with travel times to some other cities around it. I am ...
5
votes
0answers
8k views

OpenLayers Plugin and QGIS 2.4 [closed]

I have installed QGIS 2.4 with the stand alone installer and the OSGeo4W too on three different computers. Two have Win7 64 and one vista 64. It seems that the OpenLayers plugin does not work any more....
4
votes
4answers
3k views

“ImportError: cannot import name uic” error in QGIS

I've just updated to the current version (2.18.5 on Windows) of QGIS, in the hope of getting rid of the above error, without success. Some time ago I tried to install the QField Sync plugin, which I ...
4
votes
3answers
16k views

How to select features of visible layers in QGIS

In QGIS 1.8 I used plugin "Select features of visible layers by rectangle" to know the layer that owns a visible feature. In QGIS 2.0.1 this plugin is no more available. I wonder if it is possible to ...
4
votes
2answers
2k views

Georeferencing window won't open QGIS 2.4

I had the georeferencer window open in QGIS 2.4 while project was running, I accidentally closed the Qgs document with the georeferencing window open (worked absolutely fine till then). When I opened ...
4
votes
3answers
232 views

How often is QuickMapServices updated?

I am using Google Satellite (via QuickMapServices) in QGIS to count settlements in a certain area, and I'm looking to compare this settlement data to satellite imagery from a few years back. Is there ...
4
votes
3answers
227 views

Best way (performance wise) to add Attribute fields in PyQGIS on large files

I have a question regarding adding attribute fields on an existing vector file in PyQGIS. I’m writing a processing script for QGIS, and so far, I use the QGIS field calculator to add new attribute ...
4
votes
3answers
17k views

Measuring distance between points using QGIS?

I have a layer with about 500 single points. Now I want to measure the distance between each of these points and one specified observation point. I need the distance to show how far away from the ...
4
votes
1answer
2k views

How to print Bing Aerial maps in QGIS?

I need to create a big number of maps in QGIS for a breeding bird monitoring scheme. The Bing Aerial maps would be perfect as underlying layer as they have sufficient resolution and very nice ...
4
votes
1answer
2k 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 ...
4
votes
2answers
1k views

QGIS Plugin - Automatically update field names combo box using data from another combo box

I am creating my very first QGIS plugin using two combo boxes - one to select a layer and the other to select a field. Whilst the layer selection feature seems to work, the field name combo box is ...
4
votes
1answer
6k views

How to create a dock widget correctly in QGIS plugin?

I am building a QGIS plugin and would like to use a dock widget. I have used QT creator to design the UI, with the object type being a QDockWidget. When the plugin is enabled in QGIS the dockwidget ...
4
votes
1answer
2k views

How can I delete a shapefile using OGR?

In my QGIS Python plugin, I use shapefile layers and I am having a problem rewriting existing shapefiles. Is it possible to delete a shapefile from disk using OGR?
4
votes
2answers
179 views

How to exaggerate the elevation in QGIS 3.6?

I´m using QGIS 3.6 to create a Thematic Map with a basemap (STRM). So, to do that, I downloaded the STRM file (*.TIF) in this site: https://earthexplorer.usgs.gov/ File Name: s11_e040_1arc_v3 ...
4
votes
2answers
156 views

Getting QGIS / Processing revision number from PyQGIS?

In QGIS, certain processing algorithms change between revision (in my case the merge function between version 2.14.1 and 2.14.7). How can I access this information from PyQGIS, in order to make a ...
4
votes
2answers
801 views

Python Error using MMQGIS, global name 'math' not defined

I am using QGIS 2.16 and trying to compute distances between two points using the MMQGIS plug-in (Hub -distance). This worked like a charm, but recently I have been getting a Python Error whenever I ...
4
votes
1answer
2k views

QGIS: what is the difference between heatmaps and interpolation plugins?

I need to generate a raster looking like a « heatmap » based on a points layer. On this layer, each point represents a nest (bird population study). I need to produce a nest density map (raster) from ...
4
votes
2answers
164 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 ...
4
votes
2answers
154 views

Listing of vector layers

I am in the process of writing my two first QGIS plugins. (https://github.com/sickel/qgisSpectre and https://github.com/sickel/qgisstripchart) both of them contains two drop down boxes, one to select ...
4
votes
2answers
362 views

Measuring loading times in QGIS using PyQGIS?

Is it possible to measure when QGIS starts and stops loading/rendering a layer? I used something similar in OpenLayers before (loadstart and loadend event, http://dev.openlayers.org/examples/...
4
votes
1answer
636 views

Examples of QgsFieldComboBox.setFilters() in building QGIS Plugin

I am making a plugin in QGIS which involves the use of QgsFieldComboBox, what I want to do is that the combo box only shows fields with data type of string (or to show fields with data type of integer,...
4
votes
2answers
638 views

How to use Qgis Gridsplitter Plugin in Console

I would like to use Gridsplitter plugin in console. I have the following code for doing it: from qgis.core import * import qgis.utils import imp gridSplitterPath = "C:/Users/Mossy/.qgis2/python/...
4
votes
3answers
5k views

How to Continue a Line Feature in QGIS?

I'm looking for a way to continue a line feature in QGIS. I have checked the Digitizing Tools plugin (both regular and advanced) for a Prolong Line tool, but I haven't had luck. In ArcGIS there's a ...
4
votes
2answers
349 views

Why can't I multiply values from column named 'length' using field calculator via PyQGIS?

I want part of my plugin to multiple value of length and add it to table.Basing on this question: How to use QGIS field calculator in python? , I made script that works fine for some filed: I can ...

1 3 4 5 6 7 44