Map and Table Calculation

MAXCRDY( ) function

Returns the maximum Y-coordinate of a map.

Syntax

MAXCRDY(Map)

Input

Map is a raster, polygon, segment or point map

Output

MAXCRDY returns: a value
Domain: system domain Value

Notes:

Tips:

Usable in

Simple calculators, MapCalc, TabCalc

Examples

Pocket line calculator examples:

? MAXCRDY(DEM)

returns the maximum value of raster map DEM, e.g. 8090520

? MAXCRDY(Rainfall.mpp)

returns the maximum value of point map Rainfall, e.g. 8089719.64

Example of calculating with minimum and maximum values of coordinates

It might occur that you have a point data set from which only a part of all points lay inside a certain area. You can select only these points to show or to use them for further calculation. In this example, it will be tested whether the points of a point map lay within the area of an existing land use map. The coordinates from the lower left corner of the Landuse map are: (795480, 8071880) and the coordinates from the upper right corner: (808220, 8090520).

Select = INRANGE(CRDX(Coordinate), MINCRDX(Landuse), MAXCRDX(Landuse)) AND INRANGE(CRDY(Coordinate), MINCRDY(Landuse), MAXCRDY(Landuse))

Coordinate

Name

Select

1

(799491, 8086120)

SamplePoint1

True

2

(800085, 8080962)

SamplePoint2

True

3

(793710, 8077028)

SamplePoint3

False

4

(798934, 8183040)

SamplePoint4

False

5

(803610, 8078624)

SamplePoint5

True

6

(803313, 8085712)

SamplePoint6

True

7

(798204, 8123951)

SamplePoint7

False

Points 3, 4 and 7 do not lie inside the boundaries of the land use map. The X-coordinate of point number 3 is lower than the minimum X-coordinate of the Landuse map while point numbers 4 and 7 have Y-coordinates which are larger than the maximum Y-coordinate in the Landuse map.

See also:

COORD MINCRDX MAPCRD RASVALUE
CRDX MINCRDY MAPROW DIST
CRDY MAXCRDX MAPCOL DIST2
TRANSFORM MAPVALUE