DOKK / manpages / debian 10 / libncarg-dev / mapita.3ncarg.en
MAPITA(3NCARG) NCAR GRAPHICS MAPITA(3NCARG)

MAPITA - Adds to an area map the projections of lines defined by a series of lat/lon coordinates.

CALL MAPITA (RLAT,RLON,IFST,IAMA,IGID,IAIL,IAIR)

CALL MAPIQA (IAMA,IGID,IAIL,IAIR)

#include <ncarg/ncargC.h>

void c_mapita (float rlat, float rlon, int ifst,
int *iama, int igid, int iail, int iair)

void c_mapiqa (int *iama, int igid, int iail, int iair)

(input expressions, of type REAL) specify the latitude and longitude of a point to which the "pen" is to be moved. Both are given in degrees. RLAT must be between -90. and +90., inclusive; RLON must be between -540. and +540., inclusive.
(an input expression, of type INTEGER) is 0 to do a "pen-up" move, 1 to do a "pen-down" move only if the distance from the last point to the new point is greater than 'MV' plotter units, and 2 or greater to do a "pen-down" move regardless of the distance from the last point to the new one.
(an input/output array of type INTEGER, dimensioned as specified in a call to the AREAS initialization routine ARINAM) is the area map to which lines in MAPITA's buffer are to be added.
(an input expression of type INTEGER) is the group identifier to be passed to the AREAS routine AREDAM when the lines in MAPITA's buffer are added to the area map in IAMA.
(an input expression of type INTEGER) is the left area identifier to be passed to the AREAS routine AREDAM when the lines in MAPITA's buffer are added to the area map in IAMA.
(an input expression of type INTEGER) is the right area identifier to be passed to the AREAS routine AREDAM when the lines in MAPITA's buffer are added to the area map in IAMA.

The C-binding argument descriptions are the same as the FORTRAN argument descriptions.

The routines MAPITA and MAPIQA may be used to add lines defined by a set of user-specified latitudes and longitudes to an area map; they attempt to omit non-visible portions of lines and to handle "cross-over", in the same way that MAPIT does.

MAPITA is called like the EZMAP routine MAPIT, but it has some additional arguments:

CALL MAPITA (RLAT,RLON,IFST,IAMA,IGID,IAIL,IAIR)

Additional arguments are the area map array IAMA, a group identifier IGID, and left and right area identifiers IAIL and IAIR. MAPIQA is called like the EZMAP routine MAPIQ, to terminate a series of calls to MAPITA and to flush the buffers; it has the same additional arguments:

CALL MAPIQA (IAMA,IGID,IAIL,IAIR)

The additional arguments are passed by MAPITA and MAPIQA to the routine AREDAM, in the package named AREAS.

For more information, see the man page for the routine MAPIT.

Use the ncargex command to see the following relevant examples: cmpita, cpex08.

To use MAPITA or c_mapita, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.

Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod, mapfst, mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint, mapiq, mapiqa, mapiqd, mapiqm, mapit, mapitd, mapitm, maplbl, maplmb, maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc, mapsti, mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln, mpfnme, mpgetc, mpgeti, mpgetl, mpgetr, mpglty, mpiaty, mpifnb, mpilnb, mpiola, mpiosa, mpipai, mpipan, mpipar, mpisci, mplnam, mplndm, mplndr, mplnri, mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon, ncarg_cbind

Hardcopy: NCAR Graphics Contouring and Mapping Tutorial

Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.

March 1993 UNIX