Questions tagged [qgis-3]
for questions specific to the 3.x series of QGIS.
4,331
questions
1
vote
1
answer
81
views
NO symbol at the beginning of a symbol line?
Is there a simple way NOT to have a symbol at the beginning of a line?
I need to add symbols on a line each x meters.
Symbology > add symbol > line of symbol works fine, but there is always a ...
0
votes
0
answers
31
views
How to make old Python code compatible with QGIS v3.16 [closed]
We had some Python code in a QGIS v2.18 "Action" which emailed a recipient when we clicked on the action.
Now we are on QGIS v3.16 the code in the "Action" no longer works. Gives ...
0
votes
1
answer
34
views
Identify feature issue [closed]
When I click to identify a feature it comes up with 'no features found at this position'. It was working fine before so I think it's something to do with the settings. I installed the latest version ...
0
votes
1
answer
29
views
Labels covering point layer symbols QGIS 3.28
I am encountering a problem with label placement in QGIS 3.28. Specifically, the elevation contour labels in my project are covering the symbols of another point layer, even though I have arranged the ...
0
votes
0
answers
15
views
Grid settings cause 'Resise layout' to not function properly
Recently the company I work at has made the transition from QGIS 3.10 to 3.28 (the update was long overdue) but now I continue to run into a minor, if not irritating snag.
In QGIS3.10, activating the ...
0
votes
0
answers
22
views
Changing Fontmarker Size Expression in QGIS 3.28 using Python Console
I am currently working on a geology and mineral occurrence map in QGIS 3.28. I have a vector rule-based layer in which mineral deposits are classified with different symbols. Some of these symbols ...
1
vote
1
answer
89
views
QGIS label callouts anchor from the edge of the symbol
I am a beginner in QGIS. I'm using QGIS 3.32.
I have several rectangular symbols that are sometimes close together or overlapping. Each symbol has its own size (ellipse marker, width and height ...
0
votes
0
answers
36
views
Convert Text Annotation to Layer
Is there a way to convert annotation into a layer?
It has been asked ten years ago but is there now a more straightforward solution?
I have many text annotations that I need to convert to a point ...
0
votes
1
answer
33
views
QGIS clip overlapping polygons based on condition
I have a shapefile with polygons representing a collection of nautical charts. The charts have different scales (an attribute in the layer) and some overlap. I want to create a layer which ...
-1
votes
0
answers
21
views
How to represent a shape 3-dimensionally in QGIS [duplicate]
I am working on verifying terrain clearance for a runway in QGIS. I have specific elevations for each vertex on the shape. How can I make this a 3 dimensional plane?
This is roughly the side view I ...
2
votes
0
answers
47
views
Polygon outline in QGIS
I want to get a style for the polygon outline in QGIS with a dash or dot line that fits together perfectly, so that the dashes or dots that make up the outline overlap 100%.
Screenshot for ...
1
vote
2
answers
36
views
When selecting polygons in QGIS some borders are rendered behind bordering polygons
I am using QGIS 3.32.0
I am having trouble explaining the problem and it is pretty minor. I will provide a screenshot and you will instantly understand what I am talking about. The parcel with the ...
0
votes
0
answers
31
views
Points are not showing up on 3.28 QGIS versions
When I used 2.18 QGIS version the points to snap are there. Points that I mentioned are the points where each polygon corner is and where you can snap new polygon. In versions 3 higher it doesn't show ...
2
votes
0
answers
73
views
Why is QGIS too slow to load a project?
I work as an IT assistant and one of the workstations from the company that I work on, takes around 10 minutes to load a project of around 70gb. It takes the same amount of time if I load the project ...
2
votes
1
answer
27
views
Maximum width of screen in the QGIS modelbuilder
I am trying to make a model in the QGIS modelbuilder. The problem I am encountering is that my model is getting fairly wide. I have a lot more to put in under the base that is have now. The problem is ...
1
vote
1
answer
29
views
Loading S3 hosted COPC (LAZ) in QGIS 3.28.9 using Python
I am attempting to loop over dozen of https S3-hosted COPC (LAZ) files in Python for QGIS to (1) render them, and (2) write out a simple thumbnail Jpeg. Using the script below I can successfully loop ...
2
votes
2
answers
124
views
Calculating main_angle of polygons using PyQGIS
According to Calculating Polygon Main Angle using QGIS, it is possible to find the main_angle of a polygon by using a field expression like:
main_angle($geometry)
Can this function be called using ...
2
votes
0
answers
38
views
Position text in lower right corner of a HTML label in Layout
I have a problem with QGIS 3.32.x, where I cannot vertically align HTML labels in Layouts anymore.
The following HTML is perfectly aligned in QGIS 3.30, but refuses to align in QGIS 3.32.x:
<div ...
0
votes
1
answer
25
views
QGIS navigates to some other coordinate locations...Facing problem while dealing with coordinate systems
In QGIS 3.32, I want to do Geo-referencing of a vector shapefile.
The project coordinate system is Projected Coordinate System WGS 84 / UTM zone 43N EPSG 32643.
Two layers (Google Satellite Hybrid AND ...
0
votes
1
answer
27
views
Create one-sided-ellipsoid from 'geometry by expression'
I am looking for a way in which, I can create a buffer around a point.
The buffer is meant to be a semi-ellipsoid.
In theory it should be a mixture of 'single_sided_buffer' and 'make_ellipse' ...
0
votes
1
answer
45
views
Looking for Google Map or similar GIS alternative to impose my village map and track my live and land parcel location
I had a non Georeferenced shapefile of a village and then I Georeferenced it with Georeference tool of QGIS 3.32 by properly imposing it above Google Hybrid Base Layer. Then I exported to KML so that ...
1
vote
1
answer
41
views
Where layer notes in QGIS are saved
We can add Layer Notes to every Layer in QGIS.
Where is this info stored in QGIS?
1
vote
0
answers
48
views
Add one OpenGL object like QOpenGLWidget in QgsMapCanvas in a correct lat and lon
I want to add a large number of points to a QgsMapCanvas in a way that updates them every 100 milliseconds. In my initial attempt, I used QgsMapCanvasItem and QPainter to draw these points on the map. ...
0
votes
1
answer
48
views
Why is the "Label Properties" window greyed out for editing in QGIS?
I'm running Win10 (32GB RAM, i5-7500) and QGIS 3.28.2-Firenze.
I have a project I was given to write a report on. In QGIS there are text labels not associated with layers (but describing them I ...
1
vote
0
answers
17
views
Accessing model using PyQGIS
I've tried various ways to acccess my *.model3 file using PyQGIS libs as standalone script.
I can access and run my model from script stored inside QGIS.
processing.run('model:my_model_name', params)
...
0
votes
0
answers
27
views
PyQGIS: Remove a legend item NOT the whole layer from the project
I have a number of vector layers and, occasionally, an image basemap.
I am creating a layout programatically based on this data.
I have a legend but I have zero want or need for the basemap raster ...
1
vote
0
answers
28
views
Using QGIS Notebook Extension Compatibility on Windows
I'm currently working on integrating the qgis-nbextension into my workflow on a Windows system. However, I'm encountering compatibility issues and could use some guidance.
Here's what I've done so far:...
1
vote
0
answers
18
views
Splitting a point vector based on a date attribute within the QGIS Graphical Modeler
I have now a model which processes two layers of points corresponding to observations at 'Time_1' and 'Time_2'. It counts the observation per quadrats in a grid and obtains two outputs: a grid with ...
0
votes
0
answers
42
views
Printing QGIS-3 saved layout to image using PyQGIS [duplicate]
I know that one can create a layout and set the various elements there in programmatically using pyqgis (See e.g. Print Layout Items. setExtent() and attemptResize()).
But in my application, I have a ...
1
vote
1
answer
25
views
Link using <a href=""></a> in HTML Map Tip (QGIS Expression)
I am trying to include a link to an external web in the HTML Map Tip window in QGIS. The url is a field in the Attribute Table called "url".
This is my html (the link doesn't work):
<...
1
vote
0
answers
31
views
Splitting lines and deleting segments in QGIS
I have created a line that I now want to partially delete. I tried to do it with "split feature" but it didn't work. The wohle line deleted automatically when using this function.
As you ...
0
votes
1
answer
30
views
Random forest classification on QGIS gets stocked at 66% with an error message whose conditions have been met
I am running a random forest classification on QGIS using dzesaka pluggin, after picking my training sites and running the classification,
it gets to 66% and a prompt message appears that i ensure ...
3
votes
1
answer
41
views
Plotting transect line with equally spaced points and get the coordinates in QGIS
In QGIS I am trying to plot a transect line. For this I would like to place points every 500m along a line and get the coordinates of each point, but have not managed to achieve this unfortunately.
Is ...
1
vote
1
answer
36
views
Where to find the comment of column in QGIS?
I created a column with a comment but where do I find this comment later on?
0
votes
0
answers
19
views
Joining Attributes by Location (Summary) - Further extension?
(Using QGIS version 3.28.6-Firenze)
I am trying to aggregate a directional polyline layer, representing route flows ('volume') and obtain the sum of these by segment and by direction.
e.g. I have 4 ...
1
vote
1
answer
38
views
QGIS 3. Point Cluster rendering but with categorization?
Is there a way to obtain the same spatial rendering as what QGIS 3 allows with Point Cluster symbology (spatially close points clustered in a unique symbol) but using an attribute based categorization?...
1
vote
1
answer
40
views
QGIS .dxf file conversion to .kml no geometry notification
My colleague is having an issue converting DXF files into KML files.
He is using QGIS version Lima (not sure version no.) and I am using Hannover (3.16)
We have checked all the various options and ...
0
votes
0
answers
26
views
QGIS3 missing geometry
I sent a QGIS project to a colleague. He tried to uploaded it on QGIS but got a error message in QGIS that the geometry of one layer is missing. He couldn't repair it, because the geometry didn't ...
1
vote
0
answers
32
views
Safely uninstall only one instance of QGIS in W10, leaving the other one fully operational
I've got QGIS 3.16.11 and 3.28.6 installed on my job's W10 laptop and on a few PCs across the organization. About to install 3.28 on a few more with 3.16 already installed, too.
I'm not really using ...
0
votes
1
answer
59
views
QGIS3 quits after PyQt Script 2 run [closed]
I wrote the PyQt script below and I am running it through QGIS3. When I run it for the first time after opening it in QGIS3, the application's window pops up smoothly. However, when I close the window ...
0
votes
1
answer
25
views
Raster to Vector GDAL raster conversion error QGIS 3.28
I'm trying to convert a raster layer with values 1 to 0 in vector layer using GDAL raster conversion - Polygonize (Raster to Vector) in QGIS 3.28.
After processing i got an error at the Log window:
...
2
votes
1
answer
38
views
Specifying categorical symbology in PyQGIS
I have a vector image that is set with a single symbology. I would like to update the file to categorical symbology based on either 1 or 0.
Based on the documentation: https://docs.qgis.org/3.28/en/...
0
votes
0
answers
10
views
QGIS 3.22 dialogs sometimes adding extra backslashes to commands resulting in errors
Fairly frequently when I try to run raster commands in QGIS 3.22 (and earlier versions of Q3), I can't get the command to run because it appears that the GDAL command adds extra "". For ...
1
vote
1
answer
59
views
AttributeError: 'QgsNetworkAccessManager' object has no attribute 'setTimeout' when calling QGIS plugin
Do you know what is causing this issue?
Couldn't load plugin '_plugin' due to an error when calling its classFactory) method
AttributeError: 'QgsNetworkAccessManager' object has no attribute '...
0
votes
0
answers
32
views
Activate the Python 3 environment while trying to run the AVHYAS plugin
I am trying to use the Advanced Hyperspectral Data Analysis (AVHYAS) plugin for QGIS. I was able to download the plugin and upload the .zip to QGIS successfully, but many of the plugin features won't ...
1
vote
2
answers
59
views
Transforming QgsPoint from one CRS to another using PyQGIS
I would like to change the coordinates of QgsPoints imported from a csv file before saving it in shapefile.
I succeed to do all the step except the crs transformation, the output is keeping EPSG: 4326 ...
0
votes
0
answers
85
views
Generating XYZ tiles slow on QGIS
I'm new to the world of mapping and using QGIS. I need to render and create map tiles for the entire world using QGIS. However, the process of creating MBTILES is quite slow due to the large number of ...
0
votes
0
answers
19
views
Self-intersections from geoprocessing in QGIS but detected via digitizing validity checks
I have performed a set of geoprocessing tasks to produce a polygon output. The polygon output contains - what I would consider an invalid set of vertexes and as such, an invalid geometry. (see screen ...
4
votes
1
answer
149
views
Get the installed plugins metadata using Python
I'm making a QGIS plugin and I need get the metadata of the installed plugins. Currently it works only if the plugin manager was opened manually before. If QGIS is reopened and the plugin manager was ...
0
votes
0
answers
28
views
Installing QGIS 3.22 on MacOS Big Sur
I'm trying to install QGIS 3.22 on a MacOS Big Sur from this page : https://download.qgis.org/qgisdata/QGIS-Website/live/html/en/site/forusers/download.html#
I download the Long-Term release "...