o.c.o.converter: Replicates EDMs behaviour for closed polylines