Questions tagged [qgis-3]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

How to show data defined centroid fill marker font in the legend?

I'm using QGIS 3.18.0 on Windows 10 (from OSGeo4W Network Installer). I have a polygon-shapefile with an attribute table including the attributes "signatur", "r", "g" and ...
0
votes
0answers
4 views

How to use QGIS Temporal Controller with Mapserver WMS-T

I have defined a WMS-T (WMS + Time) service of GeoTiff files that is working with TimeManager (QGIS 3.4). The same WMS-T service doesn't work with TemporalController (QGIS 3.16). TemporalController ...
0
votes
0answers
85 views

V.Clean is not giving output In QGIS 3.14 Pi

I was trying to clean by removing sliver lines between set of polygons in my KML file. But unfortunately I am getting following error: QGIS version: 3.14.15-Pi QGIS code revision: d5114d2cfa Qt ...
0
votes
0answers
14 views

QGIS: Return if a value/string if a Geometrie had to be simplified by the Simplify Geometry proces

To kind of automate some length and value caluculations I have created a model to just let a Line Layer from an DXF go through it (the layers get selected out). I had to introduce an extra step to &...
2
votes
1answer
66 views

Getting forced close when selecting attachment on QGIS 3.2.1?

I added a new column, labelled it "pics" then I go to properties, layer form, change widget type of "pics" to attachment and set default path to the folder location of my images. Now when I go to ...
2
votes
1answer
78 views

PyQGIS: deleting selected features

I have been facing issues trying to achieve a very simple task which consists in deleting selected features with pyqgis. Here is a sample of my code : I select manually the features of the shapefile ...
0
votes
1answer
236 views

.tif to PCraster format conversion in QGIS 3.2

I am using QGIS 3.2 and trying to convert a resampled .tif file into PCRaster format which is used for a downstream model. Unfortunately when i try to export the resampled.tif file into PCRaster ...
1
vote
0answers
10 views

PyQGIS: cropToContents does not work properly

I have a template qpt which I read via pyqgis script to export multiple maps as png. I have a map and a legend in qpt file and I chose "Only show items inside linked map" so the legend shows ...
2
votes
1answer
79 views

Open .laz point clouds not available in QGIS 3.18

The recent release of QGIS 3.18 supports point cloud data. As can be seen on the screenshot in the linked Visual Changelog (above), .laz files should be supported. However, in my installation on ...
2
votes
1answer
40 views

Clipping/Splitting line layer based on another layer line running in parallel/alongside it using QGIS

I know how to Clip layers files based on another layers thanks to the Geoprocessing toolbox but how do I clip/split a line layer based on another line that is following parrelel/allong side it? Look ...
2
votes
1answer
42 views

Missing parameter INPUT_A in qgis:rastercalculator

I simply want to sum up two rasters with PyQGIS. To this end, I'm trying to use the qgis:rastercalculator but I encounter an error. Here's the code: import processing output_layer = '/tmp/result.tif' ...
0
votes
0answers
23 views

How exactly does QGIS compute the 3D Tiles for rendering a 3D Map View

In QGIS, we can click "View > New 3D Map View". This allows us to see our map in 3D, as long as we have a DEM layer available. But QGIS takes some time to actually compute the 3D tiles ...
3
votes
1answer
54 views

Calling a Python function for each page in an atlas

I have made a script to do some calculations for each page of a QGIS atlas (QGIS Atlas with insert map) The script is adjusting the bounding box of a map on the layout page. To make it run for each ...
1
vote
1answer
294 views

Using Click locations to determine azimuth in QGIS 3

I am using QGIS 3 64bit. While adding points to a shapefile (layer), what expression captures the insertion point coordinates of a point feature to use as a start point for an azimuth determination ...
3
votes
1answer
35 views

Missing results from ReshapeGeometry method on PyQGIS

I am trying to use the method reshapeGeometry from QgsGeometry class in a script to reshape a feature geometry (polygon) according to a line. The result of the process is 0, so positive, but I can't ...
1
vote
1answer
24 views

Raster product in PyQGIS does not produce correct results

I'm trying to mask (set with no data values) pixels in a raster not fulfilling a condition based on another raster. It runs well but it produces huge numbers that are not the values in the raster that ...
3
votes
1answer
42 views

Can QGIS open the file type .pitemx or .pkinfo?

The following file types are associated with ArcMap(.pitemx) and ArcGIS Pro(.pkinfo). Can QGIS open the file types .pitemx or .pkinfo? Please see the example image & weblink below for where to ...
0
votes
0answers
20 views

QGIS: $area calculation returns NULL while I can see the derived Area (Ellipsoidal) in feature info [closed]

In QGIS 3.10.14, I am adding a column to the Attribute Table of a Natural Earth shapefile (polygon) (US states; https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/...
3
votes
2answers
424 views

OSM Thunderforest API keys in QGIS3

This question has been asked for QGIS 2 and it was poorly answered. I have my API key from Thunderforest for accessing the OSM maps. I am trying to use the 'OSM TF outdoors' map. It requires an API ...
2
votes
1answer
75 views

Setting project and layer CRS in PyQGIS with setCrs() has no effect on the map canvas

I'm using the following code to set the project CRS in a Python script: #creates the project and projectRoot objects projectObj = QgsProject.instance() projectRoot = projectObj.layerTreeRoot() #sets ...
8
votes
1answer
96 views

How to create mutually clipping polygons

Is it possible to create buffers (in my case, but polygons in general also) that would create a boundary at their point of contact ? (so that they don't overlap on each other). Like this (from left to ...
1
vote
1answer
30 views

Remove annotations

Is there a way to remove annotations from a QGIS project? Can I navigate to a folder and delete them instead of going into the map canvas and deleting them there?
0
votes
1answer
172 views

QGIS “not responding” as reaction to every type of action

I just newly installed QGIS 3.16 because I got a new Laptop (Lenovo ThinkPad T490s, i5-8265, 8 GB RAM, 256 GB SSD). But when I try to use the program, it always goes into the "not responding"...
4
votes
2answers
46 views

QGIS: copying a value from one row to another one in the attribute table?

I'm trying to replace the values of the column A and B by the value of the row 1 and row 2 of column C. (15B70C should be replaced by 63F200 and 94JH5 by 35V145) How can I automate that in the ...
2
votes
1answer
19 views

How to make multipart feature call outs start at the same point from the annotation text in QGIS3

I have a map showing multipart features and map text. The text is too large for the features so I want to use call outs but the call out lines extend from the text in what appears to be the shortest ...
0
votes
2answers
41 views

How to enable Python scripts in processing toolbox in QGIS 3.16

I'm not able to enable Python scripts in the processing toolbox. It should turn up in the toolbox (see the third screenshot). The Python logo is also missing from the toolbox. Is there something wrong ...
3
votes
1answer
303 views

Data source not found when opening .qgs file

I am using QGIS 3.6.1 with the new geopackage (.gpkg) format. When some of my co-workers open my .qgs-file, QGIS (same version as mine) does to not find the data source for most of the layers. ...
0
votes
1answer
32 views

Is there a plugin for calculating the walking time in QGIS 3

In the previous QGIS version there's this plugin: Walking time but it's not compatible with QGIS 3. Is there another plugin doing the same thing?
3
votes
1answer
283 views

Rotating point symbol to underlying line for QGIS 3?

The expression below worked perfectly under QGIS 2.18. One simply entered it as an expression for the valve symbol and all valves rotated based on the underlying pipe feature. However it no longer ...
1
vote
0answers
10 views

Distance between two vector lines in each east-west raster row (in QGIS)

I have 2m-resolution raster LiDAR data of a marsh edge from two moments in time and I am trying to calculate how much the marsh has "retreated" between the datasets. I used the LiDAR data to ...
1
vote
1answer
33 views

World Topographic Map in QGIS is blocky pixelated

The ArcGIS World Topographic Map in QGIS is pixilated, specifically the text and lines. View the images below in full screen to see the blocky pixelation. How can the World Topographic Map be added to ...
0
votes
1answer
171 views

Adding label to map layer by clicking feature or similar action in QGIS?

I have searched the web (including stack exchange) quite extensively and haven't found anything. I've tweaked the 'repeat' setting on the label position tab on a line layer to where it labels enough ...
3
votes
2answers
817 views

QGIS proj4 definition is not valid

In QGIS 3.4 I'm trying to add a custom projection that was used for topographic maps of Suriname in the 1950s. I have the parameters from an article about historical CRS used in the country. Using the ...
0
votes
0answers
20 views

QGIS spline plugin tool cannot be imported

I'm using QGIS 3.10.14 and installed the spline plugin for digitizing curves. However, I get the error message below when I try and load the spline plugin. Traceback (most recent call last): File &...
0
votes
1answer
41 views

Measure distance between 2 points on curve line

I am using QGIS 3.10 version. Since, i am new to QGIS. Could someone please help me solving my confusion ? Image those 2 blue lines are points. How to measure the white line between those points.
14
votes
5answers
4k 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 ...
0
votes
2answers
369 views

Unable to save point features to QGIS on MySQL database

I created a table with point geometry in MySQL. Subsequently added a vector layer from MySQL table. The table could be accessed from QGIS. However on pressing the add button the system threw warning ...
4
votes
1answer
67 views

Bivariate legend plugin throws NameError exception

While using QGIS 3.10 and 3.16 on Mac OS X Big Sur, the Bivariate legend plugin throws a NameError exception. How do I fix this or work around it? The following stack trace is from QGIS 3.10. The 3.16 ...
2
votes
0answers
21 views

Allowing identification tool to click on symbol instead of feature in QGIS

Working on a rather crowded map, I would like to ease the identification of colocated point features, each one linked to a photo. I usually have 2 or 3 photos on the same point and would like to keep ...
1
vote
1answer
156 views

qgis-bin.exe is not responding at startup

Whenever I open up qgis, it always does this: I'm really new to this, so please bear with me: I tried a whole lot of things, I uninstalled and reinstalled almost 10 times, and I'm starting to get ...
1
vote
1answer
15 views

Georeferencer Plugin: Installed but does not appear in raster menu (QGIS 10.3, Windows 10)

I see that others have had problems finding a rouge georeferencer window, or using the plugin. But when my student tries to use the confirmed installed georeferencer plugin in QGIS 3.10 on Windows 10 ...
5
votes
1answer
115 views

Why QGIS crashes when constructing QgsGraduatedSymbolRenderer object by QgsGraduatedSymbolRenderer.createRenderer() method?

Today I want to render a vector layer in QGIS by using PyQGIS QgsGraduatedSymbolRenderer renderer. When I directly construct it by using the constructor, it works. But when I want to use the ...
3
votes
1answer
45 views

Save and load the classes definition table in the QGIS reclassify by table tool

I'm reclassifying an aspect raster which cells values ranges from 0 to 359.999 using the Reclassify by table tool: Setting the reclassification table manually is painful, especially when you have ...
3
votes
1answer
80 views

Polygonizing LineString features to Polygon features and keeping Attribute table values using PyQGIS

I am trying to create a circular raster in Qgis3.8.3-Zanzibar with the Python console. I am able to make it with LineStrings (combine of Polyline and Circular String) and fill each feature with ...
0
votes
0answers
32 views

QGIS keeps crashing when exporting print layout map - how to stop this?

When exporting my map which contains vector data and two maps (one as a global locator insert map) as an SVG file QGIS keeps crashing. I need the map to be exported as an SVG file as I want to edit it ...
3
votes
1answer
137 views

Match up two polygon layers in QGIS

I have two polygon layers, one is from natural earth data (Administrative 1 division) and the other is a polygon layer with some historical regions in Europe. As you can see in the image attached ...
2
votes
0answers
16 views

Splitting multigeometries in a Virtual Layer (SQL query)

I have a virtual layer already set up and working, the only thing that could make it better is getting rid of multipart geometries. The query is: SELECT ejido, circ, radio, mzna, cc, ten, registrado, ...
1
vote
2answers
39 views

Displaying raster layer in QGIS without any formatting

I have nine adjoining DEM layers (3x3) styled as 'hillshade' but there are some obvious artefacts, particularly where tiles meet. I've exported the hillshade layers to TIFFs in QGIS using the '...
0
votes
1answer
20 views

Qgis 3.16.3 - tk package, ModuleNotFoundError: No module named '_tkinter'

I am developing a plugin that uses tk package. When I tried to import tk I got an error: ModuleNotFoundError: No module named '_tkinter'. I tried to reinstall tk but it didn't work. I would say that ...
0
votes
1answer
28 views

KML layer not saving, invisible styling

I have two issues, one related to saving edits on a vector layer, the other related to the visibility of layers, and I'm assuming they have the same root cause, so I'm posting it as a single question. ...

1
2 3 4 5
67