1MPIOSA(3NCARG)                   NCAR GRAPHICS                  MPIOSA(3NCARG)
2
3
4

NAME

6       MPIOSA - Given the area identifier of one of the areas defined by
7       whatever database was last read by one of the EZMAPB routines MPLNAM,
8       MPLNDM, MPLNDR, and MPLNRI, this function returns the area identifier
9       of the smallest area, at a specified level, that contains it.
10

SYNOPSIS

12       IOSA=MPIOSA(IAIN,ILVL)
13

C-BINDING SYNOPSIS

15       #include <ncarg/ncargC.h>
16
17       int c_mpiosa (int iaid, int ilvl)
18

DESCRIPTION

20       IAIN        is an input expression of type INTEGER, specifying the area
21                   identifier of a particular area of interest.
22
23       ILVL        is an input expression of type INTEGER, specifying the
24                   level of the containing area to be found.
25

C-BINDING DESCRIPTION

27       The C-binding argument description is the same as the FORTRAN argument
28       description.
29

USAGE

31       The statement "IOSA=MPIOSA(IAIN,ILVL)" retrieves in IOSA the area
32       identifier of that area, at level ILVL, that contains the area with
33       area identifier IAIN.  For example, if IMAD is the area identifier of
34       the little island in Lake Superior called "Lake Madeline", then
35       MPIOSA(IMAD,3) is the area identifier of the area called "Conterminous
36       US".
37

EXAMPLES

39       Use the ncargex command to see the following relevant examples: mpex11,
40       mpex12.
41

ACCESS

43       To use MPIOSA or c_mpiosa, load the NCAR Graphics libraries ncarg,
44       ncarg_gks, and ncarg_c, preferably in that order.
45

SEE ALSO

47       Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod,
48       mapfst, mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint,
49       mapiq, mapiqa, mapiqd, mapiqm, mapit, mapita, mapitd, mapitm, maplbl,
50       maplmb, maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc,
51       mapsti, mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln,
52       mpfnme, mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpiaty, mpifnb, mpilnb,
53       mpiola, mpipai, mpipan, mpipar, mpisci, mplnam, mplndm, mplndr, mplnri,
54       mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon,
55       ncarg_cbind
56
58       Copyright (C) 1987-2007
59       University Corporation for Atmospheric Research
60
61       This documentation is free software; you can redistribute it and/or
62       modify it under the terms of the GNU General Public License as
63       published by the Free Software Foundation; either version 2 of the
64       License, or (at your option) any later version.
65
66       This software is distributed in the hope that it will be useful, but
67       WITHOUT ANY WARRANTY; without even the implied warranty of
68       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
69       General Public License for more details.
70
71       You should have received a copy of the GNU General Public License along
72       with this software; if not, write to the Free Software Foundation,
73       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
74
75
76
77UNIX                              April 1998                    MPIOSA(3NCARG)
Impressum