code: public LineStringTo toTransferObject(LineString input) {
          LineStringTo result = new LineStringTo();
          result.setCrs(GeoJsonTo.createCrsTo("EPSG:" + input.getSRID()));
          result.setCoordinates(getPoints(input));
          return result;
      }
docs: Converts a linestring to its corresponding Transfer Object
  
  @param input the linestring object to convert
  @return the transfer object for the linestring