The LineString input is not valid because it does not have enough distinct points. A LineString must have at least two distinct ...