GeoScript

Previous topic

MultiPoint

Next topic

MultiPolygon

This Page

MultiLineString

class geoscript.geom.MultiLineString

A MultiLineString geometry.

linestrings is a variable number of lists of list/tuple arugments.

>>> MultiLineString([[1,2],[3,4]], [[5,6],[7,8]])
MULTILINESTRING ((1 2, 3 4), (5 6, 7 8))

linestrings may also be specified as multiple LineString arguments.

>>> MultiLineString(LineString([1,2],[3,4]), LineString([5,6],[7,8]))
MULTILINESTRING ((1 2, 3 4), (5 6, 7 8))