/r/QGIS

Photograph via snooOG

A subreddit for discussion and all things QGIS - A Free and Open Source Geographic Information System.

Got a problem? See what the community thinks. Wanna brag? Show us your stuff.

A subreddit for discussion and all things QGIS - A Free and Open Source Geographic Information System

QGIS Download

Helpful Links and Tutorials:

Mapping Subreddits:

/r/QGIS

26,496 Subscribers

0

Can anyone help me with ArcGIS questions?

Hi everyone,

I’m about to start a project for my ArcGIS class where I’ll be mapping Doggerland, and I’m already feeling overwhelmed before I’ve even begun. I’m still trying to figure out how to approach the project… I tend to get stuck for hours on the smallest tasks and simple issues can end up taking way longer than they should, and I’m worried (honestly expecting) that these challenges will really slow me down once I dive into the project.

Since I’m relatively new to ArcGIS, I’m worried about getting stuck on small technical issues or missing key steps. If anyone has advice on how to approach this kind of project, recommended resources, or strategies for organizing the work, I’d love to hear it!

Even better, if you’re familiar with prehistoric landscapes or similar mapping projects and are open to answering questions along the way, that would be such a huge help. I really want to do well on this project, but I know I’ll need some guidance to get there.

Thanks in advance for any advice or support! ✌️🫶

1 Comment
2024/12/05
03:25 UTC

2

Delete features along coastline / at the edge of the raster

https://preview.redd.it/xjte94xhrw4e1.png?width=1580&format=png&auto=webp&s=4367b9c528acd4224e2a4069e4aa95544784154b

Dear QGIS Community, I am currently working on a project where I need to exclude all features located along the coastline or the edge of a raster, retaining only those situated on the mainland. Could anyone recommend a tool or workflow in QGIS that could help with this task?

For context, I want to remove the features marked with red circles in my dataset while keeping those with green check marks. Ideally, I’m looking for a solution where I can define a buffer (e.g., delete all features within 50m of the raster edge), but if you know of a more effective method, I’d greatly appreciate your advice!

The features I need to remove are all situated near coastal cliffs, as seen in the attached example. Thank you in advance for your help!

2 Comments
2024/12/04
22:35 UTC

1

Not possible to merge rasters or build virtual layer because of negative Pixels

Hi I have not found an answer to this with a quick search.

I have downloaded a bunch of DEM-Rasters from the german open Data. Now I am trying to merge them into one, but when I try to use the normal merge I get this error message:

RuntimeError: Attempt to create 1201x-1198 dataset is illegal,sizes must be larger than zero.
Error Code 1

For the same reason, I can´t create a virtual raster either. When looking at the Properties, it tells me pixel sizes for the raster is 50,-50. I assume this is the problem, but I am unsure.

Any tips?

1 Comment
2024/12/04
18:40 UTC

1

Public BUS system simulation

Hi community! I'm interested in finding if there's any plugin (or similar software) that would make a simulation on a new Public Bus system and be able to compare it to the existing system.

Thanks in advance for the help!

1 Comment
2024/12/04
15:41 UTC

2

Land Surveying Job Database

Hey everyone, so I used ArcMap about 6 years ago and haven’t really been in the building databases world for a while. I am a Land surveyor and am trying to build a database with our jobs located on a google maps type image and build a pop up with basic information like job number, related county parcel number. Is there a plugin I can find or even pay for that already does this? If not where is the best place to start? I have never used QGIS so I am currently watching some tutorials on how to use it. Any help is appreciated.

Thank you!

6 Comments
2024/12/04
14:23 UTC

1

How can I export multiple layers as separate TIFF files?

This is a pretty basic task that I'm struggling to do in QGIS. I have a bunch of separate GeoTIFF data layers that I've imported. They're raw data, so I need to export them from QGIS to actually see the data (otherwise they just appear as black).

I want to export all of these separate layers as individual TIFF images taking their file names from their layer names. Should be easy, but in QGIS, not so.

In most software, you just select your layers and hit "Export", but not in QGIS. That doesn't work. I've also tried Python code (seems crazy to me that you have to write code to do something so basic), and other plug-ins like Save All and Raster Conversion > Translate (convert format). None of these have worked.

Am I missing something totally obvious? Many thanks for any help, I'm banging my head against a wall trying to figure this out.

8 Comments
2024/12/04
11:58 UTC

2

qRadioPerdict or Longley–Rice model in QGIS3?

Hi all, I am wanting to run some coverage studies in QGIS3. Does anyone know of a successor to qRadioPerdict or some other plugin that can run at least Longley-Rice or ITWOM?

