Clip a polygon part from map with a boundary polygon and adjust intersected polygons from boundary
I want to extract (clip) a part of the map with a predefined boundary polygon. I have seen that I can do it with **osmosis** or **osmconvert**. But I get the problem, that polygons that intersects the predefined boundary polygon are no more polygons but only lines (because the polygon gets cropped). How can I automatically adjust intersected polygons to the boundary polygon?