public class OsmObstructionFinder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OsmObstructionFinder.AmenityAttr
Structure containing parameters for interpreting OSM Node objects that could be
RF obstructions.
|
Modifier and Type | Field and Description |
---|---|
static java.util.Map<AmenityType,OsmObstructionFinder.AmenityAttr> |
OBSTRUCTING_AMENITIES |
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 final java.util.Map<AmenityType,OsmObstructionFinder.AmenityAttr> OBSTRUCTING_AMENITIES
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()