1MPIATY(3NCARG) NCAR GRAPHICS MPIATY(3NCARG)
2
3
4
6 MPIATY - 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 type of the
9 area.
10
12 IATY=MPIATY(IAIN)
13
15 #include <ncarg/ncargC.h>
16
17 int c_mpiaty (int iain)
18
20 IAIN is an input expression of type INTEGER, specifying the area
21 identifier of a particular area of interest.
22
24 The C-binding argument description is the same as the FORTRAN argument
25 description.
26
28 The statement "IATY=MPIATY(IAIN)" retrieves in IATY the area type of
29 the area with area identifier IAIN. For example, if IMAD is the area
30 identifier of the little island in Lake Superior called "Lake
31 Madeline", then MPIATY(IMAD) is 4, implying that this island is a
32 portion of a state.
33
35 Use the ncargex command to see the following relevant example: mpex12.
36
38 To use MPIATY or c_mpiaty, load the NCAR Graphics libraries ncarg,
39 ncarg_gks, and ncarg_c, preferably in that order.
40
42 Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod,
43 mapfst, mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint,
44 mapiq, mapiqa, mapiqd, mapiqm, mapit, mapita, mapitd, mapitm, maplbl,
45 maplmb, maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc,
46 mapsti, mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln,
47 mpfnme, mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpifnb, mpilnb, mpiola,
48 mpiosa, mpipai, mpipan, mpipar, mpisci, mplnam, mplndm, mplndr, mplnri,
49 mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon,
50 ncarg_cbind
51
53 Copyright (C) 1987-2007
54 University Corporation for Atmospheric Research
55
56 This documentation is free software; you can redistribute it and/or
57 modify it under the terms of the GNU General Public License as
58 published by the Free Software Foundation; either version 2 of the
59 License, or (at your option) any later version.
60
61 This software is distributed in the hope that it will be useful, but
62 WITHOUT ANY WARRANTY; without even the implied warranty of
63 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
64 General Public License for more details.
65
66 You should have received a copy of the GNU General Public License along
67 with this software; if not, write to the Free Software Foundation,
68 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
69
70
71
72UNIX April 1998 MPIATY(3NCARG)