public 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 and Description |
---|---|
static String |
GLOBE_EARTH
IRI of the Earth.
|
static 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 and Description |
---|---|
String |
getGlobe()
Get the IRI of the globe that these coordinates refer to.
|
ItemIdValue |
getGlobeItemId()
Get the
ItemIdValue 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 String GLOBE_EARTH
static final String GLOBE_MOON
double getLatitude()
double getLongitude()
double getPrecision()
String getGlobe()
GLOBE_EARTH
.ItemIdValue getGlobeItemId()
ItemIdValue
of the globe that these coordinates refer to.IllegalArgumentException
- if the globe is not a valid item IRICopyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage