Tell me more ×
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'm having a hard time getting off the ground with this, and am trying to move away from ArcGIS / arcpy.

I have a shapefile with a network of polylines. I want to find/count all 2-way intersections, 3-way intersections, 4-way, etc. This would involve, I think:

  • splitting all lines at intersections

  • deleting identical segments (with some spatial tolerance)

  • create points at the end of each new line segment

  • buffer the line ends, and count the number of points near/at each line end

I would like to do this in a python script. Is this overall plan easily implementable in pyQGIS? An outline of the calls I would be using would be very helpful.

share|improve this question
Taking the first part, if it's of any help GRASS v.clean break (in the Sextante toolbox) will split polylines at line intersections, into new polylines. N. – nhopton Aug 14 '12 at 9:43

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.