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.

I have a set of features of type linestring. I'm trying to polygonise the linestrings and assumed that they were closed (naive me :) ). Of course some were not closed and I'm trying to locate the gaps or the endpoints of the individual linestrings, so I can close them manually.

Question:
How can I locate the gap in or endpoints of an open linestring?

Available software: QGIS, FME, OpenJump, (ArcMap).

share|improve this question
    
I found that the Sextante toolbox in OpenJump has the Extract endports of lines method. It does the trick, but OpenJump runs out of memory all the time, which is very annoying. I remember something about QGIS having the Sextante toolbox, but I could not find it. –  Chau Feb 6 '13 at 16:03
    
(FME solution) Do you create polygon from one linestring or group of linetrings ? If from one then use Coordinate Extractor from index -1 and 0 then create line from it and pass original and new line to creator, if from group of linestring use linejoiner and use first method to created linestring. –  simplexio Sep 15 '13 at 9:12
add comment

1 Answer

I used the "Multipart to singlepart"-tool and then selected each feature in the attributes table to find the gap.

share|improve this answer
    
I think the OP wants some kind of algorithm (the tags indicate it) and not "how-to" steps –  Curlew Sep 14 '13 at 21:14
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.