Writer: added tag-based heuristic for polygons (not just matching start/end node in way)