CartoType C++ API 8.8-7-gb35e4dc71
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_map_metadata.h>
Public Member Functions | |
MapMetaData (InputStream &aInput) | |
void | Write (OutputStream &aOutput) const |
Public Attributes | |
DataVersion | FileVersion |
DataVersion | CartoTypeVersion |
uint32_t | CartoTypeBuild = 0 |
std::string | DataSetName |
std::string | Copyright |
std::string | ProjectionName |
std::string | ProjectionParameters |
std::vector< std::string > | Layers |
CartoTypeCore::PointFormat | PointFormat = CartoTypeCore::PointFormat::Unknown |
Rect | ExtentInMapCoords |
RectFP | ExtentInDegrees |
uint16_t | RouteTableType = MapTableType::KNoTable |
bool | RouteDataHasGradients = false |
bool | LargeFile = false |
bool | DrivingSideKnown = false |
bool | DriveOnLeft = false |
Static Public Attributes | |
static constexpr uint32_t | KSerializationVersion = 0 |
Metadata describing a CTM1 map file.
|
explicit |
Constructs a MapMetaData object by loading it from serialized form.
void CartoTypeCore::MapMetaData::Write | ( | OutputStream & | aOutput | ) | const |
Serializes this object.
uint32_t CartoTypeCore::MapMetaData::CartoTypeBuild = 0 |
The build (version control revision number) used to build the makemap tool which created the CTM1 file.
DataVersion CartoTypeCore::MapMetaData::CartoTypeVersion |
The version of CartoType used to build the makemap tool which created the CTM1 file.
std::string CartoTypeCore::MapMetaData::Copyright |
The copyright notice applying to the map data.
std::string CartoTypeCore::MapMetaData::DataSetName |
The name of the map data set.
bool CartoTypeCore::MapMetaData::DriveOnLeft = false |
True if the driving side is known and the rule is to drive on the left.
bool CartoTypeCore::MapMetaData::DrivingSideKnown = false |
True if the driving side (rule of the road) is known.
RectFP CartoTypeCore::MapMetaData::ExtentInDegrees |
The axis-aligned bounds of the map, in degrees of longitude and latitude.
Rect CartoTypeCore::MapMetaData::ExtentInMapCoords |
The axis-aligned bounds of the map, in map coordinates.
DataVersion CartoTypeCore::MapMetaData::FileVersion |
The CTM1 format version.
|
staticconstexpr |
The version of the format in which this class is serialized.
bool CartoTypeCore::MapMetaData::LargeFile = false |
True if file positions in the data file take up 5 bytes rather than 4.
std::vector<std::string> CartoTypeCore::MapMetaData::Layers |
The layers.
CartoTypeCore::PointFormat CartoTypeCore::MapMetaData::PointFormat = CartoTypeCore::PointFormat::Unknown |
The point format for map coordinates: if valid, either Meter or Meter32nds.
std::string CartoTypeCore::MapMetaData::ProjectionName |
The name of the map projection.
std::string CartoTypeCore::MapMetaData::ProjectionParameters |
The Proj4 parameters for the map projection.
bool CartoTypeCore::MapMetaData::RouteDataHasGradients = false |
True if the route data contains gradients.
uint16_t CartoTypeCore::MapMetaData::RouteTableType = MapTableType::KNoTable |
The route table type: one of the constants defined in MapTableType.