xrmap +cities -zoom 20 -category all -latitude 45 -longitude
-80 -continent all -projection 3
-color "riv2,+blue"
Xrmap was originally derived from the earlier program 'rmap' by Reza Naima, a console mode program capable of producing png, jpeg or gif images of the Earth form the CIA World Data Base. However, xrmap now has many more features.
! ? M F D S
O C N @ H V Q I A B P L E G T R K
< + - & * <Arrows> <Space> <Escape>
Key '!' enables the command line mode (see below). Key '?' displays the available keyboard shortcuts. Keys 'M', 'F', 'D', 'S', 'O', 'C', 'N', '@' open respectively the general menu, the file menu, the command menu, the search menu, the option menu, the color menu, the map edition menu, the file explorer. Key 'H' opens an xterm showing the xrmap manpage, key 'V' shows the version number and date of package, key 'Q' quits the program. Keys 'I', 'A', 'B', 'P' 'L', 'E', 'G', 'T' are toggles to be used to show or not to show cIties, Airports, oBservatories, Peaks, Locations, Earth contour, Gridlines and Tropics/Equator/Polar circles, respectively. Key 'R' reverses the colors, key 'K' closes the city/location data window, key '<' recalculates/redisplays the image (xrmap reads again the locfile, so that you can possibly see changes made in that file). Keys '+' and '-' zoom in or zoom out the image by a factor equal to square root of 2. Arrows can be used to change the point at which the map is centered (concurrently with the right mouse button), changing the latitude or longitude by some amount which depends on the zoom factor. Key '&' saves the map as an encapsulated PostScript file and loads it into a PostScript viewer for printing. Key '*' exports the parameters into a .rc file, in a format which can be fed back to xrmap through a command line 'xrmap -rcfile xyz.rc' Space or escape keys can be used to erase the top and bottom text mentions.
+ci(ties) -ci(ties) +air(ports) -air(ports)
+obser(vatories) -obser(vatories)
+pea(ks) -pea(ks) +l(ocations) -l(ocations)
+e(arthcontour) -e(arthcontour)
+g(ridlines) -g(ridlines) +trop(ics) -trop(ics)
+tran(sparency) -tran(sparency)
which are respectively switches for cities, locations, peaks, Earth contour, gridlines, tropics and the transparent mode. Other parameters are set by prescribing
p <type> w <value> h <value> z <value> a <value>
f <i,name>
respectively for projection type, width, height of window, zoom, aspect (the aspect parameter is used only in modes other than Spherical), and font of index i;
lon <value> lat <value>
gspacing <value> slat <value> slon <value>
respectively for longitude, latitude (of point at which the map will be centered), and spacing (spacing in latitude or longitude). Categories and continents are set by
cat(egory) <list> con(tinent) <list>
as above. Item colors and display flags can be changed by setting
col(or)
i,(±)colorname
which then attributes color[i]=(±)colorname [See below for the table of items and their indices. Colors can be globally reversed with the single command 'r' or 'rev' or 'reverse' without any parameter.
International Boundaries [int]
Demarcated
or delimited boundary [0]
Indefinite or in Dispute [1]
Other lines of separation of sovereignty on land [2]
National (US) State Boundaries [nat]
State boundary lines on land [3]
State boundary lines on water [4]
Rivers [riv]
Permanent major rivers [5]
Additional major rivers [6]
Additional rivers [7]
Minor rivers [8]
Double lined rivers [9]
Intermittent rivers - major [10]
Intermittent rivers - additional [11]
Intermittent rivers - minor [12]
Major canals [13]
Canals of lesser importance [14]
Canals - irrigation type [15]
Coasts, Islands and Lakes [cil]
Coasts, major islands and lakes [16]
Additional major islands and lakes [17]
Intermediate islands and lakes [18]
Minor islands and lakes [19]
Intermittent major lakes [20]
Intermittent minor lakes [21]
Reefs [22]
Salt pans - major [23]
Salt pans - minor [24]
Ice Shelves - major [25]
Ice Shelves - minor [26]
Glaciers [27]
Earth/Grid features [ear]
Background color of map [28]
Background color of sky [29]
Foreground color of stars [30]
Color of Equator, Tropics and Polar circles [31]
Color of Parallel gridlines [32]
Color of Meridian gridlines [33]
Color of Earth contour [34]
Marks and labels [lab]
Color of circular city marks [35]
Color of text of city names [36]
Color of symbols representing airports [37]
Color of text of airport names [38]
Color of symbols representing observatories [39]
Color of text of observatory names [40]
Color of triangles representing peaks [41]
Color of text of peak names [42]
Color of text of location labels (land) [43]
Color of text of location labels (water) [44]
Menu/Widget colors [mnu]
Foreground color of text menus [45]
Background color of text menus [46]
Foreground color of text caret [47]
Background color of command window [48]
Background color of Escape button [49]
Foreground color of triangular ticks [50]
Foreground color of directory labels [51]
Foreground color of image labels [52]
Color of cross representing a marked point [53]
Foreground color of the selection rectangle [54]
Foreground color of the current selected point [55]
Xrmap still needs the X environment even when the user merely asked an image output; this is unlikely to be fixed any time soon -- just use `rmap' if you need to operate without a GUI running, e.g. for web serving.