TransWikia.com

Remove vertices coincident with a point layer

Geographic Information Systems Asked by Noe on December 9, 2020

Is there any way to delete vertices from a feature which are coincident with a point layer? I mean in an automatic way.

I have many lines forming a “T shape”, so I would like to remove the middle vertex of the horizontal line so the only vertex there is the first (or last) one from the vertical line. Every line has a different lenght, so it’s not possible to smooth or simplify the feature.

I have to do it with QGIS (but if there is a way with another software, i would also appreciate the answer).

One Answer

How about using Geometry by Expression tool?

An expression like make_line( start_point($geometry), end_point($geometry)) will ignore the middle vertex.

enter image description here

enter image description here

Answered by Kazuhito on December 9, 2020

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