MAPBLA(3NCARG)
β¨ MAPBLA β¨ (that's MAPBLA(3NCARG), from the NCAR GRAPHICS fam, bestie)
Okay so listen. π This one is a classic, it's giving old-school NCAR Graphics energy, and it does exactly one job but it does it so well.
πΈ NAME πΈ
MAPBLA β adds to the area map in the array IAMA the set of boundary lines, of projected geographical entities, determined by the current state of the internal parameters of EZMAP.
β οΈ Real talk though: this routine uses whichever old outline dataset is selected by the value of the internal parameter'OU'. To access the new map database"Earth..1", which was created in 1998, you have to call the EZMAPB routineMPLNAMinstead. Don't come for me, that's just the lore. π
π SYNOPSIS π
CALL MAPBLA (IAMA)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_mapbla (int *iama)
β¨ DESCRIPTION β¨
IAMAβ an input/output array of typeINTEGER, and it's the area map array to which boundary lines are to be added. That's the whole vibe. π«Ά
π C-BINDING DESCRIPTION π
The C-binding argument description is the same as the FORTRAN argument description. No notes. Periodt. π
π USAGE π
One or two groups of boundary lines get added to the area map by a call to MAPBLA. Not three. Not zero. One or two. π
The first group has the group identifier 'G1', which has a default value of 1. The group 'G1' consists of:
- a perimeter (either rectangular or elliptical, depending on the value of the EZMAP parameter
'EL'), and - the set of projected boundary lines implied by your selection of an EZMAP dataset (some combination of continental, U.S. state, and international political outlines).
For certain projections a limb line may also be included. (The limb is the boundary between a projectable region and an unprojectable one. Very main character, very niche. π¦)
If the EZMAP parameter 'VS' has a value greater than zero, a second group, with the group identifier 'G2', is added to the area map. (The default value of 'VS' is 1; the default value of 'G2' is 2.) The purpose of the group 'G2' is to split up areas and thus reduce the number of points required to define a typical area. This may be necessary because some hardware devices fail if the number of points defining an area is too large. π Like, they just give up. So we split.
The group 'G2' consists of:
- a copy of the perimeter and the limb line (if any), plus
- a set of vertical lines that split the area inside the perimeter into
'VS'vertical strips.
The perimeter and the limb in the groups 'G1' and 'G2' have the following left and right area identifiers:
0β Identifies the area inside the perimeter or limb. π-1β Identifies the area outside the perimeter or limb. πͺ
The vertical lines in the group 'G2' have left and right area identifiers of 0.
To set the values of 'G1', 'G2', and 'VS', call the EZMAP routine MAPSTI. To get the current values of 'G1', 'G2', and 'VS', call the EZMAP routine MAPGTI. See the man pages for MAPSTI and MAPGTI. Go read them, they're cute. π
π₯ EXAMPLES π₯
Use the ncargex command to see the following relevant examples: ccppole, colcon, cmpfil, cmpgrp, cmpita, cpmitm... wait no, cpmitm isn't real bestie, it's cpmitmβokay it's literally cpmitm. Let me just give you the whole list, verbatim, no edits, I promise:
ccppole, colcon, cmpfil, cmpgrp, cmpita, cpmitm, cmplab, cmpmsk, cmptit, cpex08, eezmpa, tezmpa, fcover, ffex00.
π okay I messed up the spelling in my little tangent, the actual names are the ones in the backticks above. Slay responsibly.
π§ ACCESS π§
To use MAPBLA or c_mapbla, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. In that order, bestie. I said what I said. π
π SEE ALSO π
Online: ezmap, ezmap_params, mapaci, mapblm, mapdrw, mapeod, mapfst, mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint, mapiq, mapiqa, mapiqd, mapiqm, mapit, mapita, 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. Yes, actual paper. Iconic behavior. πβ¨
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
And that's the whole page, no cap. π«Ά This one's from the UNIX manual, March 1993, and it lives under MAPBLA(3NCARG). Byeee bestie, go draw some boundary lines. ππβ¨
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms