org.osm2world.core.map_elevation.creation
public class SRTMData extends Object implements TerrainElevationData
Constructor and Description |
---|
SRTMData(File tileDirectory,
MapProjection projection) |
Modifier and Type | Method and Description |
---|---|
Collection<VectorXYZ> |
getSites(double minLon,
double minLat,
double maxLon,
double maxLat) |
Collection<VectorXYZ> |
getSites(MapData mapData)
variant of getSites which calculates minimum and maximum lat/lon
from the bounds of a
MapData instance
TODO: make projection reversible, then replace both getSites methods
with a single getSite(AxisAlignedBoundingBox dataBounds) method |
public SRTMData(File tileDirectory, MapProjection projection)
public Collection<VectorXYZ> getSites(double minLon, double minLat, double maxLon, double maxLat) throws IOException
getSites
in interface TerrainElevationData
IOException
public Collection<VectorXYZ> getSites(MapData mapData) throws IOException
MapData
instance
TODO: make projection reversible, then replace both getSites methods
with a single getSite(AxisAlignedBoundingBox dataBounds) methodgetSites
in interface TerrainElevationData
IOException