Xrmap

Aus Mikiwiki
Version vom 6. Februar 2010, 22:04 Uhr von Michi (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Xrmap bietet einen X Window System-Client zum Erzeugen von Bildern der Erde und zum Bearbeiten der "CIA World data bank II global vector information" (eine riesige Sammlung geographischer Daten von etwa 45 MB).

Zu den enthaltenen Fähigkeiten gehören die Anzeige von Küstenlinien und Inseln, politischen Grenzen, grossen und kleinen Flüssen, Gletschern, Seen, Kanälen, Riffen usw. In die Bilder kann mit einem Faktor von 100 oder mehr hineingezoomt werden. Das Paket enthält ausserdem eine ziemlich vollständige Sammlung von Städten und Ortschaften auf der ganzen Welt - rund 20'000 Städte werden aufgelistet.

Xrmap is derived from the rmap console only utility by Reza Naima (check: http://www.reza.net/rmap/ )

However, xrmap has many more features than the original 'rmap', especially it implements Rectangular, Mercator and Miller projections
in addition to the Spherical projection, as well as reverse search of coordinates. All parameters and configurations can be set interactively
from the GUI. Xrmap supports writing images in ppm, xpm, ps or compressed ppm.gz, xpm.gz, ps.gz formats. It can also produce images
without entering into the GUI, since most parameters can alternatively be set via the command line options
(still, xrmap requires the X environment to do so, in contrast with rmap).

Installation

$ tar xjf xrmap-2.33.tar.bz2
$ cd xrmap-2.33
$ vi Imakefile
DESTDIR=/usr/local
MANDIR=/man/man1
BINDIR=/bin
HTML_VIEWER="opera"
$ xmkmf
$ make
...
In addition to compiling and installing source files, xrmap requires
DATA FILES. You should download them SEPARATELY, and uncompress them
in SHAREDIR (/usr/share/rmap by default) : 

Required:
   6750214 CIA_WDB2.jpd.bz2            (CIA vector map data)
   4006416 flags-2.5-eps.tar.bz2       (national flags, EPS format)
or
   1198980 flags-2.5-xpm_150.tar.bz2   (national flags, XPM format) 

Required only by earthview:
   8399634 earthdata_low_res.tar.bz2   (topography + population data)

Recommended:
     95748 anthems-1.1.tar.bz2         (national anthems)
    612060 hymns-1.2.tar.bz2           (national hymns in MIDI format)
    699410 factbook_text_2005.tar.bz2  (CIA factbook, ASCII format)
  50589431 earthdata_med_res.tar.bz2   (required only by earthview)

Optional:
  27193880 factbook_html_2005.tar.bz2  (CIA factbook, HTML format + maps)
  46412445 pdfmaps-1.2.tar.bz2         (PDF maps from United Nations)
  29194589 eawpats12.tar.bz2           (GUS samples for the MIDI player)
   4062495 flags-2.5-svg.tar.bz2       (national flags, SVG format)
 488145582 earthdata_high_res.tar.bz2  (required only by earthview) 

Source files (not needed to run xrmap) :
   7084612 flags-2.5-src.tar.bz2       (national flags, SVG full collection)

available from ftp://ftp.ac-grenoble.fr/ge/geosciences/xrmap/data

$ make -n install | less
# checkinstall
# yast -i /usr/src/packages/RPMS/i386/xrmap-2.33-1.i386.rpm

# cd /usr/local/share/rmap
# tar xjf anthems-1.2.tar.bz2
# bzip2 -d CIA_WDB2.jpd.bz2
# tar xjf earthdata_low_res.tar.bz2
# tar xjf earthdata_med_res.tar.bz2
# tar xjf eawpats12.tar.bz2
# tar xjf factbook_html_2005.tar.bz2
# tar xjf flags-2.9-eps.tar.bz2
# tar xjf flags-2.9-svg.tar.bz2
# tar xjf flags-2.9-xpm_150.tar.bz2
# tar xjf hymns-1.3.tar.bz2
# tar xjf pdfmaps-1.3.tar.bz2

Verwendung

Programmaufruf.

$ xrmap

Weblinks