public class LandmarkSuggestion extends Object
| Constructor and Description |
|---|
LandmarkSuggestion(List<Integer> nodeIds,
BBox box) |
| Modifier and Type | Method and Description |
|---|---|
BBox |
getBox() |
List<Integer> |
getNodeIds() |
static LandmarkSuggestion |
readLandmarks(String file,
LocationIndex locationIndex)
The expected format is lon,lat per line where lines starting with characters will be ignored.
|
public BBox getBox()
public static final LandmarkSuggestion readLandmarks(String file, LocationIndex locationIndex) throws IOException
#BBOX:minLat,minLon,maxLat,maxLonto specify an explicit bounding box. TODO: support GeoJSON instead.
IOExceptionCopyright © 2012–2018. All rights reserved.