CartoType UWP API 9.0-11-g64131709d
for development in C#, VB.NET and C++
Loading...
Searching...
No Matches
CartoTypeMetaData.h
1/*
2CartoTypeMetaData.h
3Copyright (C) CartoType Ltd 2021-2022.
4See www.cartotype.com for more information.
5*/
6
7#pragma once
8
9#include "CartoTypeGeometry.h"
10
11using namespace Platform;
12
13namespace CartoType
14{
15
60
66public enum class PointFormat
67 {
70
72 Meter = 2,
73
81
87 };
88
90using StringList = IVector<String^>;
91
93public ref class MapMetaData sealed
94 {
95 public:
97 property int FileVersionMajor;
99 property int FileVersionMinor;
101 property int CartoTypeVersionMajor;
103 property int CartoTypeVersionMinor;
105 property int CartoTypeBuild;
107 property String^ DataSetName;
109 property String^ Copyright;
111 property String^ ProjectionName;
113 property String^ ProjectionParameters;
115 property StringList^ Layers;
117 property PointFormat PointFormat;
119 property Rect^ ExtentInMapCoords;
121 property Rect^ ExtentInDegrees;
125 property bool RouteDataHasGradients;
127 property bool LargeFile;
129 property bool DrivingSideKnown;
131 property bool DriveOnLeft;
132 };
133
134}
Metadata describing a CTM1 map file.
Definition CartoTypeMetaData.h:94
StringList^ Layers
The layers.
Definition CartoTypeMetaData.h:115
int FileVersionMinor
The minor part of the CTM1 format version.
Definition CartoTypeMetaData.h:99
bool LargeFile
True if file positions in the data file take up 5 bytes rather than 4.
Definition CartoTypeMetaData.h:127
int CartoTypeBuild
The build (version control revision number) used to build the makemap tool which created the CTM1 fil...
Definition CartoTypeMetaData.h:105
String^ ProjectionName
The name of the map projection.
Definition CartoTypeMetaData.h:111
Rect^ ExtentInMapCoords
The axis-aligned bounds of the map, in map coordinates.
Definition CartoTypeMetaData.h:119
MapTableType RouteTableType
The route table type: one of the constants defined in MapTableType.
Definition CartoTypeMetaData.h:123
bool DrivingSideKnown
True if the driving side (rule of the road) is known.
Definition CartoTypeMetaData.h:129
int FileVersionMajor
The major part of the CTM1 format version.
Definition CartoTypeMetaData.h:97
String^ ProjectionParameters
The Proj4 parameters for the map projection.
Definition CartoTypeMetaData.h:113
int CartoTypeVersionMajor
The major part of the version of CartoType used to build the makemap tool which created the CTM1 file...
Definition CartoTypeMetaData.h:101
bool RouteDataHasGradients
True if the route data contains gradients.
Definition CartoTypeMetaData.h:125
String^ Copyright
The copyright notice applying to the map data.
Definition CartoTypeMetaData.h:109
Rect^ ExtentInDegrees
The axis-aligned bounds of the map, in degrees of longitude and latitude.
Definition CartoTypeMetaData.h:121
int CartoTypeVersionMinor
The minor part of the version of CartoType used to build the makemap tool which created the CTM1 file...
Definition CartoTypeMetaData.h:103
String^ DataSetName
The name of the map data set.
Definition CartoTypeMetaData.h:107
bool DriveOnLeft
True if the driving side is known and the rule is to drive on the left.
Definition CartoTypeMetaData.h:131
PointFormat PointFormat
The point format for map coordinates: either Meter or Meter32nds.
Definition CartoTypeMetaData.h:117
A grid-aligned rectangle with double-precision coordinates suitable for map points.
Definition CartoTypeGeometry.h:92
Definition CartoTypeWrapper.h:68
MapTableType
Identifiers of tables in CTM1 map files.
Definition CartoTypeMetaData.h:18
@ RouteTableTECH
The ID of the turn-expanded contraction hierarchy routing data table.
Definition CartoTypeMetaData.h:50
@ RouteTableCHTiled
The ID of the table containing contraction hierarchy routing data that is a tile that can be used wit...
Definition CartoTypeMetaData.h:52
@ Table9Obsolete
The ID of the table containing the obsolete serialised A-star routing network used up to format versi...
Definition CartoTypeMetaData.h:38
@ NoTable
An ID used when no table exists or the table type is unknown.
Definition CartoTypeMetaData.h:58
@ RouteTableTurnExpandedCompact
The ID of the table containing compact turn-expanded routing data, which uses less run-time RAM.
Definition CartoTypeMetaData.h:56
@ RouteTableAStar
The ID of the A-star routing data table.
Definition CartoTypeMetaData.h:40
@ PaletteTable
The ID of the table containing color palettes for raster image objects.
Definition CartoTypeMetaData.h:34
@ Table2Obsolete
The ID of the obsolete text index table.
Definition CartoTypeMetaData.h:24
@ RouteTableCHStandAlone
The ID of the table containing contraction hierarchy routing data that can optionally be used stand-a...
Definition CartoTypeMetaData.h:48
@ GlobalTable
The ID of the global information table.
Definition CartoTypeMetaData.h:20
@ RouteTableTurnExpanded
The ID of the turn-expanded routing data table.
Definition CartoTypeMetaData.h:46
@ ProjectionTable
The ID of the the table containing the map projection.
Definition CartoTypeMetaData.h:28
@ TextIndexTable
The ID of the table containing the text index used when searching for string attributes.
Definition CartoTypeMetaData.h:36
@ Table3Obsolete
The ID of the obsolete projection table used up to CTM1 version 3.0.
Definition CartoTypeMetaData.h:26
@ RouteTableTECHTiled
The ID of the table containing turn-expanded contraction hierarchy routing data that is a tile that c...
Definition CartoTypeMetaData.h:54
@ RouteTableExtra
The ID of the table containing extra information used for A-star routing.
Definition CartoTypeMetaData.h:44
@ LayerTable
The ID of the table containing the layers containing the map objects; see also KLowResolutionLayerTab...
Definition CartoTypeMetaData.h:22
@ LowResolutionLayerTable
The ID of the table containing layer data containing map objects at lower resolutions,...
Definition CartoTypeMetaData.h:32
@ RouteTableCH
The ID of the contraction hierarchy routing data table.
Definition CartoTypeMetaData.h:42
@ StringTable
The ID of the table of compressed strings referenced by the map objects.
Definition CartoTypeMetaData.h:30
IVector< String^> StringList
A type for lists of strings.
Definition CartoTypeMetaData.h:90
PointFormat
The format used for points in CTM1 data. These numbers must fit into 8 bits for the moment because of...
Definition CartoTypeMetaData.h:67
@ ScaledDegree
Units are degrees as 11.21 fixed-point numbers. That is, there are 2^21 (2097152) units to a degree....
Definition CartoTypeMetaData.h:80
@ Meter
Units are projected map meters.
Definition CartoTypeMetaData.h:72
@ Meter32nds
Units are 32nds of projected map meters. This is the default format for CTM1 data.
Definition CartoTypeMetaData.h:86
@ Unknown
The intersection type is unknown.
Definition CartoTypeGeometry.h:152