Questions tagged [qgis]
QGIS is a cross-platform GIS application licensed under the GNU General Public License.
38,497
questions
0
votes
0
answers
19
views
PyQGIS Print Layout - Duplicating style from another map when it's locked
Print Layout from a Template with two maps of the same layer, but different styling.
My code perfectly works for the first map:
#1
#getting map ID from the layout
map1 = layout.itemById('mapId_1')
#...
5
votes
1
answer
7k
views
Adding MGRS grid in QGIS
I'm trying to generate a Military Grid Reference System (MGRS) grid on QGIS (with polygons in a scale of 100m), such a grid will be similar to when importing a grid made of shapefiles (such as http://...
0
votes
0
answers
20
views
QGIS, Rule-Based Symbology Not Working, But Feature Filter Does
I'm trying to symbolize earthquake points by intensity, depth and date, I could create twelve separate layers but I thought using the rule based symbology would create a single nice and tidy layer, ...
2
votes
0
answers
728
views
Setup of development environment of QGIS on windows with qt creator [closed]
Can anyone help me in setting up environment for working on QGIS on windows using qt-creator?
I am using qt creator version 1.3.1,qt version 4.6 and QGIS version 1.8.
0
votes
0
answers
23
views
Using "Buffer Without Overlaps" plugin (QGIS)
I am trying to use the "Buffer Without Overlaps" plugin with this shape file.
However, I am facing the following issue:
Error: Algorithm saga:polygonselfintersection not found
How do I ...
2
votes
1
answer
39
views
Translating point geometries conditioned by two data fields
As you can see in the screenshot, I have a HOUSENUM point geometry layer with the following data fields ID_HOUSENUM (corresponding to the portal text), ID_STREET (corresponding to the street code it ...
0
votes
0
answers
10
views
SQL joins in QGIS's DB Manager take hours and crashes the program
This may be a few different issues, but I have a few files that I am trying to join in QGIS.
I have one LINESTRING file of street segment data. It's for a whole county, so there are about 32,000 ...
0
votes
1
answer
13
views
QGIS - Countif function on columns
In this question I asked for a substitute of the 'Countif' function in Excel to be used to populate a field depending on how many values different from 0 were present in the several attributes for ...
6
votes
2
answers
169
views
QGIS - align labels of point layer perpendicular to course of polyline
Is it possible to align the lable text of point layers perpendicular to the course of a polyline?
0
votes
1
answer
13
views
Setting labels as background labels in QGIS?
Is it possible to set labels as background labels in QGIS ?
See this page to see what i mean.
0
votes
2
answers
21
views
QGIS keeps closing when trying to reenable the Processing Plugin
Refers to:
QGIS version 3.22.2
Windows 10
I was doing first steps in the processing script environment and added testwise the code line
qgs = QgsApplication([], False)
to the processing script. After ...
1
vote
1
answer
24
views
How to make a hyperlink for a point layer in QGIS so that you can go to Google Maps
How to make a hyperlink for a point layer in QGIS so that you can go to Google Maps.
I need to have a separate field when clicked it will show me that point on Google Maps.
1
vote
1
answer
21
views
QGIS 3.22.16 Bialowieza. Selecting matching value in 2 fields
I am using QGIS 3.22.16, I try to select similar 'null' value in 2 different field. I tried the solutions suggested from one this exchange.
Selecting features with equal values in different fields in ...
6
votes
4
answers
7k
views
Are there any work-arounds for WMS width and height limit when printing?
I get the following error when trying to export in QGIS to PDF: "Some WMS servers (e.g. UMN mapserver) have a limit for the WIDTH and HEIGHT parameter. Printing layers from such servers may exceed ...
0
votes
1
answer
23
views
Open QGIS without recent projects
Is there a way (command line flag?) to open QGIS without displaying the recent projects list? Usually when giving demonstrations or similar I'll simply use a separate user profile on my computer to ...
6
votes
3
answers
5k
views
QGIS Export: Set DXF Layers By Attribute
I have a shapefile layer of contour lines that I'd like to export to DXF, but I want to have each feature be on a layer defined by an elevation attribute. I saw here that something like this should be ...
5
votes
1
answer
195
views
Getting active PostgreSQL connection username when stored through authentication configuration in QGIS 3.16
How do I get the username on the current layer PostGIS in QGIS 3.16.2-Hannover?
We tried examples: Getting active PostgreSQL connection username when stored through authentication configuration in ...
3
votes
3
answers
52
views
Batch export .QGS to .QGZ
I have multiple .QGS files and I would like to export them to .QGZ.
Right now I'm opening the .QGS file and save as .QGZ one by one, but I have over 180 .QGS files so I'm looking for a way to automate ...
0
votes
0
answers
28
views
Display the lines of solar altitude in QGIS
I would like to have an option for drawing/displaying the solar altitude on the GIS map in the manner presented below:
grabbed directly from timeanddate.com.
You can see the terminator line and solar ...
1
vote
0
answers
11
views
QGIS grass imports vector line data as points, not vector lines
I am very new to QGIS and Grass. I am trying to create a dxf file with height data using Grass 7 as per this youtube video. (1:35 mark)
My contour data and Qgis file is uploaded here. When I go to ...
0
votes
0
answers
18
views
QGIS causing recurrent crashes on multiple computers
I currently have lots of issues with multiple computers that crashes more than twice a day when the operators are digitizing vector layers. The computers are strong and run Civil 3D without any issues....
5
votes
1
answer
450
views
Buffer is too small (OSM Data, EPSG 3857)
I buffered some lines with 100 m in QGIS. When I measured it turns out instead of 100 m its 62. I understand the issue could relate to the CRS. I used EPSG 3857 because the OSM map in the background ...
3
votes
1
answer
88
views
Can QGIS export a limited area of a project?
I am new to GIS in general, and I've created a map in QGIS that contains data for a very large area.
I would like to copy this onto a mobile device, but the file size is too large, and I don't need ...
0
votes
0
answers
10
views
Rename (from one Layer to another) selected Features in QGIS
I have two layers and there are some identical line features in there. Now I want to rename one Field of the identical Features in the second Layer like in the first layer. So I selected all features ...
8
votes
2
answers
2k
views
How to use scale-rule based renderer in QGIS?
I wish to render a shapefile of buildings such that at scales below 1:5000, they have a border, and above 1:5000, they do not have a border.
For this, I went into layer properties, selected Rule-...
0
votes
1
answer
604
views
python-qgis was not found while installing QGIS on Linux Mint
I am trying to install QGIS on my Linux Mint 20.1 Cinnamon, using this:
https://freegistutorial.com/how-to-install-qgis-on-linux-mint-19/
But when trying to
sudo apt-get install qgis python-qgis qgis-...
0
votes
1
answer
39
views
QNEAT3 Execution failed [closed]
I've been attempting to run a number of different processes within the QNEAT3 toolbox, however I keep on getting an error similar to the one seen in the image below:
Traceback (most recent call last):...
0
votes
0
answers
28
views
Add noise to coordinates of selected polygon vertices in QGIS
While I have seen questions about adding noise to raster data and to XY data in ArcGIS, what I am trying to do is different.
Using QGIS, I am trying to find a way to add random noise (say, up to a pre-...
1
vote
0
answers
11
views
QGIS - after restarting project WFS Layer only displays after opening attribute table and changing zoom
When i close my project and restart, some WFS Layers are behaving strange. They only display the data after loading/opening attribute table and changing zoom. I've tried refreshing with F5 but it is ...
5
votes
1
answer
68
views
How to create a QGIS Virtual Layer that retains the source field types?
In a previous question that I posted, the answer that I accepted involved creating a Virtual Layer from a source layer. The query used to create the Virtual Layer was:
select *
from my_layer
...
0
votes
1
answer
24
views
How to build a 3D model of a building without height attributes?
I have a building from .osm file:
<way id="85272711" visible="true" version="6" changeset="82733303" timestamp="2020-03-27T20:56:51Z" user="...
0
votes
1
answer
44
views
How to import PDF or SVG image?
I am using QGIS 3.28 and I am brand new to this! I am simply trying to create a template with our company logo. I have created the logo in CorelDraw and AI and saved as a PDF and a SVG. I just need ...
2
votes
1
answer
59
views
How to check if QGIS is using RPC or not or on my image?
I have an image with RPC file near it, but there is also geo-referencing information within the image itself.
How do I check if the image is georeferenced using the RPC file or not?
8
votes
2
answers
505
views
Changing polygon circles to hexagons using QGIS
I received an answer to Changing Points into Hexagon-Polygons using QGIS, which enabled me to change the point to polygons using the "Rectangles, Ovals, Diamonds" tool, which I used circles.
...
37
votes
9
answers
95k
views
Can QGIS open KMZ files?
I know I can add KML files once I have unzipped the KMZ files, but is there a way to open KMZ files directly?
When I try to open a kmz file on QGIS 1.8.0 on Windows XP, through the all files filter, ...
5
votes
1
answer
604
views
Dealing with no-data values in raster calculator of QGIS
I am trying to patch two rasters with raster calculator but I am not finding the way to work with no-data values.
Lager@1 has some information I need as first option, this has as no-data -9999 (...
1
vote
0
answers
27
views
Defining national borders in TIF file and cutting away excess map in QGIS
In QGIS I am trying to create a shaded relief map of Denmark.
I have managed to fetch the data from https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/elevation/copernicus-dem/elevation, ...
0
votes
0
answers
27
views
DiGMap WFS doesn't work on GeoServer
I'm trying to publish one of our customer Web Feature Services in Geoserver 2.19.0 and I'm getting error when I publish it. As per the customer, their WFS service is compliant to OGC standard and it ...
2
votes
1
answer
38
views
Value map field in query builder
My table contains integer field with value map defined in project. For example:
I can extract description with represent_value() function in expression:
But Query Builder does not support ...
0
votes
0
answers
23
views
QGIS Atlas or Report, Why two functionnalities for the same need? [closed]
QGIS currently has two ways to automatically generate a series of maps. Either through the Atlas option in the layout manager or by generating a report.
The report functionality, seemed to be ...
0
votes
1
answer
185
views
Error message using sDNA Prepare Network
I'm preparing a road network using the sDNA Prepare Network tool on QGIS 2.18.28. My OS is Windows 10 64 bit.
I get the following error message:
Algorithm Prepare Network starting...
****************...
0
votes
0
answers
27
views
Scale bar isn't displaying when selecting ESRI:54009 as a map projection
I want to create a map using ESRI:54009 (Mollweide) as a map projection. When I try to insert a scale bar, it doesn't appear. The moment I change the projection to some other system, e.g., EPSG:4326, ...
9
votes
1
answer
432
views
Printable Globe in QGIS
I'm trying to figure out how to use QGIS to print a map so that it can be wrapped around a sphere. I haven't found a projection that will display the map in a way similar to these.
It sounds like ...
0
votes
0
answers
25
views
QGIS Composer template between projects
I'm trying to create a composer template in QGIS 3.24 which can be used across multiple projects.
My font settings, however, seemingly randomly reset and default back to MS Shell dg font size 10 when ...
3
votes
1
answer
63
views
Expression to retrieve image from local directory in QGIS layout
I'm currently doing a project where I have to put 8 images, per page, on a layout that I previously created (as shown in the image below). My image files are always named 01, 02, 03, etc and I was ...
1
vote
0
answers
38
views
Convert a model to a plugin
I have a complex model that I want to convert into a plugin. The model includes multiple tools (shared polygon edges, Dissolve, Buffer, Retain, Refactor and merging vector layers) with dependencies ...
2
votes
2
answers
613
views
QGIS 3.10 install on Ubuntu 18.04 will not recognize any projections
As the the title states a clean install of QGIS 3.10 on ubuntu simply will not recognize any projections and sets all data (both raster and vector) to unknown projections. This issue even extends to ...
3
votes
1
answer
63
views
How to label features avoiding duplicate attributes and conditioning by two fields
In a layer with point geometry, I have the house number label. Each geometry has the HOUSENUM, PARCEL and STREET fields. In some cases the geometry is duplicated (equal geometry), in some cases the ...
1
vote
0
answers
21
views
Sorting based on aggregate in QGIS Atlas layout
In an Atlas layout, I can in a text field or table with no problem sum the attribute SBT for features being inside the current atlas feature by using this aggregate function:
aggregate(
layer:='...
4
votes
1
answer
118
views
QGIS Naming Model Outputs using attribute from input layer
This is the first QGIS Process Model I have ever attempted to build (and I am still on a learning curve with QGIS generally) please excuse my inevitable ignorance. I would be most grateful for some ...