Map and Table Calculation

PNTNR( ) function

Returns the record number of the point with the name or value PointName in point map PointMap

Syntax

PNTNR(PointMap, "PointName")

Input

PointMap is a point map
PointName is a point name or a point value
Domain type: domain of the PointMap

Output

PNTNR returns: a value
Domain: system domain Value

Notes:

Tips:

Usable in

Simple calculators, MapCalc, TabCalc

Examples

Pocket line calculator example:

Point map Rainfall stores rainfall values of rainfall station located in the area of Cochabamba (Bolivia). To retrieve the point number of a certain rainfall station:

? PNTNR(Rainfall, "Laguna Santa Rosa")

returns e.g. 3

TabCalc examples:

OutCol1 = PNTNR(Rainfall,"Laguna Santa Rosa")

 

Rainfall.mpp opened as table

Recordnr

Name

Coordinate

1

UMSS

(803429.00, 8074631.00)

2

Taquina

(799748.00, 8082415.00)

3

Laguna Santa Rosa

(803511.00, 8087422.00)

4

Laguna Totura

(801281.00, 8088967.00)

5

PROMIC

(802613.00, 8080483.00)

6

Aro Caqua

(806816.00, 8076585.00)

7

Colca Pithua

(797465.00, 8078352.00)

8

Cerro MachaMach

(796346.00, 8087736.00)

9

Laguna WaraWara

(806042.00, 8085414.00)

See also: