Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [qgis-3.0]

For questions about Version 3.0 of QGIS

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 ...
46
votes
6answers
53k 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 ...
22
votes
5answers
10k 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 ...
20
votes
1answer
6k 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, ...
18
votes
1answer
500 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 ...
17
votes
2answers
6k 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 ...
15
votes
3answers
973 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
588 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
5k views

How does the QGIS3 vertex editor work?

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 ...
13
votes
2answers
4k 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....
12
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?
12
votes
1answer
2k 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 ...
12
votes
1answer
2k 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 ...
12
votes
2answers
193 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
3answers
2k 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'...
11
votes
1answer
1k 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 ...
11
votes
2answers
2k 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
780 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
4answers
4k 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
1answer
840 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 ...
10
votes
3answers
689 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 ...
9
votes
2answers
6k 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>>...
9
votes
1answer
2k 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. ...
9
votes
1answer
403 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
284 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
218 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
1k 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
6answers
5k 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 ...
9
votes
2answers
182 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
1answer
459 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 ...
8
votes
5answers
666 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 ...
8
votes
2answers
1k 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:...
8
votes
4answers
2k 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 ...
8
votes
2answers
2k views

QGIS 3.0 Error when calling processing.runalg()

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 '...
8
votes
1answer
6k 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 ...
8
votes
1answer
660 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://...
8
votes
2answers
1k 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 ...
7
votes
3answers
5k 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.
7
votes
2answers
8k 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 ...
7
votes
2answers
3k views

Installing LAStools in QGIS 3.0?

I don't know how to install LAStools in QGIS 3.0. In QGIS 2.18, you can incorporate it as a provider in Processing -> Options-> Tools for LiDAR data (for example: Installing LAStools in QGIS 2.4?). ...
7
votes
1answer
2k views

Using processing.runalg in QGIS 3

I try to create a common extent for rasters in QGIS 2.99. Here is my script: import processing processing.runalg("script:unifyextentandresolution", "/qgis_data/rasters/Image2.tif; ...
7
votes
2answers
5k views

How to install QGIS-3 (2.99) on Ubuntu 17.10?

I tried to install QGIS 3 (2.99) on LUbuntu 17.10, but run into errors. I tried to follow/adapt the instructions on QGIS website. If I add artful entries to /etc/apt/sources.list: deb http://ppa....
7
votes
1answer
206 views

How to add a comment to a source field in QGIS 3?

How do I add a comment to a Field in the Layer Properties - Source Fields tab? The documentation says "Comments can be added by clicking in the comment field of the column ...", but clicking in the ...
7
votes
1answer
1k views

How to turn on the 'on-the-fly' functionality with PyQGIS?

Before QgsMapRenderer was deprecated if we wanted to activate OTF we used code like this: canvas = QgsMapCanvas() canvas.mapRenderer().setProjectionsEnabled(True) Currently, QgsMapRenderer is ...
7
votes
1answer
186 views

'native' vs. 'qgis' geoprocessing algorithm provider in (Py)QGIS 3

In QGIS 3 processing toolbox among all the algorithms with the QGIS 3 icon there are some with Algorithm-ID starting with qgis: and some starting with native:. What is the difference between ...
7
votes
1answer
310 views

Preventing the “Coordinate Reference System Selector” query/window after processing.run()

I want to convert a DXF with python/ogr2ogr. Unfortunately QGIS 2.99 always asks for the CRS. QSettings().value('/Projections/defaultBehavior') 'useGlobal' QSettings().value('/Projections/...
6
votes
3answers
158 views

Programmatically changing line lengths in QGIS?

Provided a set of lines with various lengths, I would like to change their lengths (hence, changing their geometry) to a specific value, using their centroid as base point. I have checked the ...
6
votes
4answers
4k views

Installing QGIS3 on Ubuntu 16.04 Xenial: dependency problem

I am trying to install QGIS3 on my Ubuntu 16.04 Xenial. Following the instructions on the QGIS Website I added the following lines to my sources.list: deb https://qgis.org/ubuntugis xenial main deb-...
6
votes
2answers
438 views

Finding help for QGIS 3.0?

Where do I find the help files for QGIS 3.0? The program links to the version 2.8 help files instead of the current version. There seem to be major differences between the two, and I don't want to ...
6
votes
2answers
860 views

GdalTools core plugin “missing metadata file”

I installed QGIS 3 with GRASS 7 this morning via OSGeo4W64, and the application opens up without any issues, however the GdalTools plugin is coming up as "Invalid", showing the error "This plugin is ...