class GeoJSON::MultiPoint

Overview

A MultiPoint is a Geometry representing several Points.

This class corresponds to the GeoJSON MultiPoint.

Included Modules

Defined in:

geojson/geometry/multi_point.cr

Constructors

Instance Method Summary

Instance methods inherited from module GeoJSON::MultiGeometry(GeoJSON::Point, GeoJSON::Coordinates::Position)

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

Constructor methods inherited from module GeoJSON::MultiGeometry(GeoJSON::Point, GeoJSON::Coordinates::Position)

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 MultiPoint's GeoJSON type ("MultiPoint")


[View source]