CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
Static Public Attributes | List of all members
com.cartotype.PointFormat Class Reference

Static Public Attributes

static final int UNKNOWN = 0
 
static final int METER = 2
 
static final int SCALED_DEGREE = 7
 
static final int METER_32NDS = 8
 

Detailed Description

The format used for points in CTM1 data. These numbers must fit into 8 bits for the moment because of the way they are stored in the CTM1 file. The values are discontinuous because several obsolete values have been discarded.

Member Data Documentation

◆ METER

final int com.cartotype.PointFormat.METER = 2
static

Units are projected map meters.

◆ METER_32NDS

final int com.cartotype.PointFormat.METER_32NDS = 8
static

Units are 32nds of projected map meters. This is the default format for CTM1 data.

◆ SCALED_DEGREE

final int com.cartotype.PointFormat.SCALED_DEGREE = 7
static

Units are degrees as 11.21 fixed-point numbers. That is, there are 2^21 (2097152) units to a degree. This format is used only by the makemap tool, for representing unprojected map data.

◆ UNKNOWN

final int com.cartotype.PointFormat.UNKNOWN = 0
static

An arbitrary or unknown point format.


The documentation for this class was generated from the following file: