Select to view content in your preferred language

Identify lines in a raster layer

548
1
01-25-2022 05:14 AM
Labels (1)
OrRubinstein
Occasional Contributor

I have a land cover raster layer, and i want to idenify linear occurrences in the layer and convert them to line or polyline features.

I tried to use "Rsater to Polyline" tool, but the output wasnt usefull.

I want to achive something like this:

 

image.png

 

Is there a tool or algorithm that I can use for this?

Thanks!

0 Kudos
1 Reply
DanPatterson
MVP Esteemed Contributor

Region group and Nibble come to mind.

Region Group (Spatial Analyst)—ArcGIS Pro | Documentation

Nibble (Spatial Analyst)—ArcGIS Pro | Documentation

Nibble allows you get rid of those speckles or small separated but aggregated areas

A neighborhood filter can also remove some small speckles but you have to be careful of the neighborhood size given the thinness of your roads

Regiongroup to form identified continous zones of cells of a particular value or values


... sort of retired...
0 Kudos