A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [qgis-plugins]

Software plugins that add functionality to the QGIS package

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Unfinished Layer with QGIS Contour Plugin

I am using QGIS 3.4.13 Madeira on Windows 10 I have an issue with the QGIS Contour Plugin. I have two point layers, they contain about 45'000 points in the exact same locations. The only differences ...
1
vote
0answers
28 views

pyrcc_main.py: File does not exist 'resources.qrc'

I am trying to install Python plugins (to develop QT/Python plugins for QGIS). I see the following error when I try to run the command: Compile.bat: @echo off call "C:\OSGeo4W64\bin\o4w_env.bat" ...
0
votes
1answer
38 views

QGIS function like ArcGIS Planarize

I have a city road network. I have to divide sections that are separated by intersections into one level. With ArcGIS this is done with Planarize. I tried split commands, but it applies to all ...
1
vote
1answer
22 views

Defining point of rotation when using setRotation in PyQGIS

So I am using a setRotation to roate a rubbersheet in a QGIS tool and it works but it seems to be rotating based on a corner point of the rectangle and I want to rotate on centre. How do you define a ...
1
vote
1answer
28 views

PyQGIS - ImportError when reloading Plugin

In QGIS 3.4, I created a plugin through Plugin Builder 3 and always reload it with Plugin Reloader when I make any changes. When I reload my plugin I get the error: File: ".../python/plugins\...
2
votes
0answers
24 views

Using GRASS and v.split with QGIS

I have been working with QGIS for a few years now and am just now having issues with the GRASS module. Ultimately, I am just trying to split a line (river) into 100m segments, and have found the ...
1
vote
1answer
51 views

Stacking two vectors using QGIS [duplicate]

Although the coordinate systems in QGIS for 2 different vector layers are the same, there are differences between the boundaries. How can I superimpose this data? With the plugin or another way, I ...
1
vote
0answers
33 views

Apply categorized render to Vector Layer

I am new to QGIS and I am cannot find a solution to my problem. I have this piece of code: coord_layer = QgsVectorLayer(coords, "my_layer") single_symbol_renderer = coord_layer.renderer() symbol = ...
1
vote
0answers
28 views

Adding GeoJSON to layer of QGIS using Python plugin [closed]

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....
1
vote
0answers
22 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 ...
1
vote
1answer
47 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
34 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 ...
2
votes
1answer
44 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 ...
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 ...
1
vote
1answer
44 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
1answer
36 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 ...
2
votes
1answer
55 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
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 ...
-1
votes
1answer
72 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 '...
0
votes
1answer
34 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 ...
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 ...
1
vote
1answer
95 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
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
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
58 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 ...
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 ...
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 ...
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: ...
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 ...
0
votes
1answer
58 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 ...
2
votes
1answer
38 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. ...
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
50 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 ...
0
votes
3answers
112 views

XY Tools unavailable under QGIS 3?

I cannot find XY tools plugin in QGIS repository.
2
votes
1answer
45 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
66 views

“RuntimeError: wrapped C/C++ object of type X has been deleted” in QGIS Plugin

I cannot use the QGIS settings options, because I am getting the error as per below: Traceback (most recent call last): File "C:/Users/mariuszk/AppData/Roaming/QGIS/QGIS3\profiles\default/python/...
1
vote
1answer
61 views

QGIS quits unexpectedly after install “Import Photo” plugin on MX Linux

I install "import photo" plugin in QGIS 2.14 in MX Linux 18 via menu Plugins > Manage and Install Plugin. No message on success or not, then QGIS quits unexpectedly. Then I try to open QGIS again. ...
0
votes
1answer
45 views

How to add values to a shapefile field with a list with PyQGIS

I am trying to add values to a field that believes in shp "clasific" with data from a list "clasi". The code I try to use is the following, but in the function SetAttribute () it tells me that the ...
2
votes
0answers
66 views

QGIS Plugin reload is incomplete

I am developing a QGIS Plugin in PyCharm. I use the QGIS Plugin "Plugin reloader" to reload the plugin when I want to test the plugin. But changes in the code are not applied on running the plugin ...
1
vote
0answers
47 views

Checking Performance of QGIS plugin using PyQGIS

I wrote a QGIS Plugin and I used setAutoRefreshInterval on my layer. I would like to see the impact on time and memory. Also, sometimes I've different way to do what I want, and it would be usefull ...
2
votes
0answers
28 views

Error with ROI Semi Automatic Classification Plugin QGIS 3.4

I have troubles for making ROI with SCP plugin in QGIS 3.4. I dowloaded some landsat images with the plugin and trying to create ROI. To do it, I made a Bandset with DOS1 atmospheric correction, ...
3
votes
1answer
53 views

Check if PYQT5 Widget is Visible in QGIS Plugin

I'm trying to check if my widget is alredy open/visible before showing it (or before run this function). I need to check this because in my QGIS plugin it can happen that I call this function many ...
0
votes
1answer
40 views

Duplicate/triple a geometry based on a numeric field in the attribute table

i'd like to duplicate/triple a geometry based on a numeric field in the attribute table. For example, if there is number 2 corresponding to a record, needs to duplicate this gemometry; if there is ...
0
votes
0answers
39 views

How to install scikit learn library for QGIS 3.4.7 on WIndows 10

I can not successfully install scikit learn library on my QGIS for windows. I tried the following on OSgeoshell: py3_env.bat python3 -m pip install scikit-learn --user And what I get is: C:\>SET ...
0
votes
0answers
15 views

Insert image in a DXF file using pyqgis

I have created a DXF file using dxfWrite library with a plugin in QGIS. I want to know if it’s possible to insert an image using a function of dxfWrite library?
2
votes
1answer
66 views

How to create a GRID with customized Labels in QGIS

I would like to know how can I create a GRID layer with customized labels as you can see in the image below: I have searched this topic here: Creating indexed vector grid in QGIS? QGIS Python ...
1
vote
3answers
48 views

Drawing rectangle with geo coordinates (north/south, east/west) using QGIS

I need a layer with a rectangle that maps it's top left and bottom right corners to north/south and east/west coordinates. This is an Area of Interest which I need to overlay another image layer to ...
0
votes
1answer
77 views

QGIS2web not updating on 3.4.5

I am using QGIS 2.18. Upon making updates to my map, the update is not showing in the export to map web page. I have updated it several times and restarted QGIS but it is not replicating my label ...
0
votes
1answer
38 views

QGIS having issue loading plugin “Profilefrompoints”

I am having an issue when trying to run the plugin Profilefrompoints in QGIS. I believe it is because QGIS is calling on Python version 3.7.3 even though I downloaded Python 3.6.7 before QGIS. Error ...