class MultiLineString(dtcc.Geometry)[source]

Public members

calculate_bounds()[source]

Calculate the bounding box of the multi line string.

property length

Calculate the length of the multi line string.

to_shapely()[source]

Convert the MultiLineString to a Shapely MultiLineString.

from_shapely(shape)[source]

Initialize the MultiLineString from a Shapely MultiLineString.

to_proto()[source]

Return a protobuf representation of the MultiSurface.

from_proto(pb: Geometry | bytes)[source]

Initialize Geometry from a protobuf representation.

MultiLineString(...)

Initialize self. See help(type(self)) for accurate signature.

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

view(*args, **kwargs)
linestrings : list[LineString]
property bounds : Bounds
add_field(field: Field)[source]

Add a field to the geometry.

transform : Transform
fields : list[Field]
to_json() str

Return a JSON representation of the object.

copy(**kwargs)

Return a copy of the object.

classmethod add_methods(module, name=None)

Adds methods from a module or function to the class.

classmethod print_methods(verbose=False)

Print the methods that have been added to the class.