Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [qgis-plugins]

Software plugins that add functionality to the QGIS package

0
votes
0answers
7 views

QGIS Required Edit Field

is it possible to set a field in QGIS to "required" using PyQgis? The user should select a value from a valuemap in my plugin. If he has not selected a value, he should not be able to save the object. ...
0
votes
0answers
21 views

QGIS Set Label Placement in Python

I'm writing a plugin that extracts some data from a Postgres database, saves a point shapefile of the data and displays it in QGIS. As part of that process, I want to generate a QML style file. I ...
-2
votes
0answers
16 views

Any alternate method to activate QGIS Processing Toolbox other than through the Plugins Manager? [on hold]

QGIS Crashes when I try to activate the "Processing" Check Box as advised in earlier answers.
2
votes
0answers
29 views

Error downloading a plugin

I have created my own repository for QGIS. If I now install my plugin from this repository, I get the following error message: Plugin has disappeared: The plugin seems to have been installed but I ...
2
votes
0answers
31 views

QGIS Network Analysis Control and Plugins

I am trying to create Isocrones in QGIS for network analysis. I am able to accomplish this using the plugin ORS Tools from my transit stop using a drive time of 5-, 10-, and 15-minutes. However, the ...
1
vote
1answer
52 views

Adding map from maps-for-free to QGIS?

I've already tried How can I add map from website maps-for-free.com as my base map on QGIS 2.10.1-Pisa? with the adjusted filepath for the metadata.ini file but it didn't work. The FreeMap option ...
1
vote
1answer
48 views

How to import a shapefile from database into QGIS plugin?

I am building a QGIS plugin, and want to add some base maps from the shapefiles which were stored in the PostgreSQL database. My question is: Is there a way to import shapefiles stored in the ...
2
votes
0answers
16 views

How to automate locally QGIS plugin building steps using exe or script?

I have made a plugin name Area Calc on my local computer. The plugin work very well. I have followed this. I don't want to release plugin. Is there any way to automate the whole above task through a ...
1
vote
0answers
34 views

How to use a plugin in the QGIS 3.4 toolbox

I have version 3.4 of QGIS and I want to generate a model, so I need SCP tools (unsupervised classification). I can not find a way to add it to the tool box in order to finish my working model.
1
vote
0answers
31 views

QGIS Python - Error: Feature 0 for attribute update not found

I'm new to QGIS python development. I'm trying to create new features in an existing vector layer and then to display the Feature Form so that the user can fill the attribute values. The problem is, ...
2
votes
1answer
34 views

Getting coordinates on click and pass it to dialog using PyQGIS?

I am creating a plugin in which i need to get coordinates by clicking on QGIS canvas so i tried the solution mentionned at Getting coordinates by clicking on QGIS Canvas with PyQGIS? but it didn't ...
2
votes
1answer
77 views

Calculating volume of buildings using QGIS?

I am working with QGIS 2 or 3 I have DSM and DTM already so I can calculate DSM - DTM: Plus, I have shapefile with buildings' footprints. How to calculate volume of every single building using DSM-...
1
vote
0answers
74 views

ImportError: cannot import name 'QgsGeometryAnalyzer' from 'qgis.analysis'

I am trying to do a buffer analysis of my shapefile by Python script but I have this problem in every beginning. The warning message is: ImportError: cannot import name 'QgsGeometryAnalyzer' from '...
1
vote
1answer
27 views

Listing active radio buttons within tab widget or layout?

I have a plugin widget with some tabs, and within the tabs a layout of radio buttons as shown below: I would like to capture the list of active radio buttons within each tab like so: Is there an ...
2
votes
1answer
66 views

Interface of QGIS plugin created by QtCreator

