def line_string(*points)
  if points.one? and String === points.first
    geometry("LINESTRING(#{points.join(",")})")
  else
    GeoRuby::SimpleFeatures::LineString.from_points(points, points.first.srid)