lib/turf/helpers.rb
# Creates a Feature<MultiLineString> based on a coordinate array. Properties can be added optionally.
# @see https://turfjs.org/docs/#multiLineString
# @param coordinates [Array<Array<Array<number>>>] coordinates an array of LineStrings
# @param properties [Hash] a Hash of key-value pairs to add as properties
# @param bbox [Array<number>] Bounding Box Array [west, south, east, north] associated with the Feature
# @param id [string|number] Identifier associated with the Feature
# @return [Feature<MultiLineString>] a MultiLineString feature
Creates a Feature based on a coordinate array. Properties can be added optionally.
Creates a Feature based on a coordinate array . Properties can be added optionally .
def multi_line_string(coordinates, properties: {}, bbox: nil, id: nil)
    geom = {
      type: "MultiLineString",
      coordinates: coordinates
    }
    feature(geom, properties: properties, id: id, bbox: bbox)
  end
def multi_line_string ( coordinates , properties : { } , bbox : nil , id : nil ) geom = { type : "MultiLineString" , coordinates : coordinates } feature ( geom , properties : properties , id : id , bbox : bbox ) end
Creates a Feature<MultiLineString> based on a coordinate array.
Creates a Feature<MultiLineString > based on a coordinate array .
a MultiLineString feature
a MultiLineString feature
Feature<MultiLineString>
coordinates
coordinates an array of LineStrings
coordinates an array of LineStrings
properties
a Hash of key-value pairs to add as properties
a Hash of key - value pairs to add as properties
bbox
Bounding Box Array [west, south, east, north] associated with the Feature
Bounding Box Array [ west south east north ] associated with the Feature
id
Identifier associated with the Feature
Identifier associated with the Feature
see
None