4

I am trying to buffer points then dissolve to a multipart feature for each, but keeping all associated attributes of one of the buffered points (any one). GDAL gives me the following error with GDAL buffer:

Warning 1: Value 234000018 of field LNRFTRD of feature 0 not successfully written. Possibly due to too larger number with respect to field width.

So I tried the native QGIS buffer, then dissolved the buffers; however, it made all buffers a single feature. I would like the attributes from one of the buffered points associated with each new dissolved feature.

Native QGIS buffer tool enter image description here

3
  • 1
    Which ones attributes do you want to keep?
    – Bera
    Commented Jun 28, 2021 at 16:50
  • I would like to keep all the attributes from either one of the points that was buffered in the new dissolved buffer. I believe I want each dissolved buffer to be a feature.
    – MJM
    Commented Jun 28, 2021 at 16:58
  • Show your GDAL command. The error is probably possible to avoid for the outputformat that you used. And some other format could work without anything special. I would have a try with GeoPackage.
    – user30184
    Commented Jun 28, 2021 at 17:06

1 Answer 1

4
  1. Buffer
  2. Dissolve
  3. Multipart to singleparts
  4. Refactor fields to drop all fields (load the fields from template input point layer, then delete all)
  5. Join attributes by location to join point data to the buffers (Take attributes from the first matching feature only ...) enter image description here
2
  • 1
    This is the answer to my question. One last question: How do you use refactor in the graphical modeler for this case?
    – MJM
    Commented Jun 28, 2021 at 21:44
  • 1
    Nice! In refactor fields "Load fields from template layer" then in "Fields mapping" select all fields and "Delete selected fields"
    – Bera
    Commented Jun 29, 2021 at 5:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.