Questions tagged [qgis-plugins]

Software plugins that add functionality to the QGIS package

Filter by
Sorted by
Tagged with
-1 votes
1 answer
968 views

Semi-Automatic Classification Plugin Error on install required python library remotior_sensus

I have been trying to install the semi - automatic classification plugin but it results with the following error: semi automatic classification plugin : Error, please install the Python required ...
2 votes
1 answer
112 views

QGIS Marker orientation/rotation does not transfer on Webmap

I have a shapefile that contains a column of orientation. I use that column to assign the orientation of the marker. My problem is that when I transfer the file into a leaflet webmap, I get an error ...
3 votes
2 answers
346 views

Remove official repository from QGIS

I would like to remove the official repository from several QGIS installations. Removing the Repository from the Settings works so far with: from qgis.PyQt.QtCore import QSettings settings=QSettings(...
0 votes
0 answers
94 views

QGIS Hotspot Analysis plugin Error

I am trying to install the hotspot analysis plugin but it keeps giving this error. Couldn't load plugin 'HotspotAnalysis' due to an error when calling its classFactory() method ModuleNotFoundError: No ...
1 vote
0 answers
43 views

Qgis plugin Data Plotly / box Plot : How to Add another field/box?

I am a newbie with this Data Plotly plugin. I manage to represent (input layer: point shp layer) a box plot with the thematic id_classes in X axe (4=bare soils, 5=vegetation, 6=water) and in Y axe the ...
0 votes
0 answers
58 views

Fill sink problem in deliniation

Why doesn't the Fill Sink algorithm appear in the toolbar? How can I make it appear? my qgis is 3.34 version
1 vote
0 answers
100 views

Qgis Plugin spectral library tools : AttributeError type object 'QgsMapLayerProxyModel' has no attribute 'Filters'

I work with unbuntu 22.04.03 LTS. And Qgis 3.34.0-Prizren. I installed the last version of the plugin spectral library tools. But when i try to enable it via the plugin manager interface, i get a ...
1 vote
1 answer
53 views

Qgis Plugin DataPlotly (Ubuntu) : 'ModuleNotFoundError: No module named 'pandas'

I work with Qgis 3.34.0-Prizren on Ubuntu. I would like test and use the qgis DataPlotly plugin. I succeed in installing this plugin via the qgis plugin manager. But when i try to enable it still into ...
0 votes
1 answer
65 views

QGIS python plugin install : miss python qgis mock module

I work with QGIS 3.32.2-Lima on Ubuntu. I would like to install and use this useful plugin : https://plugins.qgis.org/plugins/spectral_libraries/ But it seems to be deprecated? So when I try to ...
1 vote
0 answers
99 views

How to enable the use of the Cluster Analysis plugin

I have installed QGIS version 3.28.11. I have also installed the Cluster Analysis plugin (https://github.com/folini96/Cluster-Analysis-plugin). From the plugin installation window, when I try to ...
9 votes
3 answers
18k views

Split polygon with selected line from another layer in QGIS

I am trying to split a selected polygon ("regions") with a selected line from another layer ("streets") in QGIS 3.8.3. In the example below, I want to split the selected polygon coloured in yellow ...
0 votes
0 answers
102 views

Trying to intall Semi Automatic Plugin in QGis but it shows error

Semi-Automatic Classification Plugin : HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /semiautomaticgit/remotior_sensus/archive/refs/heads/master.zip (Caused by ...
3 votes
0 answers
259 views

How to include external libraries with my QGIS plugin? [duplicate]

I'm developing a plugin which makes use of "networkx" library extensively. However, networkx is not part of Python libraries pre-installed in QGIS. Is there a way to include this library ...
-1 votes
1 answer
64 views

QGIS Open Street Map plugin metadata

I am trying to use an old map I made in QGIS which has a base map from Open Street Map (OSM) To credit OSM in my paper/chapter I need to find the date or at least the year of the OSM data, OSM wiki ...
0 votes
0 answers
33 views

UnicodeEncodeError while executing Python code on QGIS 2.6.1

I have installed the plugin QSWAT and created a new project, and what is happening now is the error below. What can be the problem? I've already tried to install different versions of Python and ...
1 vote
2 answers
2k views

How to run Python script in QGIS via plugin

I am an absolute beginner in QGIS no idea in this field. I just created a Python plugin with pluging builder in QGIS successfully PYTHON_PLUGINS_PATH/ MyPlugin/ ----------------- inside it contain ...
4 votes
2 answers
9k views

how do I create simple yes/no dialog in qgis python plugin?

I'm making a QGIS plugin that processes a dataset. I started with pluginbuilder and have a GUI that allows me to set what to do. As my plugin is making changes, when it detects a certain threshold of ...
0 votes
1 answer
44 views

Separating Python dictionaries and lists in a PyQGIS plugin

I am new to Python and QGIS Plugin development I am trying to write a plugin which will reference some dictionaries and lists that I would like to keep outside of the main module in a separate '.py' ...
6 votes
1 answer
650 views

QGIS plugin development and libraries

I would like to develop a new plugin for QGIS. I'm new to Python but with good knowledge in other languages. I used "plugin builder" to create the bases of my plugin. I would like to add a ...
6 votes
2 answers
2k views

How to filter the MouseWheel event in a QGIS C++ plugin?

I’m developing a C++ plugin for QGIS and I want to filter/override the mouse-wheel event. I created a “maptool” to select a polygon feature on a vector layer, the feature has two attributes : an id &...
0 votes
0 answers
56 views

How to find shortest distance routes from a point to a line without overlapping on buildings?

I'm trying to find a plugin/function that can automatically find and sketch shortest-distance routes between a Multipoint layer and a MultiLineString layer. But the catch is that they are supposed to ...
1 vote
0 answers
40 views

QGIS processing plugin doesn't show layers in dropdown menu (QgsProcessingParameterFeatureSource)

I'm trying to work up a minimal processing plugin. I'm using the basic plugin program generated by Plugin Builder. The only change I've made is to configure the input of the feature source to be a ...
1 vote
0 answers
44 views

Automatically Installing Dependencies for QGIS Plugin [duplicate]

I recently uploaded my plugin to the QGIS Plugin Repository. The problem I'm encountering is that my plugin relies on the openpyxl library, which is not bundled with QGIS. Consequently, users ...
2 votes
2 answers
2k views

Using MMQGIS plugin through Python console?

I know how to make Hub Lines using the GUI, I want to know how to do the same using the Python Console, a tutorial would be great.
1 vote
1 answer
165 views

Shapefile from selected features in PyQGIS

I am trying to develop a plugin to export selected features from a layer as shapefile. I have a comboBox from which I can select features. After selecting features in comboBox, I tried following code ...
0 votes
1 answer
68 views

Creating a plugin to automatically update either a line, point or polygon to a PostGIS database and turn the geometry into a GeoJSON

I'm trying to create a plugin that once someone updates a geometry in QGIS this will automatically update to the PostGIS table and also convert it to a GeoJSON. I have a popup box for the user to ...
3 votes
1 answer
379 views

QGIS Plugin Builder doesn't create resources.qrc

I'm trying to follow steps from QGIS plugin creation tutorials. Working with QGIS LTR (3.22.13-2) Located at: [C:\OSGeo4W\bin] Using the QGIS Plugin Builder, I get the (seemingly common) error, that ...
0 votes
0 answers
23 views

QGIS use only certain plugins for each project

I would like to make use of certain plugins for each project. Instead having to disable installed plugins for a particular project, I would like to select the one(s) that I want to use on the project ...
1 vote
2 answers
1k views

Managing download of map tiles in QGIS

I am very new to the world of QGIS and GIS in general. I have been trying to download very large mbtiles using the Generate XYZ Tiles (MBtiles) option in QGIS 3.18 but my system crashes sometimes and ...
0 votes
0 answers
66 views

Error when clipping by layer mask

I'm using QGIS 3.28.5 and I'm having problems trying to crop an INPE image by the layer mask of a vector file in QGIS. When I try, the following error appears: GDAL command output: ERROR 1: The key ...
1 vote
2 answers
68 views

Call and Run PyQGIS script by plugin

I wrote a code that work well in console python, an example: from qgis.core import QgsProject, QgsLayerTreeGroup, QgsLayerTreeLayer, QgsLayerTree from PyQt5.QtCore import Qt, QVariant, QSettings, ...
1 vote
1 answer
108 views

Creating QgsRasterLayer from WMS layer using PyQGIS in QGIS 3.28

I'm developing a QGIS plugin in Python that lets you add layers from Web Map Services (WMS) to the canvas. This feature does not work with certain layers of certain WMS services from QGIS Server. When ...
0 votes
1 answer
22 views

Obtaining label-node instead of city boundry polygon when using OSM Place Search in QGIS

I am using OSM Place Search Plugin in QGIS for searching and importing places, cities, towns etc. from Openstreetmap database into my projects. Great Plugin by the way. But I have a big problem. When ...
5 votes
2 answers
1k views

Exporting map canvas to PNG file using custom plugin created by Plugin Builder

I'm making a complement for QGIS3, how can I export the map I'm seeing in the window to .PNG using Plugin Builder. Without having to go through Print Composers.
1 vote
1 answer
325 views

QGis: how to reload plug-ins? [duplicate]

I am developing a set of plug-ins for QGis (2.14). Every time I need to try it out I must quit and relaunch QGis. Is there any way to force QGis to reload the plug-ins without restarting it?
5 votes
3 answers
2k views

Add 3rd party repositories button not in version 1.8.0 Lisboa

The available manuals and other help sources all refer to the 'Add 3rd Party Repositories button' in Plugins>Fetch Python Plugins and then the Repositories Tab. My problem is that the installation ...
0 votes
1 answer
1k views

ModuleNotFoundError: No module named 'matplotlib.backends.backend_qt4agg'

I installed QGIS plug-in "AVHYAS is an open source Python 3 tool plugged in QGIS",and installed required libraries however while trying to use some function, I got the following error. The ...
1 vote
1 answer
2k views

Enable single feature selection in QGIS using Python

I want to enable single feature selection using Python. I want to make a script in Python that will first enable single feature selection, and then it will return the id of selected feature. I have ...
0 votes
0 answers
19 views

QNeat3 Polygons do not finish calculating interpolation

I have been using QGIS for a couple of years and used QNEAT3 for the first time around one year ago. I never had any problem with it but, after some months not using it, I tried to use it again to ...
0 votes
0 answers
112 views

Removing OSGeo4w packages without removing program fully

I want to remove OSGeo4w to the base program without removing the program entirely. I am not using QGIS right now, but will in the future. I want to just remove some of the extra packages (and open ...
0 votes
1 answer
48 views

QGIS clip overlapping polygons based on condition

I have a shapefile with polygons representing a collection of nautical charts. The charts have different scales (an attribute in the layer) and some overlap. I want to create a layer which ...
0 votes
0 answers
52 views

Cross section automation & overlay

I'm trying to automate and visualise the frequency and different type of road corridors along an existing route. The route spans multiple kms and I'm trying to show the predominant types of corridor ...
9 votes
2 answers
10k views

Uploading older Google Earth Historical Imagery into QGIS

There are numerous ways to import Google Earth imagery into the QGIS (e.g. OpenLayer plug-in or XYZ tiles), however the recent-most images are downloaded. Is there any way to import historical imagery?...
1 vote
0 answers
80 views

QField sync issue

I am trying to use QField to collect and sync data back to QGIS via QField Cloud. Everything appears to work well (packaging, upload to the cloud, collection in QField and pushing changes) until the ...
2 votes
0 answers
99 views

Create a profile of categorical data along a line in QGIS

For a landscape analysis study, I want to extract some categorical data along a line (purple in the image) on the selected area. Before I continue to create an entire plugin to create a categorical &...
0 votes
0 answers
20 views

Custom Feature Form - Add multiple Features - Crashes when commiting

I use a custom feature form to set new features for my point layer. Beause i have to set many points i dont want to open the form new every time i set a new point. Thats why i added a function which ...
3 votes
2 answers
1k views

Re-ordering bar chart from Data Plotly in QGIS 3.14.16

I have successfully created a bar chart using Data Plotly within QGIS 3.14.16. The x axis consists of 17 place names (NAME) and the Y axis shows the value (VALUE IN £P) of one particular lease at each ...
3 votes
1 answer
144 views

How to authenticate to download images from https://landsatlook.usgs.gov/stac-server

I am building a QGIS plugin in Python to fetch Landsat images from this STAC server: https://landsatlook.usgs.gov/stac-server I need to be able to download the thumbnails, but cannot find how to ...
4 votes
1 answer
194 views

Change the symbology of a vector output layer that is returned from a processing tool?

I want to change the symbology of a Vector Output Layer that is Returned after running a Processing Tool. I am building a processing plugin. I am trying to make the effects reflect in the displayed ...
0 votes
1 answer
39 views

QGIS navigates to some other coordinate locations...Facing problem while dealing with coordinate systems

In QGIS 3.32, I want to do Geo-referencing of a vector shapefile. The project coordinate system is Projected Coordinate System WGS 84 / UTM zone 43N EPSG 32643. Two layers (Google Satellite Hybrid AND ...

1 2 3
4
5
61