1

I have a point layer with the CRS WGS84, and if I put in other CRS, my points move to another world side. So, how could I do the buffer?

enter image description here

Kadir Şahbaz
  • 76,800
  • 56
  • 247
  • 389
  • 6
    It looks like you are buffering the points by 100000 degrees. Which could explain the weird result.

    What buffer distance do you want? If it’s a measured distance (metres, feet etc.) reproject your points into a projection system in the same units. The buffer should then work as intended.

    – Keagan Allan Mar 17 '22 at 07:26
  • 5
    I suppose that comma acts as a decimal separator with users locale settings and buffer is only 10 degrees. It still corresponds roughly to 1200 kilometers that is probably more than expected. – user30184 Mar 17 '22 at 07:50
  • 1
    I think that you have to reproject your Layer to a projected coordinate system, like UTM, so you can have the distances im meters or feets. Changing it will make the buffer have a right result. – Paulo Martinho Mar 17 '22 at 14:22

1 Answers1

1

You have at least two options:

  1. Reproject you layer to CRS suitable for measuring distances like UTM as proposed in the comments you got. Be aware not to change (set) CRS, but to really reproject (see here for details).

  2. Create a buffer using QGIS expressions with Geometry generator or Geometry by expression (see here for details and the differences between these options). Use this expression make replacements as indicated:

    transform (
        buffer (
            transform (
                $geometry, 
                'EPSG:4326',
                'EPSG:2056' --replace 2056 with an appropriate CRS for your case
            ),
            2000 -- replace 2000 with the buffer-distance you like
        ),
        'EPSG:2056', --replace 2056 with an appropriate CRS for your case
        'EPSG:4326'
    )

Babel
  • 71,072
  • 14
  • 78
  • 208