How to uv wrap a curve
Convert the Curve to Mesh (Alt+c)

Go to top view uv wrap and press u and select project from view

select one of the road and uv wrap the image of the road

After uvwrap on one of the road press u and with the Magic UV addon press U and select the copy/paste -> Copy uv -> default

The select all press A to select all Faces and deselect the face which is uvwrap and then Press U
copy/paste -> Paste uv -> default

And u have all the texture on the mesh. More than 95% it work well few issue we can set manually