Always use WKT for comparision
Revert "Fix linestring"

This reverts commit 8456d683222d27217ef5fb04697e7af215bea296.