Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have the raster below which I want to convert to a set of vector lines: Raster Lines

As you can see, there are small breaks in the lines and some bits are double-width. I want to be able to reliably import these sort of images to a vector in ArcGIS.

I've spent a lot of time trying to get tools like Integrate, Extend Lines, Trim Lines and Unsplit Lines to do what I want, but I just can't seem to achieve it. I guess this problem must have been experienced before, does anyone have any ideas for a workflow that would do what I want?

I thought of maybe trying to clean up the raster before-hand, but I'm not sure how to go about that. Again, any ideas would be much appreciated.

share|improve this question

1 Answer 1

Scan2cad has a free set of Image cleanup tools. You can dilate the Pixels to close the gaps, then thin the pixels. Despeckle,etc.

Bring the image into ArcGIS, raster to polyline.

To find the remaining gaps, save the line end-points as points (feature vertices to points). Run Near, setting a max search distance. Arc 10 has more advanced snapping tools. You can use your points file that have another end point within a distance to select your lines for snapping.

I cannot find an ESRI tool that creates polylines from points. You might be able to adapt this,

share|improve this answer
Thanks - some really good ideas there. Do you have a link to the free image cleanup tools from Scan2Cad? I can't seem to find them on their website. – robintw Jan 20 '11 at 23:51
The cleanup tools are part of the regular software. Download the Trial version. The image tools never time-out. Good luck. – klewis Jan 21 '11 at 0:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.