1 Comment
2024/12/03
14:42 UTC

2

QGIS for Flood Level

Hey! I am pretty new to QGIS and delighted to have found such a cool software that can do so many things.

I have a question for you guys more experienced than me.

I have highlighted areas of potential water storage, and I want to show the area of land (2D) covered by stored water if I raise the level of the water by a set height (z dimension). Does anyone have any ideas how to do that?

5 Comments
2024/12/03
14:19 UTC

0

Georeferencing a Photogrammetry

Hello. I am working on an archaeological site. I have some photogrammetries. I would like to georeference them but I cannot figure out how to do it on QGIS and ChatGPT is not helpful. Could you please help me?

My photogrammetries are 3D meshes in ply format. They are coloured and colour is coded by vertex. Attached to this post, you will find a screenshot of what it looks like on Meshlab. There are a few landmarks on those photogrammetries that I know the coordinates of (latitude, longitude, elevation) and based on those points I want to georeference the whole thing.

When I open a ply mesh on QGIS it looks very different. FIrst of all, it's flat, I cannot move it in 3D anymore. Secondly, instead of natural colours, I get a strange colour scale representing something called Bed Elevation (see second screenshot). I had a look at the Symbology section of my object Properties, but found nothing to change the colours back to vertex colours. At least, those colours seem to be there, since the mesh does have red, green, and blue attributes (last two screenshots).

What should I do? Thanks a lot.

Meshlab view

QGIS opening view

Symbology, \"tools\" tab

Symbology, \"colours\" tab

1 Comment
2024/12/03
11:13 UTC

1

Symbolisierung

Hi, I would like to display a layer categorized and specify the order/symbol level. Unfortunately, the "advanced" function under "Layer properties" - "Symbolization" doesn't work for me. Can anyone help me?

2 Comments
2024/12/03
10:26 UTC

1

Optimizing Complex Logistics: My Journey in Route Analysis and Data-Driven Solutions

Hi everyone,

I wanted to share a recent project that demonstrates how I tackle complex logistics and route optimization challenges. I hope this sparks a discussion or offers insights into similar problems you might be solving.

In my latest project, I worked with a dataset of 5,879 customer stops, vehicle capacities, and weekly delivery schedules for a distribution network. My goal was to create efficient routing solutions under strict constraints like delivery time limits, vehicle capacities, and specialized vehicle requirements. Here's a brief overview:

What I Did: Data Preparation:

Leveraged QGIS for geospatial analysis, generating distance matrices, shortest paths, and logical visit sequences. This ensured a strong spatial foundation for route optimization. Scenario-Based Analysis:

Scenario 1: Optimized routes to balance delivery time and vehicle capacity, while separating supermarket deliveries from others. Scenario 2: Incorporated alternate coordinates for flexibility in route planning. Scenario 3: Further refined routes by excluding certain customers based on geographic restrictions. Custom Algorithms:

Developed a Python-based workflow to assign vehicles dynamically, ensure capacity utilization, and split routes exceeding time limits. Results:

Improved vehicle utilization rates. Reduced delivery times while adhering to constraints. Generated detailed route plans with summaries by distribution center for decision-making. Key Takeaways: Importance of Data Preparation: Clean and accurate data is crucial for effective analysis. Scenario Planning: Exploring multiple scenarios helps adapt to diverse business requirements. Tools & Collaboration: Combining GIS tools with programming unlocks powerful optimization capabilities. If you're working on similar challenges, I’d love to hear how you approach them. How do you balance constraints like time, capacity, and geography in your route planning? Let’s discuss!😊

0 Comments
2024/12/03
10:21 UTC

1

Removing all highlighting for selected features

Hi All,

I'm a very light user of QGIS, so apologies if this is very obvious. Is it possible to not display any changes to the appearance of a feature when it is selected?

To give some background, I'm exploring using QGIS in my classroom, and one way I envisage using it is by having the attribute table on my screen and the map view on a bigger screen. Then, using the is_selected() expression in rule based symbology, I can quickly and easily display the features I want to by selecting them in the table. It would display the original symbology I have chosen for that feature, not having ti turn yellow (for example.)

Alternatively, if I am missing some really obvious other way of accomplishing this, I would love to hear that! This is just the system that feels like it would work.

Thanks in advance.

7 Comments
2024/12/03
07:15 UTC

1

Selective label blocking?

Hello! Is there a way to only block a couple of labels? I have bathymetric contour lines placed below a land shapefile with labels that show up over the overlying layer. I tried blocking from the interior of the land shapefile but it also removes the labels of the topographic contour lines above it. I was expecting the labels to also follow the layering order but I guess they don't. Some insight or fixes would be great.

