class GeoJSON::MultiLineString

Overview

A MultiLineString is a Geometry representing several LineStrings.

This class corresponds to the GeoJSON MultiLineString.

Included Modules

Defined in:

geojson/geometry/multi_line_string.cr

Constructors

Instance Method Summary

Instance methods inherited from module GeoJSON::MultiGeometry(GeoJSON::LineString, GeoJSON::Coordinates::LineStringCoordinates)

[](index : Int) [], coordinates : Array(E) coordinates

Constructor methods inherited from module GeoJSON::MultiGeometry(GeoJSON::LineString, GeoJSON::Coordinates::LineStringCoordinates)

new(coordinates : Array(T))
new(coordinates : Array(E))
new(coordinate_tree : CoordinateTree)
new

Instance methods inherited from class GeoJSON::Geometry

==(other : self) ==, [](*args, **options)
[](*args, **options, &)
[]
, coordinates coordinates, hash(hasher) hash

Constructor methods inherited from class GeoJSON::Geometry

new(parser : JSON::PullParser) new

Class methods inherited from class GeoJSON::Geometry

from_json(geometry_json) from_json

Instance methods inherited from class GeoJSON::Base

type : String type

Constructor Detail

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def type : String #

Gets this MultiLineString's GeoJSON type ("MultiLineString")


[View source]