datacube.utils.geometry.multiline

datacube.utils.geometry.multiline(coords, crs)[source]

Create a 2D MultiLineString (Multiple disconnected sets of lines)

>>> multiline([[(10, 10), (20, 20), (30, 40)], [(50, 60), (70, 80), (90, 99)]], None)
Geometry(MULTILINESTRING ((10 10,20 20,30 40),(50 60,70 80,90 99)), None)
Parameters:coords (list) – list of lists of x,y coordinate tuples
Return type:Geometry