extract level lines as polygon paths