EDIT: Okay looked around the toolbars and saw a hidden toolbar that allows for editing labels

0 Comments
2024/12/03
01:25 UTC

3

QFieldcloud geoPackage best practise

Is it better to separate the layers that update frequently with those that don’t into separate geoPackages? I’m assuming this saves on syncing times, and in QField when the user clicks sync project it only downloads the geoPackage that has changed? This is more from an end users perspective than qgis/QField cloud plugin.

1 Comment
2024/12/02
23:28 UTC

1

CRS transformations creating shifts / skewed shapefiles when viewing and reprojecting data

Hi everyone,

Not new to QGIS, but I have no formal GIS education or training, I'm mainly self-taught with some help from colleagues and learning via QGIS documentation / YouTube / Reddit. I am having a strange issue with CRS transformations that appear to be limited to the install on my windows machine. I currently use QGIS on both mac and PC and also use ESRI ArcGIS Pro a bit to double check workflows are functioning correctly etc.

I have shapefile data that comes in in WGS84 (EPSG:4326) and in NAD83(CSRS) v7 UTM 11N and ultimately need to deliver shapefiles in BC Albers (EPSG:3005). My typical workflow is to reproject the WGS84 data into UTM11, work on my projects in UTM11, then reproject the deliverable shapefile into BC Albers at the end. When I perform these reprojections in QGIS I always keep the original shapefiles in the project so I can double check to make sure the shapefiles match up correctly (I usually keep reproject on the fly on).

My issue is that in the QGIS project it appears as if everything matches up. Recently I checked some of these Shapefiles on another machine running QGIS and the WGS84, UTM11, and BC Albers Shapefiles do not match up. They are all slightly shifted. The UTM11 Shapefile is shifted approx 14 cm at 269°, and the BC Albers Shapefile deliverable is shifted approx 71 cm at 73° from the UTM Shapefile (I am doing these checks with point data to keep things simple for the time being).

If I perform the same operation with ESRI ArcGIS Pro or with QGIS on another machine running QGIS, I do not run into this issue, which makes me think that there is something wrong with the UTM11 CRS Projection Transformation calculation on this particular install. I tried uninstalling and reinstalling QGIS, but it appears that there must be some files that are not deleted when uninstalling QGIS.

Does anyone know what I am doing wrong and/or have any insight into how I can fix it? I can use ESRI as a temporary workflow to reproject data when needed, but my typical workflow is 99.9% in QGIS and jumping from one to another is inconvenient.

6 Comments
2024/12/02
16:34 UTC

3

QGIS server publishing workflow

In my local QGIS project "desktop.qgz", I have imported a lot of layers. From these, I want to publish 3 layers using QGIS server. To test the server part, a demo project was setup and published and everything works as expected so far, including layer imports by an external entity.

Problems that occurred:

  1. The local project becomes to big to be efficient on the server, since it contains all customizations and way more layers than needed.
  2. In the project properties you are allowed to exclude layers (black listing), but no way for include layers (white listing). From a security stand point, this seems bad, since if you create a new layer, it will get auto published on the next sync to the server.

The only practical method I came up with, is the following workflow:

  1. Create a new, empty QGIS project called "public.qgs" and setup all the properties. Skip if project exist.
  2. Export a "QGIS Layer Definition file" for each layer ready for publishing as a sidecar file to the layer data.
  3. Import/Replace the "QGIS Layer Definition file" in to the "public.qgs", which preserves the formatting and automatically includes the layer data itself.
  4. Publish all the data to the server, excluding the "desktop.qgz" file with a local script.

Any suggestions on that workflow? How does your workflow look like?

1 Comment
2024/12/02
11:58 UTC

2

How do I show elevation data in 3D, and/or export as 3D shp file

I would like to see this shp file in 3D, the elevation data appears to be there as shown in image, but its just flat vector lines. I'm new to GIS. I ultimately want to import this in to Blender with add-on called BlenderGIS, but it is only rendering it flat too. And help would be great to be able to get the shape file into a 3D format, even if it was with other tools. Thanks

Here is the zip with all files
https://drive.google.com/file/d/1bW6yVgyMS2DOaJnbS-PgbGXw7XcyDu7O/view?usp=sharing

15 Comments
2024/12/02
06:09 UTC

1

LAStools won't give an output no mater wich program I use.

(I'm a student and english is not my first language so pardon if you don't undertsand somethig) I have downloaded Qgis version 3.34.12 , whenever I try to use any program of LAStools the log file says "the system can't find the specified file route". I know that aparently I should avoid spaces on folder and file names so is not that and I unpacked the LAStools files on C:\LAStools so is not that either, I can't seem to find whats the problem , can someone help ?

4 Comments
2024/12/01
20:31 UTC

6

How to Generate Contour Lines with QGIS – Step-by-Step Guide

Creating contour lines is a common task, and QGIS, a powerful open-source software, makes it easy to achieve.

Steps:

  1. Add a DEM File: Load your DEM TIFF into QGIS using the Add Raster Layer option.
  2. Generate Contour Lines: Navigate to Raster > Extraction > Contour, set the interval to 100, and specify an output file.
  3. Label Contours: Configure the layer’s properties to label contour lines with their elevation values for better clarity.

QGIS simplifies the process, enabling users to produce accurate and visually informative contour maps without the need for costly tools.

How to Generate Contour Lines with QGIS – Step-by-Step Guide

3 Comments
2024/12/01
09:17 UTC

1

Error when processing lidar data

I keep running into an error when trying to process large lidar data sets, it looks like this. Any suggestions for fixing this error? I have tried running it multiple times and restarting QGIS.

https://preview.redd.it/xeabbd4fc34e1.png?width=472&format=png&auto=webp&s=2a6ff8c3d3087a5b3dac1f23af53cb6e9e06e9e7

2 Comments
2024/12/01
00:46 UTC

1

How to combine map/layers

I have an exercise. Having made three separate Maps of an area, and now I just need to combine the three in a fourth.

How do I go about doing that? While retaining my layers?

11 Comments
2024/11/30
19:41 UTC

2

Help! New to QGIS

Hello, I have never used QGIS or any geographic information software before. I am doing a little research into populations across Canada and wasn't able to figure it out so I am here asking if anyone would be able to provide some assistance? I am completely new to this.

Basically, I want to see Google maps with the Canadian census forward sortation area boundaries projected onto it. I was able to download the cartographic boundary files as shapefiles from statistics Canada (https://www12.statcan.gc.ca/census-recensement/2021/geo/sip-pis/boundary-limites/index2021-eng.cfm?year=21) and I'm able to open this file in QGIS. I also have Google maps on QGIS which I obtained from the plugin QuickMap services. I was able to have both layers open at the same time but I run into the issue of having the shapefile be opaque at the top layer. Is there a way for me to only show the boundary lines (without the grey background) on top of the Google maps? Or is there a better way to view this shapefile outside of QGIS?

Please and thank you!

https://preview.redd.it/2owjbm9d534e1.jpg?width=1167&format=pjpg&auto=webp&s=b24c9aa8f7457e41e080fcb6718f3d3522ac866d

3 Comments
2024/11/30
18:52 UTC

2

Suitability Map Process

Hi guys, I have a project, and it would be really helpful if you could help me. I just want to know if I’m doing it right.
I am creating a suitability map for a Material Recovery Facility (MRF). Here are my parameters: elevation, land cover, water bodies, and road network.
Here’s where I gathered the data:

  • Elevation: I downloaded it from OpenTopography in QGIS (STRM 30).
  • Land cover: I got it from ESRI ArcGIS Online, and I inserted it into my QGIS (10m).
  • Water bodies: It’s already included in the land cover data.
  • Road network: I used QuickOSM.

What I’ve done so far is resample the elevation by copying the resolution of land cover.
What I’m planning to do is reclassify the elevation for flood-prone areas based on elevation. For the land cover, I will extract water bodies and reclassify them as "no-go" areas. For the built-up areas, forests, etc., I will assign weights. For the road network, I will buffer it and also assign weights. Then, I will use the Weighted Overlay. The problem is that I don’t have weights, and I will just base them on rrl. Could you suggest how I can overlay this for my suitability map? What do you think of my process? I feel like I’m doing it wrong. Please suggest any improvements. Thank you!

2 Comments
2024/11/29
15:44 UTC

1

Field Calc Not Working

Hi,

I am trying to use the field calc to change a field from text+numbers, into pure numbers, but the field calculator isnt playing ball.

I can open it but then it doesnt allow me to do anything (e.g. update existing field, change output field length, etc.):

https://preview.redd.it/gysylw12up3e1.png?width=1916&format=png&auto=webp&s=c02c36985941d3a1e4e3aa13962c458a7ea845dd

I'd really appreciate some advice on this.

12 Comments
2024/11/28
22:07 UTC

1

Historical imagery

Is there a way to get Historical images from Google Earth Pro into Qgis?, im trying to get high quality images of some places but the Google Earth Pro "download image" option does not support high quality images.

6 Comments
2024/11/28
18:50 UTC

Back To Top