Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 99589

Software plugins that add functionality to the QGIS package

2 votes
0 answers
84 views

Packaging newer version of QGIS with custom plugin

Once in a while my company updates QGIS to the latest LR/LTR version. Besides that we also have some domestic plugins written for internal users. Is there a way to update QGIS to that LTR version toge …
Taras's user avatar
  • 34k
1 vote

Locating where two lines of defined length meet, maybe with QGIS Plug-in

Here is an implementation of what @Spacedman suggested in his answer. In QGIS I can suggest using a "Virtual Layer" through Layer > Add Layer > Add/Edit Virtual Layer.... Let's assume we have two poin …
Taras's user avatar
  • 34k
6 votes

Where QGIS puts my downloaded Crayfish plugin?

After installing the "Crayfish" Plugin in QGIS it should appear in the Mesh menu Moreover, as was already mentioned by @Mapperz a Crayfish 2D Plot is available via RMC > Panels > Crayfish 2D Plot Yo …
Taras's user avatar
  • 34k
3 votes

Getting user's QGIS version using PyQGIS

Just a tiny extension to the @Spacedman's answer. Since QGIS 3.12, there are several methods (version(), versionInt(), and releaseName()) provided via the Qgis class. from qgis.core import Qgis print …
Taras's user avatar
  • 34k
1 vote
Accepted

"Relief" function from the Raster Terrain Analysis plugin in QGIS 3.0

There is also an alternative option from the GRASS GIS library. The module called r.relief that does the same job as "Relief" in Raster Terrain Analysis Plugin. Creates a shaded relief map from a …
Taras's user avatar
  • 34k
10 votes

Calculating percentage of overlap of two layers in QGIS 3

Using a "Virtual Layer" through Layer > Add Layer > Add/Edit Virtual Layer.... Let's assume there are two overlapping polygon layers called 'LayerA' (brown) and 'LayerB' (grey), see image below. With …
Taras's user avatar
  • 34k
2 votes
Accepted

NameError: global name is not defined when performing task with FlowMapper in QGIS

An error in line 2655 refers to this part of the code in flowmapper.py #SaveDirectory = os.path.realpath(SaveShpName) SaveDirectory = SaveShpName flowpyv07.shapefilemaker(FlowType,CreateShpNodes,Inclu …
Taras's user avatar
  • 34k
13 votes

Where should I add the API key in ORS Tools?

Check the 'Provider Settings' where an API Key can be given Environment: QGIS 3.18 on Windows 10
Taras's user avatar
  • 34k
1 vote
Accepted

Using NNJoin-Plugin through Python console

>>> from qgis import utils >>> theplugin = utils.plugins['NNJoin'] >>> dir(theplugin) That will give you ['NNJOIN', 'NNJOINAMP', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__' …
Taras's user avatar
  • 34k
1 vote

qgis:JoinAttributeTable is giving a Syntax Error in QGIS 3.0

First of all, I think you need to modify your result because you misspelt it. Secondly, .runAndLoadResults() takes only two parameters. In your case, the first one looks right and the second is wrong …
Taras's user avatar
  • 34k
2 votes
Accepted

Workflow to convert Python script without UI file into QGIS Plugin

Inspiration for this answer was found in @J.Monticolo's comment So, for me, put the startup.py file into a your_plugin_name_or_whatever.py, do a function called def launch_code and put the startup.py …
Taras's user avatar
  • 34k
1 vote

Hiding/showing QgsVectorLayer using PyQGIS

For QGIS 3 versions It can be achieved either since QGIS 3.10 or the setLayerVisible() method of the QgsLayerTreeView class: from qgis.utils import iface layer = iface.activeLayer() view = iface.laye …
Taras's user avatar
  • 34k
2 votes
Accepted

Running SAGA Next Gen algorithms in QGIS standalone script

As far as I understand, using "Processing Saga NextGen Provider" is the same as exploiting a QGIS plugin in a standalone QGIS application, see this topic for more details: Using Plugin in standalone P …
Taras's user avatar
  • 34k
2 votes

"IndexError: list index out of range" error when using FlowMapper plugin in QGIS 2

I have recently faced the same problem and handled it. Therefore, I am providing some hints for those who are still struggling: Text file (.txt) that stores node coordinates should be in the followin …
Taras's user avatar
  • 34k
3 votes
Accepted

Representing polygon complexity as readable attribute in QGIS

The most indirect but most highly appreciated solution is a Plugin's Python version conversion, i.e. from Python 2 into Python 3. This approach is described in these articles GIS for Thought | Updatin …
Taras's user avatar
  • 34k

15 30 50 per page