class GeoJSON::Feature
- GeoJSON::Feature
- GeoJSON::Object
- Reference
- Object
Overview
https://tools.ietf.org/html/rfc7946#section-3.2
Defined in:
geojson/feature.crConstructors
-
.new(pull : JSON::PullParser)
https://tools.ietf.org/html/rfc7946#section-3.2
- .new(geometry : GeoJSON::Object | Nil, properties : Nil | Hash(String, Array(JSON::Any) | Bool | Float64 | Hash(String, JSON::Any) | Int64 | String | Nil) = nil, *, id : Int32 | String | Nil = nil, bbox = nil)
Instance Method Summary
- #geometry : GeoJSON::Object::Type | Nil
- #id : String | Int32 | Nil
- #properties : Hash(String, JSON::Any::Type) | Nil
- #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
def self.new(geometry : GeoJSON::Object | Nil, properties : Nil | Hash(String, Array(JSON::Any) | Bool | Float64 | Hash(String, JSON::Any) | Int64 | String | Nil) = nil, *, id : Int32 | String | Nil = nil, bbox = nil)
#