Hello. I need to know how to create roads vector center lines from raster. I have used raster classification tool to classify raster and after that reclassify tool to filter the roads from other values. After that I have used "Raster to polyline" tool and checked the Simplify box, but the results are not really good (see attachment). Does anyone know better way to solve my problem?
Thanks in advance
Try Thin in the spatial analyst, before converting to polyline. It isn't going to be perfect. Even converting to multipoint won't help much since that would have to be followed by a spanning tree, which still isn't guaranteed to connect all the segments.
I got this when I have used Thin:
Now when I use Raster to polyline tool the results are great. Now I just need to connect divided lines.
Can you share a screenshot of what you have after applying the tool suggested by Dan?
I also want to connect lines which belongs to roads, because when I have made the raster classification some roads are cuted because of different pixel color that intersect it. How I can connect the roads now?
Thanks a lot! Great!
Can you show a picture of the original raster? The screenshot of the lines look like the outlines of the pixels, but this may be related to your input raster (multiple values for instance).
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.