Class: GOBL::Org::Coordinates
- Inherits:
-
GOBL::Object
- Object
- Struct
- GOBL::Object
- GOBL::Org::Coordinates
- Defined in:
- lib/generated/gobl/org/coordinates.rb
Overview
Coordinates describes an exact geographical location in the world.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Coordinates structure
'https://gobl.org/draft-0/org/coordinates'
Instance Attribute Summary collapse
-
#geohash ⇒ String
readonly
Single string coordinate based on geohash standard.
-
#lat ⇒ Float
readonly
Decimal latitude coordinate.
-
#lon ⇒ Float
readonly
Decimal longitude coordinate.
-
#w3w ⇒ String
readonly
What 3 Words text coordinates.
Method Summary
Methods inherited from GOBL::Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#geohash ⇒ String (readonly)
Single string coordinate based on geohash standard.
33 |
# File 'lib/generated/gobl/org/coordinates.rb', line 33 property :geohash, String |
#lat ⇒ Float (readonly)
Decimal latitude coordinate.
18 |
# File 'lib/generated/gobl/org/coordinates.rb', line 18 property :lat, Float |
#lon ⇒ Float (readonly)
Decimal longitude coordinate.
23 |
# File 'lib/generated/gobl/org/coordinates.rb', line 23 property :lon, Float |
#w3w ⇒ String (readonly)
What 3 Words text coordinates.
28 |
# File 'lib/generated/gobl/org/coordinates.rb', line 28 property :w3w, String |