We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [qgis-3]

for questions specific to the 3.x series of QGIS.

Filter by
Sorted by
Tagged with
53
votes
13answers
18k views

Seeking QGIS tutorials and web resources?

I wish to familiarize myself with the capabilities of QGIS up to and beyond QGIS version 3.0. Can you recommend some good web resources and tutorials that would show me QGIS' capabilities? I am ...
51
votes
6answers
69k views

Will the OpenLayers Plugin be updated for QGIS3?

Upon searching for the OpenLayers plugin, it shows that this plugin is incompatible with version QGIS 3.0. Will this be updated? Is there another way to add Google imagery or any other aerial imagery ...
30
votes
6answers
20k views

Installing QGIS3 on Mac?

Kyngchaos installer is not finding python3. I installed python3 using HomeBrew and is not located at /usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6/bin/python3.6 How do I ...
28
votes
1answer
13k views

QGIS 3 Plugin folder location

I am searching for default location for QGIS 3 Plugin folder I checked here but could not find : C:\Program Files\QGIS 3.0\apps\qgis\python\plugins C:\Users\Abhijit.qgis2 (cannot locate .qgis3, ...
27
votes
2answers
12k views

Setting print layout to portrait using QGIS 3?

I can't get the print layout to appear in portrait. It opens in landscape and Layout/Page Setup... allows for portrait, but the layout canvas remains in landscape. In 2.18 the "Composition" Panel ...
23
votes
2answers
5k views

Using QGIS3 Processing algorithms from standalone PyQGIS scripts (outside of GUI)

I'm writing a script which must work outside of QGIS GUI. I call some API functions from qgis.core but I'd like to use the processing plugin. I'm able to import processing with sys.path.append() but ...
21
votes
2answers
13k views

Using QGIS vertex editor? [closed]

I'm having two main problems: When hovering over a map with multiple layers, even though I only have one layer editable and visible, I am seeing all the nodes of all layers show up as red dots when ...
19
votes
2answers
9k views

Is QgsMapLayerRegistry removed in QGIS3?

Is QgsMapLayerRegistry going to be availabe in pyqgis with QGIS3 When I typed it into the QGIS python console (2.99), python seems to recognize it because it auto-completes qgis.core....
19
votes
1answer
917 views

QGIS 3.0 point cluster renderer, is it possible to control rendering order (z-order)?

I've been having a play with the new point cluster renderer in QGIS 3.0.2 and it's great - a lot easier (and faster) than having to do the clustering yourself. To show what I mean, here's an example ...
15
votes
3answers
1k views

Controlling rule-based labelling using PyQGIS?

Following on from this question: How to turn on/off all labels of all layers in QGIS, OP mentioned in his comment that he uses rule-based labels. I tried searching online as to how these types of ...
14
votes
1answer
2k views

Can QGIS 3.0 be installed and run side-by-side with QGIS 2.x?

I'm interested to know if QGIS 3 can be installed and run side-by-side with a QGIS 2.x installation on windows?
14
votes
1answer
6k views

Writing a python processing script with Qgis 3.0

Following the update to Qgis 3.0, it has become very difficult to find any information concerning the writing of processing scripts in Qgis 3.0. @Underdark (see here ) has provided a basis for the ...
14
votes
6answers
8k views

QGIS 3.0 can't load plugin processing, no module named 'osgeo', on Manjaro Linux

I have installed QGIS3 from the AUR package, as well as all optional dependencies: https://aur.archlinux.org/packages/qgis/ However, when launching, I receive the following error: Couldn't load ...
14
votes
1answer
734 views

How to control the arrow length of vector field markers in the layer list legend?

In QGIS 2.14.5 LTR (and recently in QGIS 3.0) I've set up a beautiful map design with a graduated renderer and vector field markers for each value range (arrow length is directly proportional to ...
13
votes
2answers
9k views

Unable to snap vertices and segment in QGIS 3.0

I'm unable to snap 2 polygons in QGIS 3.0. I tried snapping 2 polygons from the same layer and also 2 polygons from different layers. I ensured that snapping is enabled in the Settings>>Options>>...
13
votes
1answer
5k views

Seeking AutoTrace/Trace Tool in QGIS 3?

Have made the move to QGIS 3 but am having trouble locating the AutoTrace/Trace tool. I have enabled advanced digitizing tools where the magnet button sat in QGIS 2.18 but it is not there in QGIS 3. ...
13
votes
2answers
3k views

R Scripts in QGIS 3.0?

It seems the Processing options in QGIS 3.0 no longer include R Scripts (they are not listed as available along with SAGA, GRASS, and GDAL). Is this a change in this version of QGIS or have I had a ...
13
votes
3answers
2k views

How to edit the GDAL/OGR console call in QGIS 3.0?

In QGIS 2.XX, the drop-down menu bar tools had an editable call box at the bottom, where commands not available in the gui could be manually entered (by clicking a pencil button). In 3.0, the menu bar ...
12
votes
7answers
6k views

Map display not filling window in QGIS on Mac?

In this screenshot of QGIS, you can see that the map is not filling the window. I have tried resizing the window in various ways. Am I missing something obvious, or is this a bug? Versions: ...
12
votes
4answers
4k views

Getting QGIS 2.x python code to work in QGIS 3.x? object has no attribute 'legendInterface' problem

The following piece of code works well in QGIS 2.x, however it does not work in QGIS 3.x. myDir = 'd:/work/output_folder/' layers = iface.legendInterface().layers() pipe = QgsRasterPipe() for layer ...
12
votes
3answers
4k views

Make QGIS python plugin for both versions 2.x and 3.x?

I am in the process of migrating a QGIS python plugin from QGIS 2 to QGIS 3, and browsing various resources. It's not clear if it's possible to have the plugin compatible with both versions or if it'...
12
votes
2answers
223 views

QGIS 3 keep creating a “palettes” useless folder

Fresh installations of QGIS 3.0.x systematically create a "palettes" folder in c:/ on Windows. Even if you delete it, it gets recreated after every restart/reinstall of QGIS. Any trick to get rid of ...
11
votes
1answer
2k views

What is the new alglist and alghelp in QGIS 3.0 Processing?

Accessing the new QGIS 3.0 processing scripts through the Python console is proving to be a challenge for me, especially since the old processing.alglist() and processing.alghelp() commands appear to ...
11
votes
1answer
212 views

QGIS versions yielding different results on $area calculations?

When grading an exam, I discovered that QGIS 3.2 and 3.4 produce different values on computing $area over polygons. I experimented using $area and area($geometry) to check the differences between ...
11
votes
2answers
4k views

Save and load user profiles in QGIS

Is there a way use a configuration file, maybe .ini to load in the relevant settings for QGIS when it is setup, maybe to share with various people? Plugins installed and plugin repositories filled in ...
10
votes
4answers
955 views

Buffering only sides of polygons in QGIS?

My goal is to create a buffer from a polygon. But the edges are the problem. I can't really explain it in words, so I will post a screenshot. That's the way I want it to look. So the goal is, that the ...
10
votes
2answers
6k views

Setting layer transparency in QGIS 3?

I just switched from QGIS 2.18 to version 3.0.3. In the earlier version, setting layer transparency was easily done with the "transparency" slider from the Layer properties->style tab. See image below:...
10
votes
3answers
9k views

Where is Spatial query in QGIS3?

I just installed QGIS 3.0 EA. I wonder where the Spatial query is? There is a ”count points in polygon” in the toolbox but it can’t count point within a polygon.
10
votes
2answers
3k views

processing.runalg() throws “TypeError: catching classes that do not inherit from BaseException is not allowed”

Hi everyone I'm in some way new with PyQGIS and I've been trying to run a script in QGIS 3.0 without success (it prefectly ran in 2.18) and always get the same error: AttributeError: module '...
10
votes
2answers
20k views

How to add openstreetmap WMS layer to QGIS 3?

I'm trying to add Openstreet Map (OSM) to QGIS3 (Ubuntu 16.04) as a background WMS layer. I found a list of OSM WMS Servers, and a WMS tab in the new Data Source Manager (Ctrl+L). But after clicking ...
10
votes
1answer
139 views

Difference between scale and grid in QGIS?

I am new in QGIS, and I can't quite figure out how grid and scale work. Should my "Project CRS" and my "Grid CRS" be the same or not? I played around with settings and after some time and managed to ...
10
votes
4answers
5k views

Installing QGIS 3 on Ubuntu?

QGIS 3.0 is released. However, in the download page, there does not seem to be an entry (for Ubuntu (16.04) at least): Latest Release 2.18.x Las Palmas (new LTR) https://qgis.org/...
10
votes
2answers
2k views

Will core functions in QGIS exploit multi-threading?

After reading Enabling multithreaded processing in QGIS?, I was wondering if QGIS 2.6 will include this when running various processes. I checked online and I could only find that multi-threaded ...
9
votes
5answers
1k views

Is there a way in QGIS 3 to get a selected feature WKT?

In QGIS 2.x, I used the getWkt plugin: https://github.com/hugoledoux/QGIS-getWKT to get a WKT of a selected feature. But that plugin isn't present in QGIS 3.x. Was that capability built into core ...
9
votes
1answer
8k views

Enable 'on the fly' CRS transformation in QGIS 3?

In QGIS 2.8 there is a clear button to 'enable on the fly CRS transformation' in the "project properties" for a new project. Seen here: But in QGIS 3.0, I cannot find it to save my life. Can ...
9
votes
2answers
1k views

Adding coordinate system to layout in QGIS composer?

I would like to know if there is a way to add a dynamic coordinate system field into a QGIS composer layout. I can use an expression to add many items such as document name, file path, etc but I can;...
9
votes
1answer
551 views

Pause Labeling in QGIS?

Is it possible to pause/stop labeling temporarily in QGIS like in Arcmap for all layers at once? The label toolbar offers no solution.
9
votes
2answers
458 views

Create an arc of lines from a line and a value

I'm trying to recreate an Origin-Destination plot like this: I have managed to munge the data into a MSOA to LAD table and can draw a map like this for one of the origin MSOA. Which once you allow ...
9
votes
1answer
12k views

Using Bing Maps background for QGIS? [duplicate]

With the abandon of OpenLayer and the integration of the XYZ Tiles (in Data Browser). Is there a way to integrate Microsoft Bing, or Here Map, as a satellite imagery layer in QGIS 3.0? Like for ...
9
votes
1answer
318 views

QGIS constrain move by vertex along an x or y axis

In QGIS, is there a way to constrain a 'move by vertex' along the x or y axis? In the picture below, I would like to constrain the edit movement along the y-axis as shown in the bold red dashed line....
9
votes
2answers
4k views

Orfeo toolbox (OTB) algorithms in QGIS 3.0?

I've been trying to understand if the OTB (Orfeo toolbox) algorithms can be used in QGIS 3.0.0-Girona but found no official documentation about it. Under the 'Available QGIS Data Provider Plugins' (...
9
votes
1answer
876 views

Missing “New 3D Map View” in QGIS3

I was really curious about the new 3D-Map-View function of QGIS3. Now, finally, QGIS3 just released but I'm missing the 3D Map View! It should be at View -> New 3D Map View but it isn't.(https://...
9
votes
1answer
4k views

Export a layered pdf in QGIS 3.0

QGIS 2.x never had an option to export as a layered pdf. Instead there was a cumbersome workaround, involving exporting as an svg, importing into Scribus, and manually adding individual features to ...
9
votes
2answers
383 views

one label for two-lane roads (osm, qgis, postgis)

I labeled my osm-lines-layer (PostGIS) with symbols for primary roads and motorways. While the symbols for the primary roads are well placed - with enough distance between each - the two-lane motorway ...
9
votes
2answers
248 views

Drawing viewpoint-symbols in QGIS?

I made a viewpoint symbol in QGIS by styling a point to be be a circle and adding some lines that are rotated at different angles, and it ended up like so In a perfect world I would rather this ...
9
votes
2answers
2k views

processing.getObject() in QGIS 3

It seems that processing.getObject() is no longer available in QGIS. from PyQt5.QtCore import * from qgis.core import * #... layer = processing.getObject(layer) # -> ...module 'processing' has no ...
9
votes
2answers
529 views

Why does QGIS 3.4 and higher create .tmp file instead of refresh editing layer after saving?

I downloaded QGIS 3.4.0 and try to save edits in .geojson file. I can save new objects, but not edits in attributes. Insted of it, QGIS creates .tmp file with my chаnges into the same folder with ...
9
votes
1answer
699 views

Set QGIS 2.18 as default on Win with both 2.18 and 3.0

Is there a way to have both QGIS 3.0 and 2.18 installed on one computer but have 2.18 as the default Package when opening workspaces. At the moment 3.0 opens all my workspaces which is rather annoying ...
9
votes
1answer
165 views

How to view layers by data source in QGIS 3?

Is there a tool or panel in QGIS 3 that allows a user to view the map layers by data source? Similar to the List By Source view in the ArcMap Table of Contents? I thought I had come across it, but ...
8
votes
4answers
610 views

Labeling lines that are not within polygons using field calculator [duplicate]

I have two features. One line feature and another polygon feature. I want the line feature label not to appear when it is within a polygon similar to the one in the figure. That is, I want the label ...