All Questions
2 questions
3
votes
1
answer
610
views
Getting the polygons contained in closed MultiLinestring using Python
Given a set of "streets", how can I get the "blocks" contained in those streets?
For example, I'd like to extract four blocks / polygons from this 2 x 2 "checkerboard":
...
2
votes
1
answer
560
views
Converting branched MultiLine into series of single lines in shapely
If I have a MultiLineString representing a branched network with a common starting point (red network in pic below):
Does anyone know how to convert this to a set of individual single-line strings in ...