What does あったりと mean?


> 僕の住まう差大角豆(ささげ)町の町並みは都会とは程遠く、木々が街道を飾り、町の至る所に雑木林があったりと、とても長閑(のどか)な町だ。

Is the あったりと connected to the last part of the sentence through the 〜たりする
grammar? If so, what does "と" mean in "あったりと"?

I know that in 〜たりする its last use can omit the する, but since in this case the
sentence ends with だ, is it the same thing? I mean, is it possible to use this
grammar with the last part of the sentence being です or だ (which in this case
the する **has** to be omitted)?




This と is a kind of "listing" particle. Please see [Function of と when used
with 続く](https://japanese.stackexchange.com/q/68125/5010) for similar
examples. In this sentence, it is marking two reasons/examples regarding the
statement 長閑な町だ (ie, "There are 木々 and there are 雑木林, so this is a 長閑な
town.").

Sometimes a writer uses only one たり even when two items are explicitly
present. (I personally dislike it, though.) Here, the "list" consists of
木々が街道を飾る and 雑木林がある. This sentence could have written like this:

> 木々が街道を飾ってい **たり** 、町の至る所に雑木林があっ **たり** と、とても長閑な町だ。




This と is a kind of "listing" particle. Please see [Function of と when used
with 続く](https://japanese.stackexchange.com/q/68125/5010) for similar
examples. In this sentence, it is marking two reasons/examples regarding the
statement 長閑な町だ (ie, "There are 木々 and there are 雑木林, so this is a 長閑な
town.").

Sometimes a writer uses only one たり even when two items are explicitly
present. (I personally dislike it, though.) Here, the "list" consists of
木々が街道を飾る and 雑木林がある. This sentence could have written like this:

> 木々が街道を飾ってい **たり** 、町の至る所に雑木林があっ **たり** と、とても長閑な町だ。

