TransWikia.com

How to convert grid to vector in SAGA?

Geographic Information Systems Asked by Barbora Basslerová on December 17, 2020

I need to convert raster to vector, I have data from a field in two layers. In the first i have DSM (digital surface model) and DTM (digital terain model) in the second layer. Based on difference in those
layers I see areas damaged by animals.

The program I use is SAGA.

The differences are light blue areas in attached images.

How can I convert these areas to vector?

https://i.stack.imgur.com/d46e8.jpg

One Answer

As commented by JonasV, Vectorising Grid Classes is the tool.

Adding to that, you would need to reclassify your grid so that the tool can identify the class to vectorize.


A workflow I would suggest:

Let's say I have a grid which background value is 0 (yellow) and the objects (red~ light blue) are represented by positive value (up to 16.2195).

enter image description here

(1) Start Reclassify Grid Values tool (Geoprocessing > Grid > Values)

Select simple table as the reclassifying method, and set the look-up table. Remember the class number (in my case it is 2) which correspond to the objects' value range.

enter image description here

(2) Start Vectorising Grid Values tool (Geoprocessing > Shapes > Shapes-Grid Tools > Vectorization)

Select one single class specified by class identifier and set class identifier.

enter image description here

(3) You will obtain the polygons (multi-polygons) encompass the designated grid class.

enter image description here

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