translate pgons to linestrings