code: function(str) {
              var points = OpenLayers.String.trim(str).split(',');
              var components = [];
              for(var i=0, len=points.length; i<len; ++i) {
                  components.push(this.parse.point.apply(this, [points[i]]).geometry);
              }
              return new OpenLayers.Feature.Vector(
                  new OpenLayers.Geometry.LineString(components)
              );
          }
docs: Return a linestring feature given a linestring WKT fragment.
  @param {String} str A WKT fragment representing the linestring
  @returns {OpenLayers.Feature.Vector} A linestring feature
  @private