public class WikibasePoint extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WikibasePoint.CoordinateOrder
Coordinate order options.
|
| Modifier and Type | Field and Description |
|---|---|
static WikibasePoint.CoordinateOrder |
DEFAULT_ORDER
Default coordinate order in the system.
|
| Constructor and Description |
|---|
WikibasePoint(String literalString) |
WikibasePoint(String[] components) |
WikibasePoint(String[] components,
String globe) |
WikibasePoint(String[] components,
String globe,
WikibasePoint.CoordinateOrder order)
Create point from array of strings.
|
WikibasePoint(String[] components,
WikibasePoint.CoordinateOrder order) |
WikibasePoint(String literalString,
WikibasePoint.CoordinateOrder coordOrder)
Create point from WKT literal.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getGlobe()
Get globe.
|
String |
getLatitude()
Get latitude.
|
String |
getLongitude()
Get longitude.
|
String |
toOrder(WikibasePoint.CoordinateOrder order)
String representation in given coordinate order.
|
String |
toString()
Get string representation in WKT format.
|
public static final WikibasePoint.CoordinateOrder DEFAULT_ORDER
public WikibasePoint(String literalString, WikibasePoint.CoordinateOrder coordOrder)
literalString - coordOrder - public WikibasePoint(String literalString)
public WikibasePoint(String[] components, String globe, WikibasePoint.CoordinateOrder order)
components - globe - order - public WikibasePoint(String[] components)
public WikibasePoint(String[] components, WikibasePoint.CoordinateOrder order)
public String getLongitude()
public String getLatitude()
public String getGlobe()
public String toString()
public String toOrder(WikibasePoint.CoordinateOrder order)
order - Copyright © 2017. All rights reserved.