Fix ogrlineref projection function