Class SimpleProvider
Defined in File SimpleProvider.hpp
Inheritance Relationships
Base Type
public navtk::geospatial::SpatialMapDataProvider(Class SpatialMapDataProvider)
Derived Type
public navtk::geospatial::SimpleElevationProvider(Class SimpleElevationProvider)
Class Documentation
Container that aggregates data from one or more
SpatialMapDataSources and supplies a unifiedlookup_datumfunction for reading that data.Subclassed by navtk::geospatial::SimpleElevationProvider
Public Functions
Iterates over the available
SpatialMapDataSources and queries them for an value at the given latitude and longitude.If a valid value is found in the SpatialMapDataSource databases, it will be returned. Otherwise sets the validity flag to
false.- Parameters
latitude – The latitude value in radians.
longitude – The longitude value in radians.
- Returns
A
pairshowing whether a value was found (.first) and iftrue, the value.
Constructor for a single
SpatialMapDataSource- Parameters
src – the source
Constructor for a vector of zero or more
SpatialMapDataSources.- Parameters
srcs – The vector of sources.