Pitney Bowes MapXtreme User Manual
Page 560

Appendix G: Defining the MapInfo Codespace
Defining the MapInfo Codespace
MapXtreme v7.1
567
Developer Guide
imagesize
pixel
A non-linear unit of image dimension.
Example: mapinfo:imagesize pixel
type
A data type.
boolean
Example: mapinfo:type boolean
byte
Example: mapinfo:type byte
date
Example: mapinfo:type date
datetime
Example: mapinfo:type datetime
time
Example: mapinfo:type time
decimal
[ | ( n
n ) | ]
n.m
n is the
total digits
and
m is the
number of
digits
reserved
for the
right of
decimal
point,
m<=n
optional min
optional max
optional precision
Examples:
mapinfo:type decimal (100 -- all d>100
mapinfo:type decimal 100) -- all d<100
mapinfo:type decimal [200 300] -- all
200<=d<=300
mapinfo:type decimal 10.7 -- all
decimals with no more than 10 digits
with 7 digits reserved for right of
decimal point, thus max of 3 digits to
left of decimal point.
mapinfo:type decimal [200 300] 10.7 --
combination of previous two examples.
double
[ | ( n
n ) | ]
Example: mapinfo:type double (0 150)
float
[ | ( n
n ) | ]
Example: mapinfo:type float 30.25]
int
[ | ( n
n ) | ]
Example: mapinfo:type int [0 180]
short
[ | ( n
n ) | ]
Example: mapinfo:type short
string
n
Optional max length n.
Example: mapinfo:type string 256
char
Example: mapinfo:type char
MapInfo Codespace Definition (continued)
Category
Position 1
Position
2
Position
3
Position
4
Explanation and Example