r/QGIS • • Apr 21 '25

Solved Help!!!

Post image

Hi Ive just started learning about GIS and I’m also a first time QGIS user. Ive been having an issue with the buffering tool. I was having trouble with changing the units but I managed to fix that, but now my buffers are disproportionately large compared to the map I’m using (see below). Please please advise.

3 Upvotes

29 comments sorted by

11

u/No_Professor_5999 Apr 21 '25

This is often caused by using a geographic coordinate system rather than a projected coordinate system.

I see that your layer is using epsg 2048, so it should be using meters. Have you got your project CRS set to 2048 as well?

Do you have any other layers you can turn on to ensure your data is in the correct location/scale?

-2

u/shrexystuff Apr 21 '25

Hi, this is a projected coordinate system. It was the only CRS that allowed me to change the units in the buffering tool. My projects CRS is set to EPSG:2048. All my data was provided to me by my professor, other students have had success with this data, so I dont think theres anything wrong with the data. Its a bit frustrating because this was working in Arcgis but unfortunately I dont have access to arcgis right now.

2

u/No_Professor_5999 Apr 21 '25

Are you sure the rivers layer is actually in 2048 or did you just assign it that crs? You may need to reproject the original layer using the 'repriject layer' tool from the processing toolbox. What format was the rivers layer provided to you in? Shapefile, geopackage, etc?

If shapefile, you can open the .prj file in a text editor to check the crs of the dataset.

Best to check with your professor what the original crs is but failing that, you could try assigning the layer different common crs for your region (including global ones) until it fits the base data. Very cruise and should only be used as a last resort as many crs can be very similar but different enough to introduce errors.

3

u/shrexystuff Apr 21 '25

Okay i figured it out, i reprojected the layer using the 2048 crs. Kept the projects crs as 4148 and it worked !!

1

u/CombinationKindly212 Apr 21 '25

What's the CRS of your data? In case, reproject them to 2048

0

u/shrexystuff Apr 21 '25

Hi, all my layers are set to 2048😭😭 its still not working

1

u/CombinationKindly212 Apr 21 '25

I've nothing else in mind, I'm sorry. Trey to close and reopen or to start all over again

2

u/scan-horizon Apr 21 '25

What buffer distance did you set? And what units? The units will correlate with the projection of the data. So buffering a feature in 4326 by ‘300’ will buffer it by 300 degrees, not meters. For example.

1

u/shrexystuff Apr 21 '25

The buffer distance is 5km, but even when i use meters its stays the same.

1

u/shrexystuff Apr 21 '25

Here are the settings in the buffering tool, maybe Im doing something wrong.

0

u/ThinAndRopey Apr 21 '25

Did you mean the buffer the be 5 million km? Just use 5...

2

u/shrexystuff Apr 21 '25

Hi, i did think this was the issue too but i think its just in decimal form because when I just put 5 in, it automatically changes to 5, 0000…

1

u/VipeholmsCola Apr 21 '25

set to meters and write 5000 for 5km?

1

u/shrexystuff Apr 21 '25

It does the same thing😭

2

u/JasonRDalton Apr 21 '25

There is a lot of good advice in all the comments but you have to be systematic about it.

  1. turn on a base layer like OSM Streets and see if the rivers layer you are using appears in the correct spot.

  2. if the layer you were provided is in geographic coordinates, you have to reproject the layer into a projected coordinates. This is NOT just going to the CRS menu and assigning a different CRS. You should export that layer and set the new projection (2048) in the export dialog box.

  3. check the new layer against the base map and make sure it appears in the right place at the right scale

  4. set the Project CRS to 2048 for convenience so you keep everything (like your new buffer layer) in projected coords.

  5. Now use the buffer tool, make sure you’re buffering the projected layer, set your buffer distance (5k), and save as a new layer in your projected CRS.

This sequence should hopefully work for you. Good luck! If at any step something doesn’t look right against the base map pause and figure out what went wrong.

1

u/shrexystuff Apr 21 '25

Thank you so much!! When I kept the projects CRS as 2048, the buffer didnt even appear but i kept it as 4148 and the reprojection as 2048 the buffer worked perfectly

2

u/kpcnq2 Apr 21 '25

Is that blob in the middle of your points the rivers layer of your map? I noticed the scale is 1:170. If this is true, something is wrong with the projection of that layer. Your view here is zoomed way in. This is the scale I would use to map my back yard.

2

u/ecoMAP Apr 21 '25

Pretty sure the CRS is not EPSG: 2048.

Please have a look at the layer properties of Rivers_WC > Information > Extent. There you find the hardcoded coordinates. Look if they match to other Layers in the same CRS.

Or even better: Just add an wmts-Layer like following to your map. The river should match. If they dont your CRS is wrong

WMTS NatGeo World

WMS/WMTS > Right Click > New Connection

Url from below, And Ok

Double Click to add WMTS Layer

https://services.arcgisonline.com/arcgis/rest/services/NatGeo_World_Map/MapServer/WMTS/1.0.0/WMTSCapabilities.xml

1

u/Ordinary_Fudge7583 Apr 21 '25

the buffer tool usually comes with the option to dissolve alle features buffer into one feature

2

u/[deleted] Apr 21 '25

[removed] — view removed comment

1

u/shrexystuff Apr 21 '25

Ooh, I learnt this from Hal Hart. It made my layer even smaller compared to the buffer. I’ve noticed when I stuck to local CRS, the map is a little bigger in the big buffer circle

1

u/[deleted] Apr 21 '25

[removed] — view removed comment

1

u/shrexystuff Apr 21 '25

I did 😭

1

u/[deleted] Apr 21 '25

[removed] — view removed comment

1

u/shrexystuff Apr 21 '25

Okay so i just tried projecting after downloading the original data, and it still didnt work😭 also the base map was provided with the river data, should i still download the plugin? I also got you the info for the river layer

1

u/shrexystuff Apr 21 '25

Also i think its worth mentioning that my friend did the exact same thing with the same data but the buffering tool worked for her. Could it maybe be a bug in the version of qgis that I’m using?

1

u/[deleted] Apr 21 '25

[removed] — view removed comment

1

u/shrexystuff Apr 21 '25

Okay i figured it out, i reprojected the layer using the 2048 crs. Kept the projects crs as 4148 and it worked !! When i used 2048 for the project the buffer didnt appear. But its working now! Thanks for all the help!