The image below is the interface of the plugin which I created using Qt Creator. However, when I loaded this plugin in QGIS3 (version: 3.6.1). The interface of the plugin does not appear completely. (...
2
votes
1answer
37 views

Finding position for named area or place in QGIS?

I am transitioning from ArcMap to QGIS. In ArcMap the Find option and Location Tab, gives me the option to enter a Single Line Input to locate a map position for things like a River, Town or Lake. ...
3
votes
0answers
38 views

Plugins that works with high resolution screens

I've written a plugin for QGIS (GeoDataFarm) and I've been using QT creator for all ui files of the plugin, which have worked fine for me. However, I just got an email from someone that tested my ...
3
votes
1answer
50 views

Create own color ramps from attribute table based on unique column in QGIS

I have Four columns like MapCode R G B, I would like to create my own colour from the attribute table(R, G, B-Column) for Mapcode. I would like to apply symbology based on MapCode values(which is ...
1
vote
1answer
14 views

Pulling images into QTWidget (plugin dialog box) from web server? [closed]

I'm trying to show images in a dialogue box (built using QT Creator and interacted with through my plugin). I have the images as a list of URLs, but can't figure out how to get them to display in the ...
1
vote
1answer
32 views

Updating road database using QGIS?

I have a 2017 database for a road network. It has RUTM Coordinates, and other attributes. I have a 2018 database for the same road network. Due to the nature of GPS, the RUTM coordinates in the new ...
0
votes
0answers
24 views

Rectangular (not square) pyramid with QuickMapServices

I’m using QGIS 2.14.9 (upgrading is not an option), and QuickMapServices. I have two tile servers (one for images and one for OSM). Images work, OSM does not. I'm sure the problem is related to ...
0
votes
0answers
23 views

Table Manager for QGis 3.4.1 [duplicate]

I want to manage my Attribute table in QGis 3.4.1 I found a very useful plugin for the 2.8 version of QGis, which is called table manager. Is this plugin also available for the 3.4.1 QGis?
1
vote
0answers
24 views

Join 3D points into a 3D line in QGIS (with Qgis2threejs plugin)

I have a series of several points in a csv, with each row being a different point, with information for various attributes, including the x and y coordinates, stored across the columns. I've been able ...
1
vote
0answers
40 views

PyQGIS (3.6.3 Noosa) Why is self.iface.mapCanvas().setExtent() being overridden in plugin?

I am writing a plugin that first adds the Google Imagery XYZ tile layer and then adds various other layers - some from a GeoPackage and others by creating their geometry in PyQGIS. The last function ...
0
votes
0answers
19 views

Error message when trying to install first QGIS Plugin

I'm trying to study PyQGIS scripting and follow a tutorial. Following this tutorial I'm developing a plugin that returns "Hello World". I followed every step and copied all of the source code but get ...
0
votes
0answers
33 views

Python Floating Point Error when using SCP plug-in (QGIS 3.6)

I receive a python error every time i try to save a temporary ROI to training input in the Semi-automatic classification plug-in in QGIS 3.6. I'm unable to add any training ROI to training input. ...
1
vote
0answers
10 views

An internal QGIS plugin repository shows available plugin (3.1) version predating the installed version (3.2)

The metadata file is updated and the ui and resource files were compiled. The .xml file is also updated. Where else does QGIS store the plugin version? The plugin works just fine but the 'installed ...
0
votes
0answers
19 views

Freehand Measure Area Python plugin for QGIS

Is there a separate (not build in) Python plugin for freehand area measurement in QGIS? Aim is to use it in IntraMaps mobile.
0
votes
1answer
22 views

Error message using sDNA Prepare Network

I'm preparing a road network using the sDNA Prepare Network tool on QGIS 2.18.28. My OS is Windows 10 64 bit. I get the following error message: Algorithm Prepare Network starting... ****************...
2
votes
1answer
58 views

Making Upload button for shapefile in QGIS plugin?

I am new to Plugin Builder and creating my first plugin called NearestNeighbour. The below is GUI of my plugin made using Qt Creator I read in this link that it is important to rename Dialog Box, ...
1
vote
2answers
79 views

Qtile3 plugin not found!

I installed version 3.4.0 and repeatedly searched for the QTILE3(QTiles and QTile , i try both of them) plugin, but failed. Why do not I find this plugin?can anyone help me?
1
vote
0answers
15 views

Is there an API to tell which feature is currently being a target of “identify” tool?

I want to make a plugin that calculates some property of a selected feature. I can use "select feature" tool and then use l=iface.layerTreeView().selectedLayers()[0] f=list(l.getSelectedFeatures())[0]...
1
vote
0answers
20 views

How to update datasource of handle bad layer with Python console in QGIS 3.4

How do I update the datasource of file project in QGIS, for example myexample.qgz from Python console? What is the command needed, or scripts standalone? For example: layer = iface.activeLayer() ...
3
votes
1answer
88 views

Downloading Numerical Vertex Edit plugin for QGIS?

I cannot find the Numerical Vertex edit plugin in QGIS 3.6. How can I download it or what is instead of this plugin in 3.6 version?
0
votes
0answers
7 views

QgisGeoJSONExportPlugin won't install

I'm trying to download and install the Plugin "QgisGeoJSONExportPlugin" I downloaded from the "QGIS Python Plugins Repository", since I couldn't find on the "manage and install plugins" window. So I ...
0
votes
0answers
18 views

pgRouting plugin error

I have used osm2po to create routing data after load the data to database(postgresql) then from it to QGis.when using the pgrouting plugin the error appears: 2019-05-16T12:43:17 WARNING ...
0
votes
1answer
32 views

Transectizer plug in

The Transectizer plugin does not work for the new QGIS version. Any idea how to make it work? or please suggest me is there any other alternative for it?
1
vote
0answers
29 views

Creating tiled QuickMapServices layer programmatically?

I’m writing a stand-alone app using Python and QGIS 2.14.9 (upgrading is not an option). Previous to 2.18, tiled services are not supported directly; you need a plugin like QuickMapServices. I have ...
1
vote
1answer
56 views

Place/address search in QGIS 3.x

Are there any plugins for QGIS 3.x versions to search for places or addresses? I know about "OSM place search" in QGIS 2.x, but I can't find a plugin in the repository doing the same job for QGIS 3.x.
1
vote
0answers
24 views

Getting rectangle coordinates created in custom QgsMapTool Class of PyQGIS?

I am developing a QGIS (QGIS 3.6) dockwidget plugin where the user creates a rectangle (boundingbox) on the canvas and the plugin sends the rectangles coordinates attached to a HTTP request to my FME ...
2
votes
1answer
28 views

Control feature rendering order in QGIS with plugin

I am trying to find the python equivalent of enabling the checkbox for controlling the feature rendering order based on an attribute of the features of a layer (see below screenshot). I want to base ...
0
votes
1answer
39 views

Batch travel distance calculation in QGIS

How to calculate the walking distance between postcodes and destination in QGIS? I have the following shapefiles: 1 layer containing the destination; 1 layer containing 1,000 postcodes. I've ...
0
votes
0answers
32 views

QGIS 3.6--Error— Creation of data source failed: unable to open database file

I have been working on 3 predators' data layer files. I created a vector point shapefile for each predator prior to do a heatmap (GeoTIFF file) for each data layer file. In order to extract 50% of ...
0
votes
0answers
43 views

Running PyQGIS script inside QGIS console via Plugin?

I have some calculation and processing done on vector data. I have written code in pyqgis( and executing inside Console).I need to create a plugin (for my use only) which don't have any input button ...
0
votes
1answer
22 views

QGIS — Extract Values from KDE raster to orginal point data layer

After performing a heatmap on QGIS of my cheetah location dataset, I would like to extract values from my kernel density estimate (KDE) raster data layer to my orignal point data layer used to create ...
3
votes
0answers
39 views

How to plot distances distances in meters in QGIS?

My goal is to plot circles on QGIS canvas by taking distances in kilometers from MySQL base. This is code I use: from PyQt4.QtCore import * from PyQt4.QtGui import * from qgis.core import * from qgis....
1
vote
1answer
43 views

QgsApplication.processingRegistry() loads providers however is empty when called in within class function

I am in the process of building a standalone interface to QGIS to use the processing functions. In essence I am creating a mainWindow GUI with a Qgsmapcanvas. The GUI also includes some user inputs ...
1
vote
0answers
24 views

Problems with LecoS plugin in QGIS on Mac Mojave

I wanted to install LecoS plugin in Qgis. But first error appears that I have to instal scipy for python in orderd to use plugin. Python was instaled using instructions from Qgis document, version 3....
1
vote
1answer
59 views

How to solve error: global name 'qgis' is not defined

I use this code as a rubber from my QGIS canvas: def obrisi_sve(iface): rubber = [i for i in iface.mapCanvas().scene().items() if issubclass(type(i), qgis.utils.gui.QgsRubberBand)] for ver in ...
2
votes
1answer
18 views

Is there a QGIS plug-in to locate where two lines of defined length meet?

On a site we recorded various pits by measuring the two distances to two known physical objects (e.g. 20 metres to pit from physical object A, and 10 metres to pit from physical object B). I am now ...