TransWikia.com

Creating wedge buffers from many to one in QGIS

Geographic Information Systems Asked by Rii Pii on January 18, 2021

I have two point layers. One point layer has many random points which are start points. The second point layer has only one point which is the endpoint.

I want to create wedge buffers from the start points layer to the endpoint layer.

Something like this:
enter image description here

All buffers have same parameters only angle degree is different

One Answer

  • Open "Create Wedge Buffer" tool. Select the layer containing the start points as input layer.

  • Click "Data defined override" option (enter image description here) near the "Azimuth" and select "Edit.."

  • Use this expression: ('end': the layer name of the end point)

    degrees( azimuth( $geometry, geometry( get_feature_by_id( 'end', 1 ))))
    

enter image description here

Correct answer by Kadir Şahbaz on January 18, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP