= spheremapB =

(compiled by JRW from material by EEP)


This reads the Zmap files and makes the resulting map line by line. It creates a suite of data files for a bigmap (REFMAP). It creates a raw (simple binary file) of a 2D matrix for the scaled albedo (sample_ALB) and the topography (DTM). It also creates images (pgm format) of the albedo, topography and color scaled topography.

=== Requires  ===
 * [[MAPFILES]]/ - a directory containing the full suite of maplets;
 * [[MAPLIST.TXT]] - a file listing the map files;

=== Output ===
 * <BIGMAP>_DTM.pgm - Bigmap pgm image file
 * <BIGMAP>_DTM.raw - Bigmap raw image file
 * <BIGMAP>_COL.ppm - Bigmap raw image file
 * <BIGMAP>_ALB.pgm - Big albedo map pgm image file
 * <BIGMAP>_ALB.raw - Big albedo map raw image file

=== Input - stdin ===

 * What it asks for  
{{{ 
  input ltd (deg), elon (deg), scale (km/px),
  half-sizes (px/ln), ref radius (km), tolerance (km)

 0, 0
 0.06250
 500, 500
 265
 50

  input map name

 ZN0000

 a. orthographic
 b. stereographic
 c. equirectangular

 c

  Enter reference latitude
 0


 a. 8  bit DTM
 b. 16 bit DTM

 a

 Enter i,j,h map shift (m) (eg map-lola)
   10.098592111467099        20.849462131360269     
 0, 0, 0

 Fix hmin, hmax? (y/n)
 n

 Set max slope (deg)
 60

 Lat/Lon markings? (y/n)
 n 
}}}

 * Albedo
{{attachment:sample_ALB.jpg}}

 * Color DTM
{{attachment:sample_COL.jpg}}
 
 * Greyscale DTM
{{attachment:sample_DTM.jpg}}

=== Output ===
 * <mapname>_ALB.pgm - albedo in bitmap format
 * <mapname>_ALB.raw - albedo in raw format
 * <mapname>_COL.ppm
 * <mapname>_DTM.pgm - digital terrain model - bitmap format
 * <mapname>_DTM.raw - digital terrain model - [[raw format]]