i've got a list of lines, and i want to merge these lines into some polygons, can i use union to accomplish the purpose?