Questions tagged [qgis-3]

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

Filter by
Sorted by
Tagged with
53
votes
6answers
76k 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 ...
53
votes
13answers
19k 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 ...
33
votes
2answers
18k 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 ...
33
votes
1answer
19k 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, ...
30
votes
6answers
21k 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
2answers
7k 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 ...
27
votes
2answers
12k 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....
24
votes
2answers
17k 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 ...
20
votes
1answer
1k 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 ...
18
votes
2answers
10k 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:...
18
votes
1answer
7k 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 ...
18
votes
7answers
9k 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 ...
17
votes
2answers
12k 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>>...
16
votes
2answers
5k 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 ...
15
votes
1answer
8k 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. ...
15
votes
3answers
2k 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 ...
15
votes
1answer
894 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 ...
14
votes
1answer
3k 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?
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
4answers
3k 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 ...
13
votes
2answers
255 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 ...
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
6k 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
2answers
27k views

Adding OpenStreetMap WMS layer to QGIS

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 ...
12
votes
3answers
6k 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
1answer
12k 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 ...
12
votes
1answer
190 views

Creating quadrilaterals buffers around polygons in QGIS?

For a little map project of mine, I need to create quadrilaterals around a polygon feature based on the bisected angles of the vertices of that feature. Here is an example: Is it possible to automate ...
11
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 ...
11
votes
2answers
4k 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 '...
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
2answers
2k views

Exporting Processing Modeler as Python script in QGIS 3?

How do I export my model from Processing Modeler as .py so that I can edit its code? This does not seem as intuitive as in previous QGIS versions.
11
votes
1answer
265 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
1answer
293 views

Using Layer Parameter variables in Field Calculator within QGIS Model?

If I define a Vector Layer as an input parameter to a QGIS model, then the parameter name is exposed as a variable in a Field Calculator within the model, however I am unable to use this variable as I ...
10
votes
4answers
1k 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
3answers
11k 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
2k views

Changing column order in QGIS?

There was a table manager plugin in earlier versions I can't see anymore. Is there a way to achieve this in QGIS 3.6?
10
votes
2answers
2k 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;...
10
votes
1answer
183 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
2answers
14k views

Why “Export as Python script” button is unaccessible in QGIS 3.0/3.1 Modeler by default?

In QGIS 3.0, "Processing Modeler" window has no "Export as Python script" button unlike QGIS 2.x. If you look at the codes (in DlgModeler.ui and ModelerDialog.py files), you see the code lines ...
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
3answers
2k views

How to split polygon into equal area polygons in QGIS 3?

There is a plugin in QGIS 2.18 called 'Polygon Divider' which divides an irregular polygon into smaller equal-area polygons of a specified/custom-sized but in QGIS 3.x version there is no 'Polygon ...
10
votes
2answers
691 views

Setting dashed stroke style when layers have features with sharing borders in QGIS?

Layers like municipalities, countries, ... have features sharing the border of their neighbours: they share the same vertices (except for the features at the edges off course). I have a municipality ...
10
votes
1answer
950 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://...
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 ...
10
votes
2answers
285 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 ...
10
votes
1answer
845 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
4answers
443 views

Finding closest points on another polygon

I have three layers: polygons (having a unique id) stops (having the polygon id it is laying on) (point) possibilities (having the polygon id it is laying on) (point) I now want to find the closest ...
9
votes
1answer
240 views

Reshaping Feature using QGIS

In my job are currently looking for a ArcGIS free alternative, we try QGIS but ArcGIS reshape feature is very important for us when working with curves. What we do basically is: We've a line as ...
9
votes
2answers
318 views

Is it possible to disable editing for certain layers in a QGIS project?

I want to disable editing some (but not all) layers in one QGIS project, while still having them editable in a different project. Is it possible to disable editing certain layers within a QGIS ...
9
votes
1answer
3k 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; ...

1
2 3 4 5
58