MapMaker Version 2.0 Installation and Configuration Manual


ABSTRACT

MapMaker is a cartographic processing tool for generating tailor-made image maps of planetary surfaces. Maps are defined by specifying a dataset, latitude and longitude range, map scale (or resolution), map projection, and output format. Processing options such as contrast stretch and grid overlay can additionally be specified.

The sources of input for MapMaker are the digital global maps produced for NASA by flight projects and the Planetary Geology and Geophysics program. The global maps, contained on CD-ROM media, include the Mars MDIM series, Venus F-Map, and Clementine basemap mosaics. These data products are available through the Planetary Data System Imaging Node.

MapMaker is primarily intended as a "cartographic engine" for high-level applications that require custom maps of planetary surfaces. An application creates a command file describing a map to be produced and then launches MapMaker to create the map. The resulting map can be included in additional processing by the application. MapMaker has been used successfully in the World Wide Web applications "Mars Explorer for the Armchair Astronaut" and the "PDS Map-A-Planet".

MapMaker can additionally operate as a stand-alone program. The "mmedit" interface allows a user to specify a map to be produced by MapMaker.



DOCUMENT SUMMARY



SYSTEM REQUIREMENTS

MapMaker was developed and tested on a two 90Mhz processor Sun Sparc20 platform running Solaris 2.5.1 operating system. It has also been ported to a PC workstation running RedHat Linux version 6.1.



INSTALLATION

Uncompressing and Extracting

MapMaker 2.0 is distributed as a compressed tar file and must be uncompressed and extracted in the directory where it will reside. The following steps will install MapMaker:

     Step 1: Move the compressed tar file to where MapMaker will reside.
     Step 2: Uncompress MapMaker with the command appropriate to your operating system:

             SUN/Solaris:  uncompress MM2_0.solaris.tar.Z
             PC/Linux:     uncompress MM2_0.redhat.tar.Z

     Step 3: Extract MapMaker with the command appropriate to your operating system:

             SUN/Solaris:  tar -xvf MM2_0.solaris.tar
             PC/Linux:     tar -xvf MM2_0.redhat.tar
The entire MapMaker directory structure and file systems will be installed in the directory where the tar file was uncompressed and extracted. The finished directory structure should match the following hierarchy:
	mapmaker ---+-------  exec-------------+---- mmengine
			      |		       |---- mm0
			      |		       |---- mm1
			      |		       |---- mm2
			      |		       |---- mmedit
			      |		       |---- editcmd
			      |		       \---- mminit.csh
			      |		         
			      data ------------+---- dataset.idx
 			      |	               |---- locator files
			      |                |---- descriptor files
			      |                |---- PDS skeleton files
			      |                |---- template.pdt
			      |                \---- template.cmd
			      |
			      \----- docs -----\---- HTML docs 
This directory structure separates the executable files, data files, and informational documents.



INITIAL CONFIGURATION

After installation, the MapMaker environment variables must be properly configured. These environment variables are contained in the script mminit.csh (absolute path = /pathname/mapmaker/exec/mminit.csh where pathname is the directory that MapMaker was installed in). The following steps will set up the environment variables correctly:

Once these changes have been made, MapMaker has been configured to work on the system. To use the configured environment, the mminit.csh script must be initialized every time a new user session is started. The UNIX "source" command accomplishes this (see MAPMAKER BASIC USERS MANUAL: HOW TO RUN MAPMAKER).

Example: The following command line will initialize the mminit.csh script:



ADDING A DATASET

Current Data Sets

To set up a dataset for MapMaker, the associated datafiles must be in place. MapMaker datafiles come in sets comprised of a descriptor file, its associated locator files, and a PDS skeleton file. These files reside in the mapmaker/data/ directory. The MapMaker installation package contains datafiles for several data sets. The actual cartographic data resides on CD-ROM sets that must be obtained, installed, and configured for MapMaker to use them. For information on obtaining dataset CD-ROMs, see "Where To Get a New Dataset" at the end of this section. Where and how CD-ROMs are installed is system dependent, whether accessed individually by a CD-ROM drive, installed on a jukebox, or saved directly to the hard drive, and is not within the scope of this document. To configure a system so that MapMaker can access the dataset CD-ROMs, see the INITIAL CONFIGURATION section earlier in this document. The following datasets' datafiles come with the MapMaker configuration package:

Descriptor File

The descriptor file has the dataset name as a filename with a ".des" extension. This file contains information about the dataset as a whole, including planetary information, pointers to label templates, and pointers to locator files.

Locator File

The locator file has the dataset name followed by the resolution as a filename with a ".loc" extension. The locator file contains a complete listing of the available images of a particular resolution and bandwidth. Each listing contains information on image latitude/longitude limits, resolution, offsets, size, etc. If a dataset has multiple resolutions or bandwidths it will have multiple locator files.

PDS Skeleton File

The PDS skeleton file has the dataset name as a filename with a ".pdt" extension. The PDS skeleton file is used to create maps with a Planetary Data System header. Each data set has a skeleton file containing pertinent mission information (e.g. mission name, spacecraft name, instrument name, etc.) as well as fields describing the image that are filled in at run time. MapMaker provides a generic skeleton label, template.pdt, that it will use when a skeleton label with the dataset name is not found.

To Add the Dataset

To add a dataset, perform the following steps:

Once the required CD-ROMS are installed on the system and the correctness of the dataset.idx file and the descriptor files has been verified, installation is complete.

Where To Get a New Dataset

There are several global planetary mosaic datasets supported by MapMaker. The CD-ROM sets that contain this data can be purchased by the general public from the National Space Science Data Center (NSSDC). The necessary dataset files can also be obtained by contacting the Planetary Data Systems Imaging Node. Users can also generate their own datasets (see MAPMAKER APPLICATION DEVELOPMENT: PART III: BUILDING A DATASET).



BUG REPORTING

This is the second release of the MapMaker software. If a bug is encountered while using this software, or if positive, helpful, happy suggestions come to mind, please contact one of the following people at the PDS Imaging Node:




DISCLAIMER

Although this program has been used by the United States Geological Survey (USGS), no warranty, expressed or implied, is made by the USGS or the United States Government as to the accuracy and functioning of the program and related program material, nor shall the fact of the distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith.


Last modified November 1, 2000.