public class OsmObstructionFinder
extends java.lang.Object
| Constructor and Description |
|---|
OsmObstructionFinder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
flush()
Clear all the cached OSM data in the OsmObstructionFinder.
|
static java.util.List<GenericTaggedNode<?>> |
getObstructions(int minLat,
int minLon,
int maxLat,
int maxLon)
Get a list of all OpenStreetMap features that could obstruct a line-of-sight.
|
static RTreeNode |
getTile(double latitude,
double longitude)
Get an OSM object tree for the 1-degree by 1-degree region of the planet requested.
|
static RTreeNode |
getTile(int latitude,
int longitude)
Get a SRTMTile object for the 1-degree by 1-degree region of the planet requested.
|
public static java.util.List<GenericTaggedNode<?>> getObstructions(int minLat, int minLon, int maxLat, int maxLon)
minLat - southwest latitude (in millionths of degrees) of bounding box to searchminLon - southwest longitude (in millionths of degrees) of bounding box to searchmaxLat - northeast latitude (in millionths of degrees) of bounding box to searchmaxLon - northeast longitude (in millionths of degrees) of bounding box to searchpublic static RTreeNode getTile(int latitude, int longitude)
latitude - int latitude in millionths of degrees Northlongitude - int longitude in millionths of degrees Eastpublic static RTreeNode getTile(double latitude, double longitude)
latitude - double latitude in fractional degrees Northlongitude - double longitude in fractional degrees Eastpublic static void flush()