Questions tagged [qgis-plugins]

Software plugins that add functionality to the QGIS package

Filter by
Sorted by
Tagged with
1
vote
0answers
21 views

Adding GeoJSON to layer of QGIS using Python plugin

I want to read data from database and then put it in a layer using Python plugin. I know I can create a layer by addVectorLayer, but it only accepts file path. layer = iface.addVectorLayer("../test7....
4
votes
2answers
2k views

QGIS, interpolate along an irregular shape or line to create a DEM

Interpolating irregular shape, merging DEM's using ArcGIS Desktop asks my question but not for QGIS. Furthermore, the answer is vague and not entirely useful. My problem is simple. I have xyz ...
1
vote
0answers
17 views

Import image to QGIS using GEE plugin

I have download today the Google Earth engine plugin to QGIS using this: https://gee-community.github.io/qgis-earthengine-plugin/ I have tried to upload the image as shown in the example : I have ...
0
votes
1answer
53 views

Integrate Leaflet / OpenStreetMap autocomplete functionality to an existing search form on a WordPress template

I am trying to add the autocomplete functionality similar to what you have here https://community.algolia.com/places/examples.html#advanced to the search form in my website. Unfortunately there are no ...
1
vote
1answer
44 views

Using PyQt5 Objects inside QTabWidget and QScrollArea - QGIS Plugin [closed]

I'm using PyQt5 and QT Designer to create the user interface for my QGIS plugin. Now I'm learning to use QTabWidget and QScrollArea. What I don't understand is how to use the objects inside tabs or ...
0
votes
0answers
33 views

Difference between mapshaper simplify and generalization tools available in GRASS and QGIS? [closed]

I had the idea to develop a qgis plugin with python that mimics the functions of the mapshaper simplify webtool. However, after doing some digging into the generalization tools already available in ...
19
votes
6answers
26k views

How to access QGIS Plugin Repositories from behind a proxy?

I have been trying to teach myself QGIS by using this forum and others to help. Most of my questions can be answered by downloading plugins that are available through 3rd party repositories but for ...
2
votes
1answer
42 views

Calculate distance from a point to a MultiLineString geometry - PYQGIS

I'm trying to calculate the distance from a point to the closest river in my QGIS plugin. But I receive this message: MultiLineString geometry cannot be converted to a point. Only Point types are ...
2
votes
1answer
44 views

Save the output in temporary memory under QGIS Plugin?

I am trying to make a simple plugin, from the input as a vector layer then processed with a Field Calculator function (But I want the ouput from this process to be saved in temporary memory or in ...
0
votes
1answer
154 views

Can't open QGIS 3.8 plugin manager on OSX

I have not been able to open the plugin manager in QGIS 3.8. I am running Sierra OSX. This is the message that I get when I try to open the plugin manager: An error occurred during execution of ...
1
vote
1answer
43 views

Create Rubber Band with rotation using PyQGIS

To start I am going to be upfront, I am trying to add a feature to a QGIS Plugin Called instantprint. I am trying to add rotation to the tool so that you can align features to the print box and have ...
0
votes
0answers
18 views

Block processing of plugins in QGIS [closed]

Making a plugin to process data, but I want to do it for batch. The problem is that the plugin does not appear in the toolbox to run it. I've confirmed that the plugin was active and will work ...
0
votes
1answer
140 views

Installing MOLUSCE plugin on linux? (Error reading metadata: general)

I am trying to install MOLUSCE plugin on ubuntu but every time i try i get an error message saying: The plugin is broken. Python said: Error Reading metadata: general There is a screenshot ...
2
votes
1answer
324 views

“slyr-master” plugin for QGIS doesn't work due to “missing meta data”

I downloaded the "slyr" plugin from GitHub which should be able to convert .style data into QGIS. According to the README file, I'm just supposed to add the "slyr" folder to the Python -> Plugin ...
0
votes
1answer
35 views

Remove a QgsRectangle from a RectangleMapTool in PyQGIS

In a QGIS plugin, I implemented a RectangleMapTool that I apply to my canvas. Thus, the user has the possibility to select a bounding box to define the spatial processing footprint. Once he has ...
-1
votes
1answer
66 views

Error in QGIS with Raster Tool in plugin [closed]

When I open QGIS I get the following error: Couldn't load plugin 'rastertool' due to an error when calling its classFactory() method and the following command: ModuleNotFoundError: No module named '...
13
votes
2answers
3k views

Calling interpolation plugin from Python console of QGIS

I would like to call the QGIS interpolation plugin function (TIN method) (Raster->Interpolate) from python console. I can't find the corresponding function within QGIS API or within the ...
2
votes
1answer
54 views

QGIS 3.4, plugin builder, refresh layers

I created a very simple plugin with the plugin builder for GIS 3.4. Wihtout any GUI-Widget - by clicking the plugin button I just want to save the edits from several layers at one time and start the ...
2
votes
1answer
437 views

Draw rectangles with Shape Digitizing Toolbar and using a snapping function in QGIS 3

I draw rectangles with the Shape Digitizing Toolbar. In QGIS 3 there is a Snapping Toolbar which provides a snapping function. But unfortunately it is not possible to use both together. So whenever I ...
2
votes
0answers
30 views

Select extent on canvas - QGIS Plugin

I'm designing a QGIS plugin where I'd like to offer the user the functionality to select the extent of a bounding box from the canvas like in some tools like Create grid. I've explored QT Designer ...
0
votes
1answer
33 views

Time-series data in QGIS point layer

I work in a project in QGIS where I have some layers with points. All these points are stations. For each station I have a table in database with time-series measurements. I want to find a way to ...
1
vote
2answers
422 views

How to get the Z values of existing lineStringZ with pyqgis?

I can get the values of 3D QgsPoints with mypoint.get().z() When I iterate through a layer to get a specific polyline and then iterate through the polyline to get the start and end points- start_point ...
1
vote
1answer
56 views

Automatically exchange QGIS layer datasources during project opening?

Do you know of any existing QGIS plugin that automatically exchanges layer datasources during opening of a Project? I would like to transparently switch our users from "PostGIS A" server to "PostGIS ...
2
votes
2answers
91 views

Use QGIS general tools/actions in my plugin

I am creating a QGIS plugin that will use some general tools available in QGIS like "identify features" and a plugin like a "digitizing tool". Is it possible for example to link a button of my plugin ...
1
vote
1answer
94 views

Make lots of maps at once using QGIS print composer

I have around 1250 maps of species distributions. Each species is a different shapefile projected on one base-map. I can use the TomBio addon to export everything as a single map (PNG) without too ...
0
votes
0answers
34 views

Image file is not detected in QGIS 2.18.28 on MX Linux 19

I install GeosudRefToa plugin of QGIS 2.18.28 in MX Linux 19. I convert jp2 from SPOT 6 to GeoTIFF. Then I try to load image from GeosudRefToa plugin. But, no image in this windows. When I load ...
11
votes
2answers
1k views

Seeking QGIS plugin to work with What3Words

Does QGIS have any plugin to work with the What3Words mapping project?
0
votes
0answers
45 views

License Distirbution of modified QGIS and Plugins

My company (public service) developed a modified QGIS and QGIS-Plugins for crisis units. Some of the Plugins are self developed and some of them are modified from already existing QGIS-Plugins. All of ...
1
vote
1answer
57 views

A better way to display large vector maps (~5 million features) using Google Maps API?

I have a fairly large data set, about 5 million features, that I need to display on the web using Google Maps API. I am currently processing the file in QGis with XYZ Tiles, and using the generated ...
1
vote
1answer
29 views

Edit exporter.py file in plugin qgis2web?

I want to change a small piece (a string) of "exporter.py" code in qgis2web Plugin, but when I change and save the .py file on "C:\Users...\python\plugins\qgis2web", changes doesn't apply. I also ...
1
vote
1answer
279 views

Python in QGIS is missing SQL drivers in PyQT4

I am developing a QGIS plugin and need to create a table view in my GUI that I have been designing with QT Designer. I have PyQT4 installed but I have noticed that I have 2 Python directories. I have ...
1
vote
0answers
48 views

How to install an in house package from local directory in QGIS?

I need to install a private package which is in my local directory to the QGIS Python environment. I can install it to my conda environmnet by defining the local directory path as channel. How do I ...
1
vote
1answer
270 views

Checking SAGA version from a python plugin in QGIS 3.4.0

I use QGIS 3.4.0 on Windows and I want to verify SAGA version with processing.algs.saga.SagaUtils.getSagaInstalledVersion(). But I get an error: module 'processing' has no attribute 'algs' This was ...
0
votes
0answers
16 views

MMQGIS or Timeseries: Exporting paths to CSV

I have a csv with columns for id, latitude, longitude, timestamp. Many of the points (or ids) do not change latitude/longitude over time, others do. How do I filter out those ids and lat/longs for ...
2
votes
1answer
57 views

How to set widget type to 'Attachment'?

I would like to make an open file dialog to appear in a field in the attribute table of a vector layer. I guess I need to set widget type to 'Attachment' for that field and to check 'Display button to ...
0
votes
1answer
727 views

Cannot get Not Installed Plugins in QGIS 2.18

I tried looking for Not Installed plugins but they do not show up on QGIS version 2.18. Under Plugin Settings, QGIS official plugin repository is shown as unavailable. When reloading nothing happens. ...
0
votes
0answers
49 views

Finding movement starting points in QGIS

I have multiple csv files (24+) with objects categorized by IDs, with their latitude and longitude, and timestamp. Each csv with a different timestamp specified in a column. There are multiple rows ...
2
votes
1answer
38 views

SQLite error - no such function: InitSpatialMetadata

I am porting a QGIS plugin to QGIS3. I get a problem when I try to create a new SpatiaLite DB, in particular when I initialize spatial metadata (GEOMETRY_COLUMNS and SPATIAL_REF_SYS). My code is: ...
2
votes
1answer
440 views

Wrong or missing parameter QgsProcessingParameterFile QGIS 3.4 Python plugin

I'm making a script that can be called by the processing.execAlgorithmDialog function. For one of the parameters, I want to use the QgsProcessingParameterFile class for selecting a .csv file. I tried ...
3
votes
0answers
340 views

Moving feature using Python console in QGIS [closed]

I am building a QGIS plugin that can create as much copies of a selected feature as I want and paste it to my required place.I have code to copy and paste feature select = iface.activeLayer()....
1
vote
1answer
63 views

Showing attribute table in QGIS plugin

I'm trying to develop a plugin which grabs a layer from the project and shows its attribute table in a tableView. My code is as follows: def getVectorLayer(self): layer = None layername = ...
1
vote
1answer
46 views

PyQGIS QgsProcessingAlgorithm: no output layer when cancelled

For one plugin I maintain, I can't figure out how to return output layer when the user hits 'Cancel'. Basically I'm looping over a set of results in processAlgorithm which populates the output layer ...
2
votes
2answers
206 views

QGIS plugin development environment variables?

I want to develop a plugin gor QGIS3. I downloaded Osgeo4w network installer 64Bit. I created a bat file as following for set my environment variables; @echo off call "%~dp0\o4w_env.bat" call ...
0
votes
3answers
108 views

XY Tools unavailable under QGIS 3?

I cannot find XY tools plugin in QGIS repository.
2
votes
1answer
37 views

Project's custom variable using plugin in PyQGIS

I'm building my first plugin and I meet an issue with some variables. I've made some custom fields to store some variables 'project_actitle' dedicated to a project. The plugin uses these variables. ...
1
vote
2answers
212 views

Access actions of ToolbarMenu/PanelMenu using PyQGIS

For a python plugin I need to remove/disable some UI elements so that they can't be accessed by the user. Thus, I removed the respective actions, toolbars and menus from the interface. However, in ...
7
votes
1answer
884 views

Editing Layout-Items after loading a QPT-Template in QGIS 3 with Python

I am facing a problem with the new Layout API while implementing a plugin for QGIS 3. Starting point is a layout template in qpt-Format, which contains different elements like (attribute) tables, map, ...
2
votes
1answer
39 views

Custom on-the-fly conversion into shapefiles

I have a custom binary format, for which I run an external program to output a set of .shp files, which then can be dragged and dropped into QGIS. What would be the best way of pushing this into ...
1
vote
1answer
48 views

How to compare polygons in different layers in QGIS 3.x?

To formulate my question with a concrete example: I have two multi-polygon layers of the same city. Layer A has polygons of the city divided in parts e.g. north, south, west, east. Layer B has ...
2
votes
1answer
85 views

Applying custom plugins using PyQGIS script

I've downloaded the select within plugin to select features inside polygons objects. I've imported the plugin as import SelectWithin as sw in the console but QGIS does not suggest any of its ...