Questions tagged [qgis-3]

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

Filter by
Sorted by
Tagged with
54
votes
6answers
79k 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 ...
37
votes
1answer
22k 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, ...
35
votes
2answers
21k 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 ...
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 ...
29
votes
2answers
9k 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
14k 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....
25
votes
2answers
19k 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 ...
22
votes
1answer
2k 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 ...
19
votes
7answers
10k 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 ...
18
votes
2answers
13k 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 ...
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
6k 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
9k 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
987 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?
14
votes
4answers
4k 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
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 ...
13
votes
2answers
31k 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 ...
13
votes
1answer
15k 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 ...
13
votes
2answers
4k 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
2answers
261 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
2answers
5k 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 '...
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
5answers
3k 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 ...
12
votes
2answers
881 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 ...
12
votes
1answer
207 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 ...
12
votes
1answer
440 views

Point cluster symbology for different categories without overlapping symbols

I'm trying to visualize crimes based on if the crime happened during day or night time. I've tried using the point displacement tool but I'm not satisfied with the results because the readability for ...
11
votes
5answers
2k 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
3answers
1k views

QGIS 3.10 Recent Projects List missing

When opening QGIS 3.10 on Windows 10 after a recent fresh install to a new computer using OSGeo4W I seem to be missing the recent Projects Tab. I have News and Project Templates appearing but no ...
11
votes
2answers
4k views

Move Feature not showing on edit bar

I am using QGis 3.2 and on the edit bar I don't have the move feature icon available (even before loading the file). I have seen situation where it is blocked but without showing completely on the bar ...
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
3k 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
270 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
389 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 ...
11
votes
0answers
321 views

High PostgreSQL/PostGIS memory and disk usage when saving QGIS project

Why would simply pressing the "save" button in QGIS cause my local PostgreSQL instance to cause memory and disk usage to spike to "Not Responding" levels? Seems to me like the ...
11
votes
0answers
171 views

Measure loading times of QGIS projects

For QGIS there is already a method to measure loading times of plugins ( qgis.utils.plugin_times): How to tell which QGIS plugins are slow to load? Is there something similar to measure loading ...
10
votes
4answers
827 views

Quickly review all the features one by one in QGIS

I have about 400 features in a point dataset. I would like to (quickly) visually check their locations one by one on the map. For now, I open the attribute table alongside the map. I select the first ...
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
12k 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

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
1answer
4k 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; ...
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
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
2answers
4k views

Add layers to GeoPackage using PyQGIS (QGIS 3)

How to add layers (vector or raster to an existing GeoPackage)? While loading an existing layer of a GeoPackage is quite trivial: path = '/home/matteo/geopackage.gpkg|layername={}'.format('admin') ...
10
votes
1answer
235 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
162 views

Rule-based symbology based on current selection in QGIS

I have two oracle layer (point(p1) and polygon(pl1)). I want to build a rule-based symbology which is based on current selection on two cases: Case 1- When I select a point from table p1, I want that ...

1
2 3 4 5
64