Questions tagged [qgis-3]

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

769 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
171 views

QGIS can't load geometryless WFS tables published with QGIS Server

I created a QGIS 3.6 project on Windows Server 2016 x64 with two PostGIS layers: Layer A: Points Layer B: Datatable (No geometries) and configured QGIS Server options on the project like this: Now ...
7
votes
1answer
831 views

Editing Layout-Items after loading a QPT-Template in QGIS 3 with Python

I am facing a problem with the new Layout API while implementing a plugin for QGIS 3. Starting point is a layout template in qpt-Format, which contains different elements like (attribute) tables, map, ...
7
votes
0answers
292 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 ...
6
votes
0answers
141 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 ...
5
votes
0answers
75 views

Generating slightly curved arrows in QGIS 3

In Geometry Generator in Symbology in Layer Properties, the following expression works, but the result is not satisfactory due to the middle point fixed coefficient 1,1: make_line ( start_point(...
5
votes
0answers
196 views

QGIS projects in PostgreSQL (pyQGIS - saving proj to DB)

I'm currently working on some code to automate the creation of a QGIS project from tables in a PostgreSQL DB. For info I'm working in QGIS 3.4. I'm almost there, but I'm stuck on one thing How do I ...
5
votes
0answers
445 views

How to use ATOM FEED Data in QGIS 3.6.1?

I would like to know how I can work with ATOM FEED Data in QGIS. In ealier QGIS versions this worked with the Plugin "INSPIRE ATOM Client", but this Plugin doesn't work in the current version. An ...
5
votes
1answer
137 views

Speeding up searches on layer with many attributes?

I'm using QGIS 3 with my data in a PostGIS server on the same local network. I want to quickly search for a feature based on a certain attribute or attributes of my layer. This layer has ±2 million ...
5
votes
1answer
588 views

Enabling QGIS Official Plugin Repository in the 3.4.1 Version?

I am using QGIS version 3.4.1. Recently, I cannot install new plugins. I have looked in the plugin setting. It seems that the link is blocked. The address is "https://plugins.qgis.org/plugins/plugins....
5
votes
0answers
164 views

Setting grid in QGIS that automatically adjust its intervals?

I am setting a template for multiple maps in QGIS 3 Layout and i was wondering if there is a way of automatically adjusting the grid's interval as a function of the scale of the map? I did a bit of ...
5
votes
0answers
754 views

Join attributes by location very slow on QGIS 3.0

"Join attributes by location" is very slow on QGIS 3.0. I have tried it with a CSV file and also with a shapefile (point layer) and a grid (made of polygons). On QGIS3.0 it takes about 3 hours to ...
4
votes
0answers
37 views

QGIS 3 Display negative values bar diagrams

Suppose I have a dataset with an id (for each geographic entities) and 2 numeric fields NUM1 and NUM2. These numeric fields have positive and negative values. When I use bar diagrams, only theses ...
4
votes
0answers
61 views

Running and scheduling processing jobs in QGIS 3?

Basically I want to write a script that would run on a daily basis on QGIS 3. This tutorial seems to have exactly what I want but the tutorial only works for QGIS 2. QGIS Tutorials and Tips | ...
4
votes
1answer
151 views

Using R-scripts in QGIS 3.4

I installed the Plugin, and activated R in the provider options. When I go to the processing toolbox R is available, but I don't have the use online R-scripts, which are mentioned in the documentation....
4
votes
0answers
798 views

QGIS 3.4 and loading raster from multiple variable NetCDF file

Using QGIS version 3.4.4 when loading a NetCDF file out.nc which contains multiple variables on a fresh Ubuntu 18.04 install I encounter the following error: CRITICAL Invalid Layer : Raster layer ...
4
votes
1answer
447 views

Updating Algorithm list in pyqgis3?

I am attempting to run a union operation in a standalone pyqgis script and I'm receiving this error: Algorithm qgis:union not found The union operation fails with this code: params = { 'INPUT' ...
4
votes
0answers
315 views

QGIS 3 Python plugin psycopg2 Postgres Notify/Listen Live Connection

I'm developing a plugin for QGIS3 for my company, where my managers can allocate tasks to other users. I have programmed two tables within the python script, witch will be only visible according to ...
4
votes
0answers
1k views

Invalid geometry error when running Vector Intersection tool in QGIS 3

I am reworking an exercise that runs fine in QGIS 2.14 and 2.18 but have encountered an error in QGIS 3.2. I am using Windows 8. I am using the Alaska training data and adding the majrivers and trees ...
4
votes
0answers
83 views

QGIS rule based symbology for rasters in Atlas?

I'm making species distribution maps and have got the Atlas working perfectly using a polygon layer to show the quarter degree grid cells for species observation records. I have ~ 250 species. Problem ...
4
votes
0answers
222 views

Unable to connect to postgres server in Database Manager

I try to connect to my postgres server, hence I got this failure And following error: 2018-04-26T18:02:05 WARNING Traceback (most recent call last): File "C:/OSGEO4~1/apps/qgis/./python/...
4
votes
0answers
218 views

Connectors do not appear automatically in easy custom labelling

I'm using the easy custom labelling plugin in QGIS 3. When I move a label away from its associated polygon a connector does not automatically appear as in QGIS 2.18. How do I get connectors to appear ...
4
votes
1answer
252 views

PostGIS table shows twice in QGIS Browser panel

I've observed for a while that for many (but not all) of my tables, QGIS 3 (2.99) shows the same table name twice in the Browser Panel on the left, when I expand my PostGIS data source. The first ...
4
votes
1answer
1k views

QGIS GRASS Processing Not Working on MacOS?

Recently upgraded to QGIS3 (3.0.2) for MacOS (High Sierra) and encountered GRASS (7.2.2) issues. Tried adding a custom variable and now when running GRASS algorithms (e.g. r.reclass) I get the ...
4
votes
1answer
290 views

QGIS 3.6 picture in ui form (Qt5 Designer)

I'm facing trouble with display a picture in a ui form based on a field (path). With the autogenerate form it works but when I try with a personalized form I cannot see the picture. I tried with a ...
3
votes
1answer
36 views

QGIS 3 shows and saves raw default-values from spatialite-tables

QGIS shows default values from sqlite tables as string in the edit-form when i try to create a new row. After save, the raw default values are stored in the table. How can i edit in QGIS LTR 3.4.7 a ...
3
votes
0answers
32 views

How to reimport a QGIS 3.10 Vector-GeoPDF, generated from layout manager, so that all items not belonging to layers are hidden?

I'm very impressed with the new GeoPDF export capabilities of QGIS 3.10 (Windows 10). Now we can create Vector-GeoPDFs with layers included! With the help of GDALs "Geospatial PDF" file format ...
3
votes
0answers
44 views

Different distance when using “Measure Line” tool and manually with scale in QGIS 3

Using QGIS's "Measure Line" tool I get a distance of 1.22km between two points. But if I use the scale indicated at the bottom of the screen, 1:50000, and measure with a ruler, the distance is 2.5km (...
3
votes
0answers
27 views

How can i prevent a form from closing unless data is accepted by validation

I try to use a custom-form in QGIS 3 to validate input-data before saving the data in a database. It would be nice to have the form open unless every input is correct. But the dialog/form closes even ...
3
votes
0answers
34 views

Find distance between multiple discrete sets of points QGIS3.8

No similar question seems to relate to my issue but I desperately need help with calculating distances. I have a CSV with the residential postcode of 200 000 patients. For each patient, I also have ...
3
votes
0answers
28 views

PyQGIS Layout - Change Image Source QGIS 3

Looking for a solution to loop through existing layouts in a QGIS 3.6 document and change a source of an image. The image is the same in each of the layouts. What I have is: from qgis.core import ...
3
votes
0answers
42 views

“Bring All to Front” is missing in QGIS 3

I am using QGIS 3.4 and 3.10 and a plugin's window ends up hiding behind the canvas. In QGIS 2.10 I had the option "Bring All to Front" to bring all windows to front. Is there an alternative for it ...
3
votes
0answers
42 views

Joining attributes from points to polygon

I am working with two shapefile, polygons and points. These shapefiles do not overlap and have different attribute values. The point layer contains data that I want to join to the beginning and end ...
3
votes
0answers
52 views

Error while running batch processing in QGIS 3

I have built a straightforward model in the Graphical Modeller in QGIS 3.4 to select features by expression and then save the selected features to a new shapefile. It works when running singly but ...
3
votes
1answer
57 views

Distance between points along line

How do I determine the distance between points to the neighbor point that connected via the line(road)? In QGIS 3.8.3 I have tried v.distance and v.net.distance but they do not help. The line(roads) ...
3
votes
0answers
45 views

Easy way to close open clipped contours with the edges of the clipping mask?

I am trying to programmatically (with pyqgis) clip contour lines that I've generated in QGIS, but make it so that the clipping mask forms the new edges of the contours, rather than leaving the ...
3
votes
0answers
32 views

Changing Map Tip popup direction dynamically

Is there a way to dynamically (or semi-automatic) change direction of a popup? Default direction is 'right-down', which in some cases, where hovered feature is at the bottom of a canvas, Map Tip is ...
3
votes
0answers
31 views

QGIS 3 3D Marker

In the 3D view I add 3d.obj files as Marker.works very well. Is it possible to add different 3D markers on different layers or categories. When I use 2 different layers with different obj files 3D ...
3
votes
0answers
46 views

Offset Expressions Dynamic QGIS - Unique non-repeating Numbers

I am trying to create a layer style that shows line features that share the same geometry, an exploded view for line Features. What I have done so far via the Offset expressions in QGIS 3.6 ("...
3
votes
0answers
72 views

No Vector Menu Available QGIS 3.4

I've installed QGIS 3.4 on my Mac. I don't have any vector or processing menu. In the "plugins" menu under settings, I have the following: "The settings on this tab are only applicable for Python ...
3
votes
0answers
75 views

Errors opening Geospatial PDF in QGIS 3.8.3

I'm a complete QGIS newbie so bear with me if I'm missing something obvious... I'm unable to open GeoPDF's that I've downloaded from USGS's The National Map (TNM) site. This is the error that I get ...
3
votes
0answers
57 views

Testing nodes connectivity

I'm working on a shapefile of Brussels (QGIS 3). This shapefile contains all the streets in Brussels, see below. With the attribute table, I have an "X" and "Y" position for each line (debut and end),...
3
votes
0answers
79 views

Running Standalone PyQGIS Script with Multiprocessing?

Is it possible to run a standalone PyQGIS script using multiprocessing for better performance? I'm creating 1,800 rendered map images and would like to run it across 4 processes to speed it up. If I ...
3
votes
1answer
107 views

QGIS cannot import SciPy (QGIS 3.6 Noosa, Ubuntu 18.04, EnMapBox plugin)

I had been struggling to get QGIS installed because (currently) the ubuntugis repo seems to not be working well (couldn’t load Python at all). I got around that problem by installing QGIS using ...
3
votes
0answers
48 views

QGIS 3.4.6 Cannot create fields in new shapefiles

Running 3.4.6 on Windows 10. Until today I have had no problems creating new shapefiles and fields. Now when I create a new shapefile everything in the new dialog box works as usual when I create ...
3
votes
0answers
36 views

QGIS 3 embedded forms - zoom or pan to child features

I have two tables and a relation defined on them via an 'in-between-table' (many-to-many relationship) like this: This gives me nice embedded forms like shown below: What I would like to achieve is ...
3
votes
0answers
52 views

Setting input layers as PostGIS tables when building a model?

I am trying to build a QGIS 3.8 model where the same inputs are used each time and only the clipping layer extent changes. I can do this using shapefiles and editing the script to use the same input ...
3
votes
0answers
43 views

Disable map zooming with QGIS 3.5 +

I am trying to disable zooming with the mouse wheel for QGIS 3.8. Past versions have had an option to under Settings/Preferences -> Map tools, but this appears to have moved with the newer versions. I ...
3
votes
0answers
40 views

Using shared database authentication settings for organization environment?

My company is willing to share common QGIS3 configuration parameters between its users (ie. proxy configuration, WFS/WMS connections definitions, database connection definitions). For doing this, ...
3
votes
0answers
46 views

Pyqgis: Added raster layers do not show up

I have a list ("datList") with names of raster layers which I want to add. When I add raster layers in the python console everything works fine: for da in datListe: layerDir = "C:/[path]/" + da ...
3
votes
1answer
75 views

Handling projections with QGIS?

I know this may sound like a silly question, and it is, but I've read lots of questions and tutorials, watched a few videos and still can't properly understand what I should do... I am trying to work ...