dtcc.LineString.from_proto(pb: Geometry | bytes, only_linestring_field=False)[source] Initialize Geometry from a protobuf representation. Parameters:¶ pb : Union[proto.Geometry, bytes]¶The protobuf message or its serialized bytes representation.