ValueGlobeCoordinatesValueImpl, JacksonValueGlobeCoordinatespublic interface GlobeCoordinatesValue extends Value
Altitude is not supported in this value.
All numeric data in coordinates is represented by floating point numbers. The one general problem with any underlying number format is the conversion between degrees (with fraction) and a degrees-minute-second view, which will always lead to a loss in arithmetic precision that one has to live with.
Precision is measured in degrees, but must be a positive (non-zero) number.
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
GLOBE_EARTH |
IRI of the Earth.
|
static java.lang.String |
GLOBE_MOON |
IRI of the the Earth's Moon.
|
static double |
PREC_ARCMINUTE |
Precision constant for globe coordinates that are precise to the
arcminute.
|
static double |
PREC_ARCSECOND |
Precision constant for globe coordinates that are precise to the
arcsecond.
|
static double |
PREC_CENTI_ARCSECOND |
Precision constant for globe coordinates that are precise to the
hundredth of an arcsecond.
|
static double |
PREC_CENTI_DEGREE |
Precision constant for globe coordinates that are precise to the
hundredth of a degree.
|
static double |
PREC_DECI_ARCSECOND |
Precision constant for globe coordinates that are precise to the tenth of
an arcsecond.
|
static double |
PREC_DECI_DEGREE |
Precision constant for globe coordinates that are precise to the tenth of
a degree.
|
static double |
PREC_DEGREE |
Precision constant for globe coordinates that are precise to the degree.
|
static double |
PREC_HUNDRED_MICRO_DEGREE |
Precision constant for globe coordinates that are precise to the
ten-thousandth of a degree.
|
static double |
PREC_MICRO_DEGREE |
Precision constant for globe coordinates that are precise to the
millionth of a degree.
|
static double |
PREC_MILLI_ARCSECOND |
Precision constant for globe coordinates that are precise to the
thousandth of an arcsecond.
|
static double |
PREC_MILLI_DEGREE |
Precision constant for globe coordinates that are precise to the
thousandth of a degree.
|
static double |
PREC_TEN_DEGREE |
Precision constant for globe coordinates that are precise to ten degrees.
|
static double |
PREC_TEN_MICRO_DEGREE |
Precision constant for globe coordinates that are precise to the
hundred-thousandth of a degree.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getGlobe() |
Get the IRI of the globe that these coordinates refer to.
|
double |
getLatitude() |
Get the latitude of this value in degrees.
|
double |
getLongitude() |
Get the longitude of this value in degrees.
|
double |
getPrecision() |
Get the precision of the value in degrees.
|
static final double PREC_TEN_DEGREE
static final double PREC_DEGREE
static final double PREC_DECI_DEGREE
static final double PREC_ARCMINUTE
static final double PREC_CENTI_DEGREE
static final double PREC_MILLI_DEGREE
static final double PREC_ARCSECOND
static final double PREC_HUNDRED_MICRO_DEGREE
static final double PREC_DECI_ARCSECOND
static final double PREC_TEN_MICRO_DEGREE
static final double PREC_CENTI_ARCSECOND
static final double PREC_MICRO_DEGREE
static final double PREC_MILLI_ARCSECOND
static final java.lang.String GLOBE_EARTH
static final java.lang.String GLOBE_MOON
double getLatitude()
double getLongitude()
double getPrecision()
java.lang.String getGlobe()
GLOBE_EARTH.Copyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage