MapMaker Application Development


Contents

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:

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

Introduction to Application Development

One of MapMaker's powerful attributes is its ability to act as a cartographic work horse behind applications that use planetary global maps organized in PDS format. In particular, MapMaker works well behind web applications because of its relative speed and versatility. However, the learning curve for understanding MapMaker's basic features for use in application development can be a steep one. As a result, this manual was written to provide detailed information about MapMaker's more advanced features as they apply to a variety of applications. It is intended as a guide for software and web page developers to aid in application development, using MapMaker as a cartographic engine.

This document is split into three main parts. Part 1 demonstrates the basic techniques of application development. Part 2 discusses these techniques, providing greater detail and demonstrating more advanced techniques. Part 3 provides information for building a dataset usable by MapMaker. Numerous examples pave the way to understand the material.



Part I: Basic Application Development

As a beginning developer of MapMaker applications, you may want to use MapMaker's simplest features, including use of default or pre-configured environments and processing parameters. In addition, a simple application may make only one call to MapMaker for creating a map from start to finish rather than using complicated modular designs. Finally, you will most likely want to tell MapMaker to remove intermediate processing files, leaving behind only input and requested output files.

Four Steps to Application Development

Every application that uses MapMaker requires a four step process:
  1. Setting up the environment for MapMaker
  2. Creating input files that define the image to be created.
  3. Calling MapMaker executable modules to create the image map.
  4. Reading and processing output files
Step 1: Setting Up the Environment
Step 2: Creating Input Files Step 3: Calling MapMaker Executable Modules Step 4: Reading and Evaluating Output Files

Part II: Advanced Application Development

MapMaker has advanced features to give greater control of map generation to an application. These features include:


Four Steps to Application Development -- Revisited

Like basic application development, advanced application development also has the same basic four steps:

  1. Setting up the environment.
  2. Creating input files.
  3. Calling MapMaker executable modules.
  4. Reading and evaluating output files.

Step 1: Setting Up the Environment Step 2: Creating Input Files Step 3: Calling MapMaker Executable Modules

Step 4: Reading and Evaluating Output Files



Part III: Building a Dataset

Building a cartographic dataset from remote sensing imagery is a difficult, time-consuming task that is beyond the scope of this document. Digital cartographic techniques are described in [4], [6], [7], [9]. Before MapMaker can use these data, they must conform to several specific MapMaker rules. Demonstrating these rules is the subject of this section.

In creating a dataset, first, the image data must conform to certain key characteristics. In addition, a six part hierarchical data structure must be built using three types of files. If employed properly, a useable dataset results.

A dataset must adhere to the following requirements:

Creating Input Tiles


Sinusoidal Equal-Area Projection


PDS Labels


Compression


Sample Size


Creating Data Files


Six Level Data Hierarchy


The Dataset Index File

At the very top of the hierarchy, the "dataset.idx" file organizes all the datasets useable by MapMaker. Just like the other data files, it is found in the data directory. It organizes the datasets by maintaining the following information about each one: data set name, des file name, and a brief description. Data set name is the name that can be used in the cmd file with the DATA_SET_NAME keyword. The naming convention used is planet_mission_dataset. The des file is the name of the associated des file as it appears in the data directory. The brief description is a one line sentence that describes the dataset. When adding a new dataset, the file should be edited adding a new line with the information listed above. The following is an example of a "dataset.idx" file:

As shown above, there are several important key points to creating a dataset. The data must adhere to required characteristics. Once converted, hierarchical data files can be created. If these two parts are properly implemented, then a usable dataset should result.



References

[1] ESRI. 1994. "Image Integration." ArcScan and Image Integration. pp65 - 73. Redlands: Environmental Systems Research Institute, Inc.

[2] JPL. 1996. Planetary Data System Data Dictionary. JPL D-7116. Rev D. Pasadena: Jet Propulsion Laboratories.

[3] JPL. 1992, Planetary Data System Standards Reference. JPL Document D-7669. Pasadena: Jet Propulsion Laboratories.

[4] Batson, R. M. 1987. "Digital Cartography of the Planets: New Methods, Its Status, and Its Future." Photogrammetric Engineering and Remote Sensing, Vol. 53, No. 9, pp. 1211-1218.

[5] Batson, R.M. and Eliason, E. M. 1995. "Digital Maps of Mars." Photogrammetric Engineering and Remote Sensing, Vol. 61, No. 12, pp.1499-1507.

[6] Edwards, E. 1997. "Geometric Processing of Digital Images of the Planets." Photogrammetric Engineering and Remote Sensing, Vol. 53, No 9, pp 1219-1222.

[7] Eliason, E. M., Batson, R. M. and Manley, A. 1991. Mars Mosaicked Digital Image Model (MDIM) and Digital Terrain Model (DTM). Flagstaff: Branch of Astrogeology, United States Geological Survey

[8] Eliason, E. M., LaVoie, S. K., Soderblom, L. A. 1996. "The Imaging Node at the Planetary Data System." Planet Space Sci. Vol. 44, No. 1, pp23-37.

[9] Syder, J.P. 1982. "Map Projections Used by the U.S. Geological Survey." Geological Survey Bulletin 1532, U.S. Government Printing Office, 313 p.

[10] Primary Authors; McEwen, A., Robinson M., Eliason, E., Isbell, C., Lee, E., Becker, T. 1997. Clementine Basemap Mosaic, NASA and PDS Volumes CL_3001 through CL_3015 distributed by the Planetary Data System.


Last modified November 1, 2000.