printing coords for polyline to console to test what is wrong