Class GlobeCoordinateSnak

class for the GlobeCoordinateSnak

most used property of this type P625 (coordinate location)

Hierarchy (view full)

  • Snak
    • GlobeCoordinateSnak

Constructors

Properties

altitude: undefined | null

the altitude of the Coordinate

datatype: string = 'globe-coordinate'
globe: undefined | string

the "globe" that this coordinate refers to. Globe defaults to "Earth" (globe: http://www.wikidata.org/entity/Q2)

hash: undefined | string
latitude: undefined | number

the latitude of the Coordinate

longitude: undefined | number

the longitude of the Coordinate

precision: undefined | number

the precision of the Coordinate

property: `P${number}`
snaktype: SnakType

Accessors

  • get hasValue(): boolean
  • Returns boolean

    true if the snak has a value

  • get internalID(): string
  • create a unique id for the Snak

    Returns string

    the id

Methods

Generated using TypeDoc