/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

25,873 Subscribers

2

Help with geolocation

Attempting to take a PDF plan sheet and correlate it with CAD data that I have so I can lay it underneath the cad date in a Leica rover system to layout construction work. All that I have read the only way to do this is with a GIS program and I can’t get the georeferencer tool to work I can’t seems to even find my Coordinate system which is EPSG 2278 NAD83 Texas south

Willing to pay for this service is someone does it.

2 Comments
2024/11/04
04:16 UTC

1

WMS links not working

Using QGIS 3.38. All my WMS links have come up with the below error. I assume that it must be something regarding connecting to the internet but don't know how to rectify it. Has anyone experienced this and know how to fix it? Thanks in advance.

https://preview.redd.it/hz5phjjrssyd1.png?width=521&format=png&auto=webp&s=66c224611d8e282d4f359085aa7ee4937b21c836

1 Comment
2024/11/04
02:56 UTC

2

Can't save tables into geopackage

disclaimer: my qgis is not installed in English (it's not my first language as you'll notice) so I might mispell some things since I'm not sure of the exact words the programme uses.

i'm making a database and I need a few tables in order to get the desired results. But for some reason, I can't save table layers on said database. I've tried:

-creating a layer with no geometry (and its fields etc) directly on qgis and exporting it into the database

-creating a table directly from the database manager>tables>create table

-creating a layer in qgis, saving it as an excel file, and importing said excel as a layer on the database

i'm confused, everything is very strange: in every attempt, the table was supposedly created succesfuly, with no apparent problems, i've tried variating the primary key field just in case but that doesn't seem to be the problem.

no matter how many times i refresh the database manager, reconnect the database or reload qgis, the layers don't show, and they don't exist if i try to make an SQL query.

HOWEVER, on the Navigation panel of the QGIS layaut, THEY DO SHOW. the problem? an error message appears when I try to see the table fields directly from the navigation panel. but...if i double click the table, the properties window pops and everything seems correct. same when i check the attribute table, everything seems fine, i can even edit them.

wtf is happening????

i'm using ver 3.38 and i tried loading the project on 3.34 in case it was an update problem but nothing changed.

edit: i've also tried to delete all the tables i've created but there's an error when doing that, too... ?????

0 Comments
2024/11/03
18:26 UTC

2

Help with warping/reprojecting png

All I want to use QGIS to do is to convert my equirectangular .png map of the whole earth to a mercator projection map. However if I import my png as a raster layer then apply the EPSG:4326 CRS on the layer, then go into warp/reproject, set source CRS to EPSG:4326 and target CRS to EPSG:3395 then hit run it gives this error:
ERROR 1: Unable to compute a transformation between pixel/line and georeferenced coordinates for D:\DevProjects\qgisbtrash\rawheightmap10k.png. There is no affine transformation and no GCPs. Specify transformation option SRC_METHOD=NO_GEOTRANSFORM to bypass this check.

Process returned error code 1

ok I figure I have to configure this optionSRC_METHOD=NO_GEOTRANSFORM
if I go into advanced parameters there are options I can configure, you have to provide a name and a value for the option, ok perfect I put SRC_METHOD as name and NO_GEOTRANSFORM as value, but that doesn't work, and when you validate it shows that this is not valid, ok well I'll press help, it shows all available creation options but SRC_METHOD isn't there, now I'm at a loss.

How do I fix this? To be clear all I want to do is to go from my .png file which is a map of the whole earth using equirectangular projection, reproject it to mercator projection and return a .png file.

Thank you very much for your time.

3 Comments
2024/11/02
15:39 UTC

2

Problem with QGIS viewshed analysis

Hi, I’m new to QGIS, but I’m trying to make a visibility analysis/Viewshed analysis with the plugin for it. I’ve followed the instruction in a tutorial, but when I try to run the analysis it won’t work, and I get the following message:

