14 #include <matrix/geodeticCoord.h>
15 #include <unordered_map>
17 #include <boost/shared_ptr.hpp>
25 namespace MAKVRinTerra
44 std::string
name()
const {
return runway1 +
"/" + runway2; }
71 std::vector< boost::shared_ptr<RunwayData> >
runways;
75 virtual AerodromeData aerodrome(
const std::string& airportCode)
const;
76 virtual std::vector<AerodromeData> aerodromesWithinRange(
const DtVector& location,
double range)
const;
77 virtual void addRunwayData(
const RunwayData& runwayData);
78 virtual void addAerodrome(
const AerodromeData& aerodromeData);
81 virtual DtGeodeticCoord aerodromeLocation(
const std::string& airportCode)
const;
82 virtual bool hasAerodrome(
const std::string& airportCode)
const;
83 virtual double altitudeOfAerodrome(
const std::string& airportCode)
const;
87 return myAirportAndIcaoNames;
92 return (myAerodromes.size() != 0);
98 virtual std::vector<AerodromeData> aerodromesInArea(
const std::vector<DtVector>&)
const;
101 virtual std::vector<MAKVRinTerra::DtAerodromeLoader::AerodromeData> aerodromesAtLocation(
const DtVector& location)
const;
104 virtual std::vector<MAKVRinTerra::DtAerodromeLoader::RunwayData> runwayAtLocation(
const DtVector& location)
const;
makVrf::RTree< boost::shared_ptr< AerodromeDataBoundary >, double, 3 > aerodromeBoundaryTreeType
spatial tree that contain all the world airport boundary
Definition: aerodromeLoader.h:121
#define DT_DLL_features
stop complaining about multiple independent base classes for boost::noncopyable this should probably ...
Definition: featuresDefines.h:41
DtGeodeticCoord aerodromeLocation
Definition: aerodromeLoader.h:69
aerodromeBoundaryTreeType myaerodromeBoundaryTree
Definition: aerodromeLoader.h:122
Definition: aerodromeLoader.h:56
Definition: aerodromeLoader.h:64
std::string airportCode
Definition: aerodromeLoader.h:67
The DtExtent represents an axis-aligned 3d bounding box.
Definition: extent.h:43
AerodromesType myAerodromes
Definition: aerodromeLoader.h:113
std::vector< boost::shared_ptr< RunwayData > > runways
Definition: aerodromeLoader.h:71
std::string airportCode
Definition: aerodromeLoader.h:45
makVrf::RTree< boost::shared_ptr< RunwayData >, double, 3 > runwayTreeType
spatial tree that contain all the world runways
Definition: aerodromeLoader.h:117
std::string runway1
Definition: aerodromeLoader.h:46
Definition: aerodromeLoader.h:29
Handle< PointType > Point
Definition: featureGeometry.h:69
DtFeatureGeometry::Point aerodromePointOrigin
Definition: aerodromeLoader.h:72
File I/O helper class, look below for implementation and notes.
Definition: RTree.h:58
std::vector< DtPoint > runwayCorners
contain the four corner of the runway
Definition: aerodromeLoader.h:53
std::string name() const
Definition: aerodromeLoader.h:44
Definition: featureContext.h:51
std::vector< DtVector > runwayPoints
Definition: aerodromeLoader.h:51
std::string airportName
Definition: aerodromeLoader.h:68
Definition: aerodromeLoader.h:42
Contains the declaration of the DtExtent class.
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
std::vector< DtPoint > airportBoundary
Definition: aerodromeLoader.h:59
runwayTreeType myrunwayTree
Definition: aerodromeLoader.h:118
bool hasAerodromes() const
Definition: aerodromeLoader.h:90
boost::shared_ptr< AerodromeDataBoundary > aerodromeDataBoundary
Definition: aerodromeLoader.h:70
Represents a GIS feature. Features consist of a DtFeatureGeometry (2.5D geometric vector data) and a ...
Definition: feature.h:37
DtExtent airportBoundaryBoundingBox
Definition: aerodromeLoader.h:60
std::set< std::pair< std::string, std::string > > myAirportAndIcaoNames
Definition: aerodromeLoader.h:114
std::string airportCode
Definition: aerodromeLoader.h:58
std::unordered_map< std::string, AerodromeData > AerodromesType
Definition: aerodromeLoader.h:112
const std::set< std::pair< std::string, std::string > > & getAirportandIcaoNames() const
Definition: aerodromeLoader.h:85
std::string runway2
Definition: aerodromeLoader.h:47