TransWikia.com

How to keep an edited layer edited in graphical modeller QGIS?

Geographic Information Systems Asked by Tim56 on December 7, 2020

I’m new to the graphical modeller of QGIS, and was wondering how to keep a line shapefile which has been edited and some of its parts deleted?
For example, I have a country polygon that I have changed into lines using the vector > geometry tools > polygons to lines. The country investigated being a coastal country, I edited the line layer, split it, keeping only the coast line.

enter image description here

Then I use the SAGA tool to convert lines to points. However, when running the model from the beginning, it will transform all the lines into points, including the ones I don’t need. Is there a way to keep the newly edited line layer in the model and then run the lines to points tool on it?

One Answer

I managed to figure out something very basic. I followed the process set in my model, then, once the line layer is generated, toggle editing mode, carry on with the split features tool, delete the unneeded parts and save your line layer under a specific name (MOZ_Coastline here). Then, in the model, use the newly saved line layer (yellow box) as a a basis for the lines to points tool:

enter image description here

When running the model, the wizard will ask you what layer to chose for the lines to point conversion: select the edited layer. Select corresponding parent algorithms beforehand so that the process of line to points creation is done at the end. enter image description here

Answered by Tim56 on December 7, 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