Traceback (most recent call last): File "C:\Users/user.xxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ViewshedAnalysis\algorithms\viewshed_raster.py", line 200, in processAlgorithm dem = rst.Raster(raster_path, output=output_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/user.xxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ViewshedAnalysis\algorithms\modules\Raster.py", line 55, in init self.crs = crs if crs else gdal_raster.GetProjection() ^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'GetProjection' Execution failed after 0.04 sekunder

Does anyone know what could be the problem?

Thanks!

Edit: the error couldn’t be pasted here, i shared the image in one of the comments

5 Comments
2024/11/02
15:36 UTC

2

quickosm query inside custom layer

I'm trying to use quickosm inside merged layers.

Firstly, I perform OSM place searches and then merge these layers, which is how I get my 'custom' layers.

Then I want to perform a quickosm query inside these custom layers.

However, It seems that everything I try it continously queries inside the bbox. Even when I use a query that does work in Overpass, it still queries inside the bbox.

Is there a possibility to only query inside merged layers? Performing multiple queries on the different OSM place searches is not preferable.

In the end I want to have a map of multiple custom regions and then OSM tags categorized per region.

0 Comments
2024/11/02
11:16 UTC

1

Ideas for research problem

Any suggestions about topic in research, using QGIS? I'm 4th year Geomatics Engineering student.

0 Comments
2024/11/02
06:06 UTC

0

¿Importar valores de múltiples elementos de una capa a otra?

Estimados, soy bastante principiante en QGIS, seguramente esta consulta ya haya sido resuelta, pero ni siquiera soy capaz de encontrar un término de búsqueda apropiado.

Mi situación es la siguiente:

Tengo dos archivos GeoPackage, con -entre otros- los siguientes campos:

1 - Parcelas

* superficie_edificaciones

Los elementos de esta capa, tienen una gran extensión

2 - Edificaciones

* superficie_m2

Los elementos de esta capa están contenidos espacialmente dentro de los elementos de la capa anterior. Quiero que en el campo "superficie_edificaciones" del archivo "Parcelas" se calcule automáticamente la sumatoria de la superficie total múltiples elementos de la capa "Edificaciones".

Es decir, las parcelas están edificadas, pero quiero conocer los m2 de edificación de cada parcela; ya tengo calculada la superficie en m2 de cada una de las edificaciones, pero quiero conocer la sumatoria de m2 de edificaciones que posee cada parcela.

No sé si me hago explicar, desde ya muchas gracias.

2 Comments
2024/11/01
21:25 UTC

1

Cloud-Native Virtual Conference Nov 13th

If you are interested in or use cloud-native geospatial formats, a virtual event on November 13th is an excellent opportunity to learn more and network with the people involved in these initiatives.

https://cloudnativegeo.org/events/virtual-conference-2024/

0 Comments
2024/11/01
21:06 UTC

3

Fix misalignments between contour polygons

After using the Vector geometry Simplify tool on a layer, which contains many contour polygons features, their alignment to each other is not perfect anymore, I assume because each feature is simplified individually.

I could manually move the vertices using the Vertex tool to fix the tiny gaps, but this would take a lot of time. Is there a tool or approach that could solve this issue automatically? I've played with the Vector Geometry Snap geometries to layer tool, but without success, plus it takes forever to process.

Any help is very much appreciated!

https://preview.redd.it/2z9v2n02ocyd1.png?width=674&format=png&auto=webp&s=39233a760c28f12a443489178c3e16c893019f81

3 Comments
2024/11/01
20:29 UTC

2

Error when clipping a raster by mask layer

I have a large raster of Washington and Oregon state and I am trying to clip it using a shapefile of only one county. I continuously get the same error. I have tried saving it as a temporary file and as a file with a distinct file path but neither have worked. The error I get reads:

GDAL command output:

/Applications/QGIS-LTR 2.app/Contents/MacOS/bin/gdalwarp: line 3: /Applications/QGIS-LTR: No such file or directory

Process returned error code 127

Execution completed in 0.26 seconds

Results:

{'OUTPUT': '/private/var/folders/y_/ys52yf594_x8nvl51kl4gnkm0000gn/T/processing_vpVdVg/32453787cce6424b9a3343aa11ecc99e/OUTPUT.tif'}

Loading resulting layers

The following layers were not correctly generated.

• /private/var/folders/y_/ys52yf594_x8nvl51kl4gnkm0000gn/T/processing_vpVdVg/32453787cce6424b9a3343aa11ecc99e/OUTPUT.tif

You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.

5 Comments
2024/11/01
19:28 UTC

1

Divide complex shapefiles into equal-sized smaller shapefiles

I am a drone pilot for a land survey company, and I plan my flights with KMLs. I draw the extents into Google Earth Pro, export them as a KML, and then import the KML to the planning software. We have recently been given large, weirdly shaped sites that cannot be fully collected in a single flight. I have been dividing the full flight extents kml into smaller, more manageable pieces that are approximately the same size. However, doing this by hand is time consuming and often inaccurate. After I create the smaller extents, I bring the kml into QGIS to convert it into a shapefile, which will be useful in processing the data.

How can I divide complex shapefiles into complex, equal-sized smaller shapefiles? My goal is to upload a shapefile, enter parameters on the desired size of the divided shapefiles, and receive smaller shapefiles that are approximately the same size. I have tried using the "Create Grid" tool (Vector->Research Tools->Create Grid), but it does not create complex polygons, only squares.

I have included an example in the attached images. I need to fly a long roadway corridor. The first image is the full site, and the second image shows how I manually divided the site. I would like a tool that could give me the shapefiles in the second image.

4 Comments
2024/11/01
17:32 UTC

6

Help with Rotating SVG Marker Perpendicular to Line Layer in QGIS

I'm working with QGIS and need assistance with rotating an SVG marker on a point layer (representing bridges) to be perpendicular to a line layer (representing a river).

Question:

What is the best approach to determine the angle needed to rotate an SVG marker so that it aligns perpendicular to the nearest point on the river line?

I had an idea to calculate the directional angle of the river and then add 90 degrees to achieve this, but I'm unsure how to write that expression in QGIS.

Additionally, I cannot add any new fields to the attribute table, so any solutions should work without modifying the existing data structure.

If anyone has tips on using QGIS expressions or specific functions to achieve this, I would greatly appreciate your help!

5 Comments
2024/11/01
13:35 UTC

4

For Capstone: Make a mobile GeoCam app, integrating QField in it

Hello, I am an IT student doing our capstone project. Our project is basically GIS + GeoCam with AI auto image description capabilities. I chose QGIS because it's apparently free, and it's very nice that it has QField mobile app for it.

We just started and I have totally no knowledge of QGIS, just few YT vids. I have seen a walkthrough of QField in YT and it's very technical. Our target users for the supposed GeoCam are just (3rd world country) farmers with very limited technical knowledge. Hence, the very technical QField app just won't do. We have to make a different app with very simple UI/UX so non technical users can still use it, while integrating QField features of being able to communicate with the main QGIS.

(Additionally; can I make make a different pc app/web app, or customize QGIS so that it would have a more simple UI/UX & limit functions to only what I would need??)

2 Comments
2024/11/01
08:51 UTC

2

Error 403 when trying to geocode a .csv file using MMQGIS

Hi there, I'm not sure what's going on, but has anyone encountered this error? This is not a complicated task, it has worked before without issues, and I followed the basic tutorials...

My CSV contains addresses, city, province and country, which are all found automatically by the plug-in. When I execute the request, I receive the following error message : "Failure connecting to API: HTTP Error 403: Forbidden".

To my knowledge, MMQGIS does not require an API.

Thanks for the help.

6 Comments
2024/10/31
18:12 UTC

2

QGIS created shapefile not displaying in Arcgis Pro

I created a shapefile from a kml/kmz in QGIS to preserve some of the "attributes" in the kml/kmz but when I open that shapefile in Arcgis Pro it just displays gray lines. Does anyone have any idea why this would be, I've tried changing the symbology but it doesn't display the changes on the map. It does not do this when I open the shapefile in QGIS.

Processing img kgvo2ewk64yd1...

4 Comments
2024/10/31
15:57 UTC

1

Looking for feedback on my map before I move to the layout stage

3 Comments
2024/10/31
10:17 UTC

1

Hi guys, I've encountered a problem with the shapefile below and need solution

Hi guys, I was tasked with flood evacuation plan and got this land use shapefile but as can be seen below, the polygon does not align properly and I need help realign them, any assistance is greatly appreciated, thanks!

https://preview.redd.it/ubnkjz5hi1yd1.png?width=1920&format=png&auto=webp&s=a2f20d8d66afb6e9eac220b567cfa9f6a32a3f62

3 Comments
2024/10/31
06:58 UTC

1

How to create new polygons using old polygons borders

Hellow Im trying to make a map and use the already mapped polygons borders to set the new polygons borders but the new polygons I create keeps overlapping over old polygons. Is there any feature that helps creating new polygons from old ones shapes automatically?

3 Comments
2024/10/31
04:52 UTC

4

Newly Created Layer Not Showing Up

At my wit's end and can't find anything on google. I had a shapefile of every county in the United States. I then overlayed a US Water shapefile and then ran symmetrical difference, essentially clipping the county shapefile to the waters of the United States. I saved this temporary layer as a shapefile. But now when I try to open it in a new project, it's completely invisible if I've opened OSM first. I think this is a CRS problem but I have no idea why it's not showing up. I've tried changing the layer CRS, re-exporting the temporary layer, etc. Nothing works. Any help is greatly appreciated.

1 Comment
2024/10/31
00:23 UTC

5

QGIS tutor

I had to miss most of my QGIS online class when I went out of the country for my father in-law’s funeral. I have a few assignments to finish up and am looking for a tutor to walk me through the steps needed to complete these basic assignments. I won’t need much of your time, but I can compensate you for a few hours of your time. The online tutorials and videos aren’t helping me do what I need to do and I am running out of time to complete the assignments.

4 Comments
2024/10/30
23:54 UTC

1

How to import '.net' and '.wmf' files into QEPANET

I have .wmf and .net files from a client. They built a model using EPANET, and I want to import it into QEPANET on my mac. I can't seem to import these files, can anyone help?

0 Comments
2024/10/30
20:35 UTC

1

Tips to represent AQI data

I'm currently working on a project, where I need to represent AQI data and other air quality parameters pre and post pandemic.I've been using IDW interpolation for the same, but I'm having some issues as interpolation isn't working properly when I change the range to my own accord. Any suggestions what I should do? what plugin should I be using? I need to compare the data as well so I need to keep the range same. Any suggestions are much appreciated.

0 Comments
2024/10/30
15:18 UTC

4

High resolution export from qgis?

Hi everyone,

I’ve been working on my university project in QGIS for a while and need help exporting it in high resolution so I can continue editing in programs like Photoshop or InDesign.

The map covers an entire town at approximately a 1:50,000 scale. Whenever I zoom in on the overlay, the polygons appear blurry and distorted. Any advice on how to improve the export quality?

Picture 1: The zoomed in map in overlay - the buildings (black polygons) are blurry and blobby hard to read

Picture 2: The project in QGIS itself, polygons are sharp and accurate

https://preview.redd.it/ukd6gktdyrxd1.png?width=1427&format=png&auto=webp&s=d0a5effe904d46107068255b85020895f46c3ab6

https://preview.redd.it/b34xnktdyrxd1.jpg?width=1208&format=pjpg&auto=webp&s=21c0b24fba7f26b031c1f9bdbde850d739065a6a

1 Comment
2024/10/29
22:51 UTC

1

Save ECW files

Hi everyone, I would like to know how can I export a layer to an ECW file. I've been searching information and It looks like I must have an authorization from a private company. Thanks!

4 Comments
2024/10/29
16:27 UTC

2

Problem with overlay of data on background map

Hi there. I have imported soil moisture data from a German weather service (DWD, https://opendata.dwd.de/climate_environment/CDC/grids_germany/monthly/soil_moist/) into QGIS and want to overlay it with a German county layer to extract the values only from the selected areas. The problem is that when I check the soil moisture data with the background map, i.e. Google Maps or any other, it does not overlay Germany as it should. I have tried to solve this by changing the EPSG of the layers and using a different background map, but no success. Any advice would be appreciated. Thanks!

2 Comments
2024/10/29
16:15 UTC

Back To Top