Represents a group of line strings (see LineString).
Creates a new multi line string from sequences of points : (((x,y)...(x,y)),((x,y)...(x,y)))
# File lib/geo_ruby/simple_features/multi_line_string.rb, line 32 def self.from_coordinates(point_sequences,srid=DEFAULT_SRID,with_z=false,with_m=false) multi_line_string = new(srid,with_z,with_m) multi_line_string.concat(point_sequences.collect {|points| LineString.from_coordinates(points,srid,with_z,with_m) }) multi_line_string end
Creates a new multi line string from an array of line strings
# File lib/geo_ruby/simple_features/multi_line_string.rb, line 25 def self.from_line_strings(line_strings,srid=DEFAULT_SRID,with_z=false,with_m=false) multi_line_string = new(srid,with_z,with_m) multi_line_string.concat(line_strings) multi_line_string end
Generated with the Darkfish Rdoc Generator 2.