Package | Description |
---|---|
org.apache.lucene.spatial |
Support for geospatial search.
|
Modifier and Type | Method and Description |
---|---|
static double[] |
DistanceUtils.parseLatitudeLongitude(double[] latLon,
String latLonStr)
Deprecated.
extract (by calling
DistanceUtils.parsePoint(String[], String, int) and validate the latitude and longitude contained
in the String by making sure the latitude is between 90 & -90 and longitude is between -180 and 180. |
static double[] |
DistanceUtils.parseLatitudeLongitude(String latLonStr)
Deprecated.
|
static String[] |
DistanceUtils.parsePoint(String[] out,
String externalVal,
int dimension)
Deprecated.
Given a string containing dimension values encoded in it, separated by commas, return a String array of length dimension
containing the values.
|
static double[] |
DistanceUtils.parsePointDouble(double[] out,
String externalVal,
int dimension)
Deprecated.
Given a string containing dimension values encoded in it, separated by commas, return a double array of length dimension
containing the values.
|