Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Preferably using QGis I'd like to remove errors from a road network .shp file and was wondering if there was a away to perform a flood fill or traversal on a vector layer to select all connected vertexes from the starting vertex to do basic validation and remove unconnected roads.

Thanks.

share|improve this question
1  
I'm a bit slow in understanding what you mean. Maybe you can include a picture depicting your question/problem. –  Curlew Apr 4 '13 at 10:44
add comment

1 Answer 1

I don't know how to do this in QGIS, but you could use the Sextante-Plugin to do this within GrassGIS.

The command you are searching for is:

v.select [-tcr] ainput=name [atype=string[,string,...]] [alayer=integer] binput=name [btype=string[,string,...]] [blayer=integer] output=name [operator=string] [--overwrite] [--verbose] [--quiet] 

A nice tutorial: Combination of areas with areas

... and the grass manual: v.select

share|improve this answer
add comment

Your Answer

 
discard

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.