class GeoJSON::Point
- GeoJSON::Point
- GeoJSON::Object
- Reference
- Object
Overview
https://tools.ietf.org/html/rfc7946#section-3.1.2
Defined in:
geojson/point.crConstructors
-
.new(pull : JSON::PullParser)
https://tools.ietf.org/html/rfc7946#section-3.1.2
- .new(coordinates : GeoJSON::Coordinates, *, bbox = nil)
- .new(coordinates : Array(Float64), *, bbox = nil)
- .new(*, longitude, latitude, altitude = nil, bbox = nil)
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #altitude(*args, **options)
- #altitude(*args, **options, &)
- #coordinates : Coordinates
-
#hash(hasher)
See
Object#hash(hasher)
- #latitude(*args, **options)
- #latitude(*args, **options, &)
- #longitude(*args, **options)
- #longitude(*args, **options, &)
- #type : String
Instance methods inherited from class GeoJSON::Object
bbox : Array(Float64) | Nil
bbox,
type : String
type
Constructor methods inherited from class GeoJSON::Object
new(pull : JSON::PullParser)
new
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.