FILE TYPE DESCRIPTION: ARE Data Type: ASCII Description: Area of colors in raster map file (RMP) Made By: rastmap /a Made From: RMP Used By: n/a Format: 96578.711 thousand sq.km. 23865.119 million acre (() 450.064 thousand sq.km. 111.213 million acre (cat) 36740.426 thousand sq.km. 9078.757 million acre ((e) 760.766 thousand sq.km. 187.989 million acre ((g) 3302.108 thousand sq.km. 815.969 million acre ((q) . . . . . . . . . . . . . . . . . . . . . 11986.230 thousand sq.km. 2961.862 million acre (Yv) 35320.395 thousand sq.km. 8727.859 million acre (Z) 4166.082 thousand sq.km. 1029.461 million acre (Zg) 2970.763 thousand sq.km. 734.092 million acre (Zv) 12339.740 thousand sq.km. 3049.216 million acre (TOTAL) 38.975 thousand sq.km. 9.631 million acre (Background) Related Files: none ---------------------------------------------------------------------------- FILE TYPE DESCRIPTION: ATR Data Type: Binary long Description: Map Lines -- One of three files which makes up a set of binary files defining vector lines in latitude and longitude. This file contains all of the attributes. Made By: reorder Made From: RAW Used By: filter, imvis, latlon, linefix, makeraw, mapper, reorder,thinraw, xy Format: byte[0] 4 bytes (long) attribute of line 0 byte[4] 4 bytes (long) attribute of line 1 byte[8] 4 bytes (long) attribute of line 2 . . . . . . . . . . . . . . . . . . . . . . . . byte[N*4] 4 bytes (long) attribute of line M where: M = N-1 Related Files: BIN, HDR, RAW, XYC --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: BIN Data Type: Binary long Description: Map Lines -- One of three files which makes up a set of binary files defining vector lines in latitude and longitude. This file contains all of the locational information and can be used to reconstruct RAW files, but the ATR file is needed if attributes are meaningful. Made By: reorder Made From: RAW Used By: filter, imvis, latlon, linefix, makeraw, mapper, reorder,thinraw, xy Format: byte[0] 2 bytes (short) number of lines in file (N) byte[2] 2 bytes (short) number of points in line 0 (M) byte[4] 16 bytes 4 (float) data range of line min lon, max lon, byte[20] 8*M bytes (float) lat and (float) lon of each of M points repeat from byte 2 a total of N times Related Files: BIN, HDR, RAW, XYC Related Programs: filter, imvis, latlon, linefix, makeraw, mapper, reorder, thinraw, xy --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: BLB Data Type: Binary Description: Binary Labels of Map Polygons -- Gives the number of a color used to fill polygon. Color assignments are listed in the MAP file. Made By: makeblb Made From: LAB Used By: mapper, makelab Format: byte[ 0] 2 bytes (short) ID number byte[ 2] 2 bytes (short) color2 byte[ 4] 8 bytes (double) latitude byte[12] 8 bytes (double) longitude repeat these 20 bytes for each point in LAB file Related Files: BLB, MRK, GRF, MAP --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: BPT Data Type: Binary Description: Pointers to lines of text -- This file is used by text reading programs to find the first character of lines of text. The pointers are negative if there is a form feed (hard page break). Made By: browse Made From: any text file Used By: browse, mapper Format: byte[0] 4 bytes (long) number of lines in file N byte[4] 2 bytes (short) text file date byte[6] 2 bytes (short) text file time byte[8] 4 bytes (long) * N offsets line offsets byte[8+N*4] 2 bytes (short) * N line lengths Related Files: HDR Related Programs: none --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: BWV Data Type: Binary Description: Triangles in Space -- This file contains a special set of XYZ locations of points in space that define triangles made using Delaunay tri- angulation plus a normal unit vector from the triangle mean XYZ. This is the binary version of WVF but cannot easily be converted back to WVF format since the vertices are listed more than once. Made By: waveprep Made From: WVF Used By: wave Format: byte[ 0] 12 bytes 3*(float) X,Y,Z for point 0 of triangle 0 byte[12] 12 bytes 3*(float) X,Y,Z for point 1 of triangle 0 byte[24] 12 bytes 3*(float) X,Y,Z for point 2 of triangle 0 byte[36] 12 bytes 3*(float) X,Y,Z for base of surface normal byte[48] 12 bytes 3*(float) X,Y,Z for end of surface normal Repeat 60 bytes for each triangle as needed to define surface. Related Files: 3D, CTL, DAT, LBL, PC, PAL, TGA, WVF --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: CMG Data Type: Binary Description: Color Image Data -- 24 bit image file of band interweaved image data usually made from 3 image planes. Made By: imvis Made From: HDR, DAT Used By: img8bit Format: byte[ 0] 2 bytes (short) image rows [row] byte[ 2] 2 bytes (short) image columns [col] byte[ 4] col bytes (unsigned char) red pixels byte[ 4+col*1] col bytes (unsigned char) green pixels byte[ 4+col*2] col bytes (unsigned char) blue pixels etc. Related Files: HDR, LBL, PAL, DAT --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: COL Data Type: ASCII Description: Collage Description File -- A plain text file which completely describes a collage and lists all information that is necessary for viewing the collage. Made By: word processor Made From: n/a Used By: collage Format: p 0.5 18.3 -66.44 10.0 The 1st line has a character and 4 numbers. The character is the projection p = plate carree or x-y projection (recomended) a = Albers equal area s = polarstereographic S = sinusoidal m = Mercator The numbers determine the area and size to plot: 0.5 is pixel size of center pixel in kilometers 18.3 is latitude of center pixel -66.4 is longitude of center pixel 10.0 is a number of no use but it must be there begin_color You can define up to 16 VGA black = 0 0 0 (or EGA) colors here for use d_grey = 46 46 46 in line work. The format is l_grey = 128 128 128 a color name, =, then a red, white = 255 255 255 green, and blue color value. buff = 105 90 75 l_buff = 130 111 93 brown = 96 28 14 red = 255 0 0 orange = 255 128 0 yellow = 160 160 0 green = 0 200 0 d_green = 0 120 0 vd_green = 0 72 0 blue = 30 60 255 d_blue = 0 20 60 magenta = 255 0 255 end_color This must be here to mark end menu_background = d_grey The pull down menu can be made text = l_grey any color but something must highlight = white be given for each item. background = buff Buff is the blank screen color. graticule = l_buff lat/lon = d_grey black = black begin_vector begin_collage color_lut = grey.lut assignment = grey.asn missing = 127 minimum_pixel = 0.070 begin_image ------------------------------------------------------------------- name maxpix minpix row col N a0 a1 -------------------------------------------------------------------- glor_03z.dat 17.01 5.670 44 35 2 41.0 -0.045455 glor_03y.dat 5.670 1.890 133 106 2 41.0 -0.015038 glor_03x.dat 1.890 0.630 400 320 2 41.0 -0.005 glor_03w.dat 0.630 0.210 1200 960 2 41.0 -0.0016667 glor_03.dat 0.210 0.070 3600 2880 2 41.0 -0.0005555 end_image end_collage The above is a list of the images to be plotted. 'Maxpix' and 'minpix' refer to the pixel size of the screen for plotting the appropriate image file. Each file is 1/9th the size of the previous one. They are made by taking every third pixel of every third row with the program SAMPLE. For the smallest image, averaging is sometimes used. The coefficients a0, a1, etc. are for projecting the pixel from x/y to lat/lon. The order of the coefficients is: lat = a0 + a1*y + a2*y*y + a3*x + a4*x*x + a5*x*y lon = b0 + b1*x + b2*x*x + b3*y + b4*y*y + b5*x*y geology = 2 ON east_geo 3.0 0.0 d_grey west_geo 3.0 0.0 d_grey A list of the vector filenames must be given with group names. You can have up to 25 groups and up to 25 vectors in a group. The group names are used while the program is running to identify vectors for plottong or labeling. Each group name is followed by '=', the number of vectors in the group, and the word 'ON' or 'OFF' to tell whether to plot it the first time through. Each vector name is followed by a maximum pixel size, a minimum pixel size, and the color (from above) to plot the vector. In this example, we are going to color in geologic formations so the first vectors (lines) to be plotted are the polygons defining the formations on the map. They will be plotted when the pixel size is less than 3 km. end_vector More vectors and an 'end_vector' statement which ends the file. Sample: p 1.7 39.5 -71.0 10.0 begin_color black = 0 0 0 d_grey = 46 46 46 l_grey = 128 128 128 white = 255 255 255 buff = 105 90 75 l_buff = 130 111 93 brown = 96 28 14 red = 255 0 0 orange = 255 128 0 yellow = 160 160 0 green = 0 200 0 blue = 0 0 200 d_blue = 0 20 60 cyan = 0 255 255 m_cyan = 0 120 120 d_cyan = 0 60 60 end_color menu_background = d_grey text = l_grey highlight = white background = buff graticule = l_buff lat/lon = d_grey black = black begin_vector images = 1 ON gloria 100.0 0.0 d_blue begin_collage color_lut = grey.lut assignment = grey.asn missing = 127 minimum_pixel = 0.070 begin_image --------------------------------------------------------------- name maxpix minpix row col N a0 a1 ---------------------------------------------------------------* glor_03z.dat 17.01 5.670 44 35 2 41.0 -0.045455 glor_03y.dat 5.670 1.890 133 106 2 41.0 -0.015038 glor_03x.dat 1.890 0.630 400 320 2 41.0 -0.005 glor_03w.dat 0.630 0.210 1200 960 2 41.0 -0.0016667 glor_03.dat 0.210 0.070 3600 2880 2 41.0 -0.00055555 end_collage bathymetry = 6 OFF a_b0250b 1.0 0.3 M_CYAN a_b0250 0.3 0.0 M_CYAN a_b0500b 3.0 0.3 M_CYAN a_b0500 0.3 0.0 M_CYAN a_b1000b 3.0 0.3 CYAN a_b1000 0.3 0.0 CYAN geology = 1 OFF geology 100.0 0.0 YELLOW seismic = 3 OFF atlana 100.0 3.0 ORANGE atlanb 3.0 0.3 ORNAGE atlan 0.3 0.0 ORANGE tracks = 3 OFF tracka 100.0 3.0 RED trackb 3.0 0.3 RED track 0.3 0.0 RED shore = 3 ON e_shorea 100.0 3.0 D_BLUE e_shoreb 3.0 0.3 D_BLUE e_shore 0.3 0.0 D_BLUE state = 3 ON statla 100.0 3.0 RED statlb 3.0 0.3 RED statl 0.3 0.00 RED county = 3 OFF cntyla 3.0 1.00 BROWN cntylb 1.0 0.3 BROWN cntyl 0.3 0.0 BROWN water_bodies = 9 OFF wtrb2a 10.0 3.0 D_BLUE wtrb2b 3.0 0.3 D_BLUE wtrb2 0.3 0.0 D_BLUE wtrb3b 3.0 0.3 D_BLUE wtrb3 0.3 0.0 D_BLUE wtrb4b 1.0 0.3 D_BLUE wtrb4 0.3 0.0 D_BLUE wtrb5 0.3 0.0 D_BLUE wtrb6 0.3 0.0 D_BLUE streams = 9 OFF strm1a 10.0 3.0 D_BLUE strm1b 3.0 0.3 D_BLUE strm1 0.3 0.00001 D_BLUE strm2b 1.5 0.3 D_BLUE strm2 0.3 0.00001 D_BLUE strm3b 0.5 0.3 D_BLUE strm3 0.2 0.00001 D_BLUE strm4 0.1 0.00001 D_BLUE strm5 0.05 0.00001 D_BLUE end_vector Related Files: HDR, BIN, ATR, ?CL, MAP --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: CTL Data Type: ASCII Description: Script of Operations for Rendering Objects -- This file contains instructions to control the rotation, translation, and scaling of objects rendered by program wave. The script acts as a batch file to make a series of images. Made By: word processor Made From: n/a Used By: wave Format: input = [input file name (type BWV is understood)] [action] [amount] [action] [amount] . . . . [action] [amount] output = [output file name (no type)] plot or mesh (plot makes an image -- mesh draws a wire mesh used for checking the script before printing) Repeat as needed ACTIONS: rot_x -90 pushes top of image back 90 degrees rot_y 90 pushes right side of image back 90 degrees rot_z 25 rotates image 25 degrees counter clockwise move_x 0.25 moves image to right 0.25 inches move_y 0.25 moves image up 0.25 inches move_z 0.25 moves image out of screen right 0.25 inches set_size 50 sets image scale to 50 pixels/inch scale_size 0.95 reduces images scale by 5% set_view 2500 sets viewing point 2500 pixels from screen (2500/50 = 50 inches) scale_view 1.05 moves view point out 5% vertical 2.0 doubles the z axis Sample: input = va move_y 4 move_x -10 move_z 5 set_size 35 rot_x -90 rot_y -90 rot_x 10 output = vatopo_w plot rot_x -10 rot_y 180 move_z 12 move_x -.50 rot_x 25 output = vatopo_e plot Related Files: 3D, BVW, DAT, LBL, PAL, PC, TGA --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: CTR Data Type: ASCII Description: Contour Color File -- Lists Z ranges, colors and scale information which can be obtained from the header in the WVF file. Made By: word processor Made From: n/a Used By: wave Sample: -2.756676392 = mid_z (km) 3.016983 scale km/in 10.00 last vertical exaggeration height (km) r g b 0.000 255 255 255 0.250 0 0 0 0.500 0 0 0 0.750 0 0 0 1.000 255 255 255 1.250 0 0 0 1.500 0 0 0 1.750 0 0 0 2.000 255 255 255 2.250 0 0 0 2.500 0 0 0 Note: The min/max values are in kilometers and the r, g and b values are the colors of the brightest shading of the range. If a Z value does not fall within at least one of the ranges above it will not be plotted at all. The color RGB values range from 0 to 255. Each triangle is colored based on the Z value of the base of the normal vector. Some sample colors follow: r g b red 255 0 0 orange 255 128 0 yellow 255 255 0 green 0 255 0 cyan 0 255 255 blue 0 0 255 magenta 255 0 255 light blue 128 128 255 pink 255 128 128 white 255 255 255 Related Files: 3D, BVW, DAT, LBL, PAL, PC, TGA --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: DAT Data Type: Binary Description: Image Data File -- A list of binary numbers which create an image if they are displayed starting with the first pixel in the upper left corner and going row by row down the screen. The number of rows and columns are found in the LBL file and the colors for pixel values are found in the PAL file. Made By: imvis, img8bit, xmp2lbl, wave, view3d, clip, etc. Made From: n/a Used By: imvis, show FORMAT: binary array -- each entry size given by the SAMPLE_BITS entry in the LBL file. If not otherwise stated the file is made up of (unsigned char) entries (1 byte per pixel). Related Files: PAL, DAT, EGN, CMG, TGA --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: D32 Data Type: Binary Description: Elevation array Made By: splnbin Made From: HDR, BIN, ATR Used By: trigrid Format: A large array of 4 byte, float elevations starting in the upper left corner and moving row by row down the grid. Points are arranged by latitude and longitude with fixed lat/lon differences between points. Related Files: LBS, WVF Related Programs: mapsplin, splnbin, trigrid, waveprep, wave --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: D64 Data Type: Binary Description: Elevation array Made By: splnbin Made From: HDR, BIN, ATR Used By: trigrid Format: A large array of 4 byte, float elevations starting in the upper left corner and moving row by row down the grid. Points are arranged by latitude and longitude with fixed lat/lon differences between points. Related Files: LBS, WVF Related Programs: mapsplin, splnbin, trigrid, waveprep, wave --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: EGN Data Type: Binary Description: Eigen Vector Image Data File -- A DAT file created by program eigen. It is a list of binary numbers which create an image if they are displayed starting with the first pixel in the upper left corner and going row by row down the screen. Made By: eigen Made From: n/a Used By: imvis FORMAT: binary array -- each entry size given by the SAMPLE_BITS entry in the LBL file. If not otherwise stated the file is made up of (unsigned char) entries (1 byte per pixel). Related Files: PAL, DAT FILE TYPE DESCRIPTION: GRF Data Type: ASCII Description: Graph and Icon + Text file -- Contains information for plotting pie charts or icon graphs with or without text. You may string as many as you like together of any type into a single file. The entire file is plotted as a unit. You can control the scale at which they are plotted using the PIXEL_RANGE. The icon is plotted with the lat/lon at the center pixel if no HOT_SPOT is given. If a HOT_SPOT is given the icon is placed over the lat/lon coordinate. The colors are numbers 0x0 through 0xf taken from the MAP file definition of 16 vector colors used to draw lines. Made By: word processor Made From: MRK Used By: mapper, imvis Sample: Color Highway Symbol and Route Numbers: TYPE = RECTANGLE+TEXT '*' does not plot, 1&2 dgt Interstate PIXEL_RANGE = 6.0 0.0 km COLORS = 2 d = blue 7 = red TEXT_COLOR = 3 white TEXT_SIZE = 3 SYMBOL_ROWS = 20 HOT_SPOT 10 SYMBOL_COLS = 17 HOT_SPOT 8 BEGIN_SYMBOL * * 7 * * * * * 7 * * * * * 7 * * * * 7 * * * * 7 7 7 * * * * 7 * * * 7 7 7 * * 7 7 7 7 7 * * 7 7 7 * * 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 * * 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 * 7 f f f f f f f f f f f f f f f 7 7 f f f f f f f f f f f f f f f 7 7 f f f f f f f f f f f f f f f 7 7 f f f f f f f f f f f f f f f 7 7 f f f f f f f f f f f f f f f 7 7 f f f f f f f f f f f f f f f 7 * 7 f f f f f f f f f f f f f 7 * * 7 f f f f f f f f f f f f f 7 * * 7 f f f f f f f f f f f f f 7 * * * 7 f f f f f f f f f f f 7 * * * * 7 f f f f f f f f f f f 7 * * * * * 7 f f f f f f f f f 7 * * * * * * * 7 f f f f f f f 7 * * * * * * * * * 7 7 f f f 7 7 * * * * * * * * * * * * 7 7 7 * * * * * * * END 66 38.847950 -77.742912 66 66 38.876482 -77.278376 66 66 38.921656 -78.118820 66 81 39.245014 -78.124932 81 81 39.054804 -78.231898 81 81 38.859838 -78.546682 81 81 38.477040 -78.800344 81 TYPE = RECTANGLE+TEXT ['*' does not plot] 3 digit Interstate PIXEL_RANGE = 6.0 0.0 km COLORS = 2 13 = blue 7 = red TEXT_COLOR = 3 white TEXT_SIZE = 3 SYMBOL_ROWS = 20 SYMBOL_COLS = 19 BEGIN_SYMBOL * * 7 * * * * * * 7 * * * * * * 7 * * * * 7 * * * * * 7 7 7 * * * * * 7 * * * 7 7 7 * * * 7 7 7 7 7 * * * 7 7 7 * * 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 * * 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 * 7 f f f f f f f f f f f f f f f f f 7 7 f f f f f f f f f f f f f f f f f 7 7 f f f f f f f f f f f f f f f f f 7 7 f f f f f f f f f f f f f f f f f 7 7 f f f f f f f f f f f f f f f f f 7 7 f f f f f f f f f f f f f f f f f 7 * 7 f f f f f f f f f f f f f f f 7 * * 7 f f f f f f f f f f f f f f f 7 * * 7 f f f f f f f f f f f f f f f 7 * * * 7 f f f f f f f f f f f f f 7 * * * * 7 f f f f f f f f f f f f f 7 * * * * * 7 f f f f f f f f f f f 7 * * * * * * * 7 7 f f f f f f f f 7 * * * * * * * * * * 7 7 f f f 7 7 7 * * * * * * * * * * * * * 7 7 7 * * * * * * * * END 295 37.575949 -77.310193 295 295 37.685320 -77.499977 295 264 36.827487 -76.311532 264 TYPE = RECTANGLE+TEXT ['*' does not plot] 3 digit US PIXEL_RANGE = 0.7 0.0 km COLORS = 2 0 = black 3 = white TEXT_COLOR = 0 TEXT_SIZE = 3 SYMBOL_ROWS = 13 SYMBOL_COLS = 19 BEGIN_SYMBOL * * 0 * * * * * * 0 * * * * * * 0 * * * 0 3 0 0 0 0 0 0 3 0 0 0 0 0 0 3 0 * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * * * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * * * * * 0 0 0 0 0 0 3 0 0 0 0 0 0 * * * * * * * * * * * * 0 * * * * * * * * * END 340 39.110264 -78.028200 340 340 38.822571 -78.330510 340 340 38.508723 -78.620605 340 522 39.367048 -78.306081 522 522 39.010403 -78.165613 522 TYPE = RECTANGLE+TEXT ['*' does not plot] PIXEL_RANGE = 0.7 0.0 km ( US Routes 1 & 2 digit ) COLORS = 2 0 = black 3 = white TEXT_COLOR = 0 TEXT_SIZE = 3 SYMBOL_ROWS = 13 SYMBOL_COLS = 15 BEGIN_SYMBOL * * 0 * * * * 0 * * * * 0 * * * 0 3 0 0 0 0 3 0 0 0 0 3 0 * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * 0 3 3 3 3 3 3 3 3 3 3 3 0 * * 0 3 3 3 3 3 3 3 3 3 3 3 0 * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * 0 3 3 3 3 3 3 3 3 3 3 3 0 * * * 0 3 3 3 3 3 3 3 3 3 0 * * * * * 0 0 0 0 3 0 0 0 0 * * * * * * * * * * 0 * * * * * * * END 1 38.762355 -77.085838 1 1 38.593544 -77.302825 1 29 38.832766 -77.375915 29 29 38.767734 -77.731390 29 29 38.558654 -77.817499 29 29 38.399352 -78.226686 29 15 39.027047 -77.628173 15 15 39.214880 -77.539618 15 TYPE = RECTANGLE+TEXT ['*' does not plot] 3 digit state route PIXEL_RANGE = 0.5 0.0 km COLORS = 2 0 = black 9 = yellow TEXT_COLOR = 0 TEXT_SIZE = 3 SYMBOL_ROWS = 13 HOT_SPOT 6 SYMBOL_COLS = 19 HOT_SPOT 9 BEGIN_SYMBOL * * * * * * 0 0 0 0 0 0 0 * * * * * * * * * * 0 0 3 3 3 3 3 3 3 0 0 * * * * * * 0 0 3 3 3 3 3 3 3 3 3 3 3 0 0 * * * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * * 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 * * * 0 0 3 3 3 3 3 3 3 3 3 3 3 0 0 * * * * * * 0 0 3 3 3 3 3 3 3 0 0 * * * * * * * * * * 0 0 0 0 0 0 0 * * * * * * END 267 38.944118 -77.356784 267 229 38.581122 -77.978984 229 259 39.237107 -78.391565 259 200 37.789936 -76.379348 200 TYPE = RECTANGLE+TEXT ['*' does not plot] 2 digit state route PIXEL_RANGE = 0.5 0.0 km COLORS = 2 0 = black 9 = yellow TEXT_COLOR = 0 TEXT_SIZE = 3 SYMBOL_ROWS = 13 HOT_SPOT 6 SYMBOL_COLS = 13 HOT_SPOT 6 BEGIN_SYMBOL * * * * 0 0 0 0 0 * * * * * * 0 0 3 3 3 3 3 0 0 * * * 0 3 3 3 3 3 3 3 3 3 0 * * 0 3 3 3 3 3 3 3 3 3 0 * 0 3 3 3 3 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 3 3 3 3 0 * 0 3 3 3 3 3 3 3 3 3 0 * * 0 3 3 3 3 3 3 3 3 3 0 * * * 0 0 3 3 3 3 3 0 0 * * * * * * 0 0 0 0 0 * * * * END 28 38.918189 -77.429984 28 28 38.775584 -77.456602 28 20 38.257019 -78.042202 20 20 38.301097 -77.839238 20 55 39.076352 -78.418183 55 33 37.606859 -76.548045 33 TYPE = RECTANGLE+TEXT ['*' does not plot] 1 digit state route PIXEL_RANGE = 0.5 0.0 km COLORS = 2 0 = black 9 = yellow TEXT_COLOR = 0 TEXT_SIZE = 3 SYMBOL_ROWS = 13 HOT_SPOT 6 SYMBOL_COLS = 9 HOT_SPOT 5 BEGIN_SYMBOL * * * 0 0 0 * * * * * 0 3 3 3 0 * * * 0 3 3 3 3 3 0 * * 0 3 3 3 3 3 0 * 0 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 0 0 3 3 3 3 3 3 3 0 * 0 3 3 3 3 3 0 * * 0 3 3 3 3 3 0 * * * 0 3 3 3 0 * * * * * 0 0 0 * * * END 7 39.008026 -77.356400 7 7 39.129285 -77.768641 7 3 38.275169 -77.413348 3 3 38.407403 -77.825929 3 Invisible Icon and Centered text of County Names: TYPE = RECTANGLE+TEXT ['*' does not plot] PIXEL_RANGE = 10.0 0.0 km COLORS = 1 9 = yellow TEXT_COLOR = 3 TEXT_SIZE = 2 SYMBOL_ROWS = 3 SYMBOL_COLS = 3 BEGIN_SYMBOL 0 0 0 0 0 0 0 0 0 END Accomack_VA 37.718000 -75.701400 Accomack_VA Albermarle_VA 38.032200 -78.566300 Albermarle_VA Alleghany_VA 37.777800 -80.031700 Alleghany_VA Icon and shifted text: TYPE = RECTANGLE+TEXT ['*' does not plot] PIXEL_RANGE = 6.0 0.0 km COLORS = 2 d = blue 7 = red TEXT_COLOR = 3 white TEXT_SIZE = 2 SYMBOL_ROWS = 3 SYMBOL_COLS = 3 BEGIN_SYMBOL 3 3 3 3 * 3 3 3 3 END VA1A______ 38.110004 -79.027919 VA1A ATLAN_27__________ 38.022001 -74.951676 ATLAN_27 ATLAN_28__________ 37.405977 -75.454227 ATLAN_28 ATLAN_29__________ 36.467274 -75.547292 ATLAN_29 Related Files: MRK, LOC --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: HDR Data Type: Binary long Description: Map Lines -- One of three files which makes up a set of binary files defining vector lines in latitude and longitude. This file contains the lat/lon range of each line segment and the offset of the line in the BIN file. Made By: reorder Made From: RAW Used In: filter, imvis, latlon, linefix, makeraw, mapper, reorder,thinraw, xy Format: byte[0] 2 bytes int number of lines in file (N) byte[2] 4 bytes long offset of data in BIN file byte[6] 16 bytes 4 float data range of line min lon, max lon, min lat, max lat repeat for N entries. Related Files: BIN, HDR, RAW, XYC Related Programs: filter, imvis, latlon, linefix, makeraw, mapper, reorder, thinraw, xy --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: KMP Data Type: Binary Description: Raster image of a map key which can be veiwed with program imvis or converted to a Targa file using program lbl2tga for export to other systems. The KMP file and the LBL file will have the same name as the PMP file with a prefix of the letter K. If the PMP file name is eight char- acters long the last character is dropped. The PAL file will be the one for the RMP (raster map) file. Made By: rastmap /k Made From: PMP file Used By: imvis, lbl2tga Format: unsigned char pixels row x column in number Related Files: PMP, RMP, LBL, PAL --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: LAB Data Type: ASCII Description: Labels of Map Polygons -- Gives the number of a polygon fill color as listed in the MAP file. Made By: makelab, mapper /l [name].lab Made From: reconstructed from BLB or made from paper map Used By: makeblb Sample: num ID latitude longitude color 0 0 38.316261 -78.161830 11 11 0 0 38.385930 -78.136708 101 101 0 0 38.283259 -78.209738 101 101 0 0 38.311677 -78.192795 101 101 0 0 38.276384 -78.319574 96 96 0 0 38.385472 -78.223759 96 96 0 0 38.309385 -78.221422 96 96 The first line is a header and will not be read by program makeblb. If the header is not present the first line of data will be ignored. The extra integer numbers (num and ID) and the double color entry are for historical reasons but of no consequence since the user never makes entries to this file. Program mapper makes LAB files if the /l option is specified and a LAB file name is given. Related Files: BLB, MRK, GRF, MAP --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: LBL Data Type: ASCII Description: Image Label File -- A plain text file which completely describes an image or a list of registered images and lists all information that is useful for viewing the image. Made By: imvis, eigen, img8bit, xmp2lbl, wave, view3d, clip, word pro- cessors etc. Made From: n/a Used By: imvis Samples: SIMPLE FILE ID: The minimum information necessary to view an image. The color palette will be monochrome (shades of grey). This image is 640 pixels wide and 480 pixels high. The pixel values which make up the image are in a file named G3D.DAT. IMAGE_LINES = 480 LINE_SAMPLES = 640 IMAGE_POINTER = 'G3D.dat' MADE BY PROGRAM 'CLIP': Additional entries are as follows: (1) FILE TYPE : which is not used by any of the read programs but helps identify the use of the file. The palette file name gives the color assignments for the various pixel values of the image. The comments the describe the source image are for you to read but are not used by other programs. The main use of this is for you to be able to create other like images or know the starting point if you wish to change the location or size of the clipped image. FILE_TYPE = IMAGE IMAGE_LINES = 2984 LINE_SAMPLES = 3584 IMAGE_POINTER = 'ch1_2.dat' PAL_POINTER = 'ch1_2.pal' Source image = 'ch1.dat' Source_Image_Rows = 5972 Source_Image_Cols = 7168 Source_Image_Row1 = 4 Source_Image_Col1 = 0 Sample_Rate = 2 OutPut_Rows = 5968 OutPut_Cols = 7168 END (2) IMAGE SET LABEL : This is not an image but is a set of images which program imvis uses to make color composite images from combinations of the image planes listed. This particular set of images was made by program eigen as was this LBL file. The numbers following the file names give a contrast range. In this case all values from 1 to 255 are used. FILE_TYPE = IMAGE IMAGE_LINES = 960 LINE_SAMPLES = 1280 SET_POINTER = 7 ls_egn01.egn 1 255 ls_egn02.egn 1 255 ls_egn03.egn 1 255 ls_egn04.egn 1 255 ls_egn05.egn 1 255 ls_egn06.egn 1 255 ls_egn07.egn 1 255 END (3) MADE BY PROGRAM IMVIS USING IMAGE SET LABEL: This is a special LBL file which was made by program imvis from three separate files. The red plane is made from file ls_egn01.egn (the 1st eigen vector scale image). This image was scaled with data value 13 being 0, data value 73 became 127, and data value 134 is 255. This scaling was done to each image before converting it to 8 bit color. FILE_TYPE = IMAGE IMAGE_LINES = 960 LINE_SAMPLES = 1280 IMAGE_POINTER = 'egn123.dat' PAL_POINTER = 'egn123.pal' PALETTE_POINTER = 'egn123.pal' SAMPLE_RATE = 1 CHANNEL_INPUT: RED = ls_egn01.egn Range = 13 73 134 GREEN = ls_egn02.egn Range = 33 74 118 BLUE = ls_egn03.egn Range = 75 108 140 (4) MADE BY PROGRAM EIGEN: This is a single principal component score image which was made from 7 Landsat TM image planes FILE TYPE is EGN not DAT (which is the usual case). It is the first eigen vector because the name ends in 01. To create a pixel in this image the corresponding pixel in all 7 images are used. The 7 numbers labeled eigen vector below are multiplied by the pixel values of each file in turn and added together. The minimum value is subtracted (34.44914) and the result is divided by the range (214.18672 - 34.44914) then multiplied by 255 to get the principal component score value for the image pixel. FILE_TYPE = IMAGE IMAGE_LINES = 960 LINE_SAMPLES = 1280 IMAGE_POINTER = 'ls_egn01.egn' IMAGE_NOTE: Principal component score image input images: 1 -- 'ch1_10.dat' 2 -- 'ch2_10.dat' 3 -- 'ch3_10.dat' 4 -- 'ch4_10.dat' 5 -- 'ch5_10.dat' 6 -- 'ch6_10.dat' 7 -- 'ch7_10.dat' Lambda = 342.95907 Eigen Vector: 0.25345 0.17060 0.27352 0.43874 0.72354 0.32122 0.11256 Principal Component Minimum = 34.44914 Principal Component Maximum = 214.18672 END_IMAGE_NOTE END (5) NAVIGATION INFORMATION AND VECTOR FILES: The addition of projection information and vector file names (BIN, HDR, ATR) allow lines to be drawn on the image. The numbers following the vector set names represent the pixel size in kilometers when this file will be drawn. The last number is the color taken from the PAL file. FILE_TYPE = IMAGE IMAGE_LINES = 1575 LINE_SAMPLES = 2627 IMAGE_POINTER = 'TOPO8.dat' PAL_POINTER = 'topo8.pal' SAMPLE_BITS = 8 Projection = Albers equal area elliptical 23.0 Lat0 29.5 Lat1 45.5 Lat2 -96.0 Lon0 -2630000 X0 3328046 Y0 2000 PixelSize (meters) 7 ellipsoid (Clark 1866) [0-10] VECTOR_SETS = 6 county = 1 county 120.0 0.0 253 coast = 1 coast 120.0 0.0 254 state = 1 state 120.0 0.0 246 rivers = 1 rivers 120.0 0.0 251 nation = 1 nation 120.0 0.0 245 King_Beikman = 4 kb01b 120.0 0.0 255 kb02b 120.0 0.0 255 kb03b 120.0 0.0 255 kb04b 120.0 0.0 255 Faults = 1 kbfb 120.0 0.0 255 END (6) 16-BIT IMAGE: Is identified by the SAMPLE_BITS = 16 entry and uses data max/min and range information to display a gray image. The scale in- formation is used to construct 3-D models from the image data. FILE_TYPE = IMAGE IMAGE_LINES = 1575 LINE_SAMPLES = 2627 IMAGE_POINTER = 'topo.dat' SAMPLE_BITS = 16 DATA_MAX = -5479 DATA_MIN = 3838 DATA_RANGE = 9317 X_SCALE = 2000.0 meters Y_SCALE = 2000.0 meters Z_SCALE = 12.5 meters END Related Files: PAL, DAT, EGN, CMG, TGA --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: LBS Data Type: ASCII Description: Surface Grid Label File -- A plain text file which completely describes a gridded data set containing height (or any value which is to be portrayed as height). Data can be in any of eight binary formats. Made By: program clip_lbs of a word processor Made From: another LBS or data description Used By: trigrid, clip_lbs Sample: FILE_TYPE = ELEVATION_ARRAY UPPER_LEFT_LAT = 36.25000 UPPER_LEFT_LON = -122.75000 DELTA_LAT = 0.002000 DELTA_LON = 0.002000 NUMBER_OF_LAT = 120 NUMBER_OF_LON = 240 DATA_TYPE = float DATA_SIZE = 4 bytes DATA_FILE_POINTER = 'm102.D64' MISSING_DATA_VALUE = -99.0 (if needed) LOWER_RIGHT_LAT = 36.01200 (optional) LOWER_RIGHT_LON = -122.51200 (optional) IMAGE_LINES = 120 (optional) LINE_SAMPLES = 240 (optional) MAXIMUM_Z = -2021.94263 (optional) MINIMUM_Z = -3482.91040 (optional) SPLINE_FLEXIBILITY = 0.20000 (other remarks as needed) where data type and size must be one of following: unsigned char 1 byte 0 to 255 char 1 byte -128 to 127 unsigned short 2 bytes 0 to 65,536 short 2 bytes -32,768 to 32,767 unsigned long 4 bytes 0 to 4,294,967,296 long 4 bytes -2,147,483,648 to 2,147,483,647 float 4 bytes -1E-38 to 1E38 double 8 bytes -1E307 to 1E307 float allows 7 significant figures while double allows 15. --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: LOC Data Type: ASCII Description: Location on Map of Images or Text Files -- These files allow images to be viewed or text to be read by moving a cursor on a map and pushing a mouse button or a key. Made By: mapper or word processor Made From: MRK Used By: mapper Format: Information_about_point latitude longitude complete_filename Sample: McCormik_Well_#1 42.123456 -76.543210 \WELLS\Mck.txt McCormik_Well_#2 43.123456 -75.543210 \WELLS\Mck.lbl etc. Related Files: GRF, MRK, MAP --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: mapper.LGN Data Type: ASCII Description: Map Legion File -- A plain text file which completely des- cribes each map key entry in plain text. The file name is always MAPPER.LGN and it may be anywhere that the path name has been given. Program mapper will process the first one it comes to while searching paths. Made By: word processor Made From: n/a Used By: mapper Format: ( Cambrian cat Cataclastic_Rocks_Produced_By_Paleozoic_Orogenies (e Cambrian_Eugeosynclinal_Deposits (g Cambrian_Granitic_Rocks . . . . . . . . . . P4 Permian:_Ochoan_Series Pe Permian_Eugeosynclinal_Deposits $ Pennsylvanian $1 Lower_Pennsylvanian:_Atokan_and_Morrowan_Series . . . . . . . . . . Tpf Pliocene_Felsic_Volcanic_Rocks Tpv Pliocene_Volcanic_Rocks # Triassic #g Triassic_Granitic_Rocks #i Triassic_Mafic_Intrusives where: ( -- Cambrian ( C with horizontal bar ) $ -- Pennsylvanian ( P with double vertical line ) # -- Triassic ( T with R attached ) Note: There can only be 2 text strings per line. Underscores do not print and are used to join words to make second string. Related Files: GRF, MRK, BLB, LAB, HDR, BIN, ATR, ?MP --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: MAP Data Type: ASCII Description: Map Description File -- A plain text file which completely describes a map and lists all information that is necessary for viewing the map. Made By: word processor Made From: n/a Used By: mapper, linefix Format: p 0.5 18.3 -66.44 10.0 The 1st line has a character and 4 numbers. The character is the projection p = plate carree or x-y projection (recomended) a = Albers equal area s = polarstereographic S = sinusoidal m = Mercator The numbers determine the size and area to plot : 0.5 is pixel size of center pixel in kilometers 18.3 is latitude of center pixel -66.4 is longitude of center pixel 10.0 is a number of no use but it must be there begin_color You can define up to 16 VGA black = 0 0 0 (or EGA) colors here for use d_grey = 46 46 46 in line work. The format is l_grey = 128 128 128 a color name, =, then a red, white = 255 255 255 green, and blue color value. buff = 105 90 75 l_buff = 130 111 93 brown = 96 28 14 red = 255 0 0 orange = 255 128 0 yellow = 160 160 0 green = 0 200 0 d_green = 0 120 0 vd_green = 0 72 0 blue = 30 60 255 d_blue = 0 20 60 magenta = 255 0 255 end_color This must be here to mark end menu_background = d_grey The pull down menu can be made text = l_grey any color but something must highlight = white be given for each item. background = buff Buff is the blank screen color. graticule = l_buff lat/lon = d_grey black = black begin_vector geology = 2 ON east_geo 3.0 0.0 d_grey west geo 3.0 0.0 d_grey A list of the vector filenames must be given with group names. You can have up to 25 groups and up to 25 vectors in a group. The group names are used while the program is running to identify vectors for plottong or labeling. Each group name is followed by '=', the number of vectors in the group, and the word 'ON' or 'OFF' to tell whether to plot it the first time through. Each vector name is followed by a maximum pixel size, a minimum pixel size, and the color (from above) to plot the vector. In this example, we are going to color in geologic formations so the first vectors (lines) to be plotted are the polygons defining the formations on the map. They will be plotted when the pixel size is less than 3 km. fillin_IHS = 1 geology.blb 3.0 0.0 2 0.66 234 0.90 Thqdp 3 0.61 234 0.80 Tgp 1 0.83 254 0.33 TKgqm 4 0.81 234 0.50 Thdap end This entry tells how to fill in the polygons. It must be located after the polygons are plotted and before other lines are plotted. The file 'geology.blb' was made from a file 'geology.lab' which was made using mapper with the /l option. eg: mapper /l geology.lab To create the '.blb' file from the ASCII '.lab' file, run: makeblb geology The numbers give the pixel sized to plot the fill. The next 1 to 240 lines are the polygon fill values. followed by Intensity (0 to 1.0), Hue (1 to 255), and Saturation (0 to 1.0) These colors can be determined within mapper. See the program users manual. pattern 15 2 * * * 2 * * * * 2 * * 2 * * 2 * * 2 * 2 * 2 * * * * 2 2 2 * * 2 2 2 2 2 2 2 2 * * * 2 2 2 * * * * 2 * 2 * 2 * * 2 * * 2 * * 2 16 9 * * * 9 * * * * 9 * 9 * * * * * * 9 * * * * * * 9 * 9 * * * * 9 * * * 9 * * * * * * * * * * * * * * * * * * * * * * * * * * * end This entry tells how to pattern selected colors with one of the 16 overlay colors. It must be located just after the color definitions. This puts a l_grey pattern in color 15 and a yellow pattern in color 16. begin_names Epithermal_Qtz = OFF pr_25e.loc 3.0 0.0 blue ........... ...*****... ..*.....*.. This allows you to place icons .*.......*. on the map and to identify them you .*.......*. can use the names option. You .*.......*. can have up to 25 icons. This .*.......*. one draws a blue circle at each .*.......*. point in file 'pr_25e.loc'. ..*.....*.. If you wish to plot icons on ...*****... the file contains 2 points as ........... follows: Boulder field_Topographic_high 42.39267 -70.80325 stn2_14.lbl Fine_sediment_mixed_with_gravel 42.38796 -70.81313 stn3*.lbl If there is an image file the label is given after the location. It can be a single image or a group of images as is the case with the second entry. All .lbl files starting with 'stn3' will be available to be viewed. You must use the '/a' command line option with a saved map if you are going to view images. Low-Sulfide_Au = OFF d:\prico\pr_36a.loc 3.0 0.0 white .....*..... .....*..... ....*.*.... ....*.*.... ...*...*... ...*...*... ..*.....*.. ..*.....*.. .*.......*. .*********. ........... end_names You can have up to 25 of these icons. This is a white triangel. The field must contain 121 entries (11,11). Periods are ignored and '*' are plotted on the map. The icon is centerd over its center point (6,6) of [5][5] in C. faults = 3 ON eastf 10.0 0.0 black centf 10.0 0.0 black westf 10.0 0.0 black roads = 1 OFF road 100.0 0.0 green streams = 1 OFF stream 100.0 0.0 blue end_vector More vectors and an 'end_vector' statement Sample: p 1.63 38 -79 10.0 begin_color black = 0 0 0 d_grey = 46 46 46 l_grey = 128 128 128 white = 255 255 255 buff = 105 90 75 l_buff = 130 111 93 brown = 96 48 20 red = 255 0 0 orange = 255 128 0 vd_green = 0 64 0 green = 0 200 0 d_green = 0 128 0 d_blue = 0 20 60 cyan = 0 255 255 yellow = 128 128 0 blue = 20 20 191 end_color menu_background = d_grey text = l_grey highlight = white background = buff graticule = l_buff lat/lon = d_grey black = black begin_vector Gravity = 4 ON grav1 100.0 0.0 d_grey grav2 100.0 0.0 d_grey grav3 100.0 0.0 d_grey grav4 100.0 0.0 d_grey VAcoast = 1 ON VAcoast 100.0 0.0 d_blue VAboundary = 1 ON VAbound 100.0 0.0 red States = 3 ON e_states 100.0 0.0 red e_strmc 100.0 0.0 d_blue e_wtrbc 100.0 0.0 d_blue fillin_IHS = 1 gravity.blb 100.0 0.0 1 .70 252 .80 >40 2 .80 4 .65 30_to_40 3 .90 12 .80 20_to_30 4 1.00 20 .80 10_to_20 5 .88 52 .70 +0_to_10 6 .87 52 .45 -0_to_-10 7 .75 52 1.00 -10_to_-20 8 .65 52 1.00 -20_to_-30 9 .76 74 .70 -30_to_-40 10 .85 92 .60 -40_to_-50 11 .65 96 .60 -50_to_-60 12 .65 112 .50 -60_to_-70 13 .51 120 .42 -70_to_-80 14 .75 244 .40 -80_to_-90 15 .63 246 .53 <-90 16 .46 120 1.00 water end gas_lines = 1 OFF gas 100.0 0.0 white oil_lines = 1 OFF oil 100.0 0.0 green marsh = 1 OFF marsh 100.0 0.0 brown sand_&_gravel = 1 OFF sg 100.0 0.0 yellow gravity = 4 OFF grav1 100.0 0.0 cyan grav2 100.0 0.0 cyan grav3 100.0 0.0 cyan grav4 100.0 0.0 cyan Administration = 4 OFF va_adm3 100.0 0.0 yellow va_adm4 100.0 0.0 yellow va_adm5 100.0 0.0 yellow va_adm6 100.0 0.0 yellow Counties = 2 OFF va_cntyb 100.0 0.3 brown va_cnty 0.3 0.0 brown City = 1 OFF va_cty3 100.0 0.0 cyan Railroads = 5 OFF va_rr1 100.0 0.0 orange va_rr2 100.0 0.0 orange va_rr3 100.0 0.0 orange va_rr4 100.0 0.0 orange va_rr5 100.0 0.0 orange Roads = 7 OFF va_rd7 100.0 0.0 vd_green va_rd6 100.0 0.0 vd_green va_rd5 100.0 0.0 d_green va_rd4 100.0 0.0 d_green va_rd3 100.0 0.0 d_green va_rd2 100.0 0.0 green va_rd1 100.0 0.0 green Streams = 6 OFF va_stm1 100.0 0.0 d_blue va_stm2 100.0 0.0 d_blue va_stm3 100.0 0.0 d_blue va_stm4 100.0 0.0 d_blue va_stm5 100.0 0.0 d_blue va_stmc 100.0 0.0 d_blue Water_Bodies = 2 OFF va_wtr3 100.0 0.0 d_blue va_wtr4 100.0 0.0 d_blue dykes = 1 OFF dykes 100.0 0.0 red faults = 1 OFF faults 100.0 0.0 black Geology = 7 OFF geo1 100.0 0.0 cyan geo2 100.0 0.0 cyan geo3 100.0 0.0 cyan geo4 100.0 0.0 cyan geo5 100.0 0.0 cyan geo6 100.0 0.0 cyan geo7 100.0 0.0 cyan end_vector The best way to make one of these files is to copy an old one and change what needs changing. The first line can beobtained from the status option in program mapper. Related Files: GRF, MRK, BLB, LAB, HDR, BIN, ATR, ?MP --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: MPR Data Type: Binary Description: Map Vector File Range File -- Contains the maximum and minimum latitude and longitude ranges of all HDR files listed in the MAP file. This must be recreated after any change to the vector file names in the MAP file. If the file exists, it will have the same name as the map file and will be used. To prevent mapper from using this file, you must erase it. Made By: mapper /f Made From: MAP, HDR Used By: mapper Format: There are 625 repeats of 4 (float) numbers as defined below: struct file_range { float maxlat,minlat; float maxlon,minlon; }Fr[25][25]; Related Files: none --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: MRK Data Type: ASCII Description: Marked Point File with Text -- These files are created by program mapper for pasting into GRF files to mark places and things on a map with icons and text. The file contains the text before and after the lat/lon. Made By: mapper or word processor. Made From: n/a Used By: word processor Format: text latitude longitude text text latitude longitude text text latitude longitude text etc. Sample: Made by 'mapper': _Ephrata 40.191643 -76.203552 _Ephrata Alpine_ 41.123343 -75.002214 Alpine_ test 40.123456 -76.543210 test Made by 'remark' from above file: _________Ephrata 40.191643 -76.203552 _Ephrata Alpine________ 41.123343 -75.002214 Alpine_ test 40.123456 -76.543210 test Related Files: GRF, LOC --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: PAL Data Type: ASCII Description: Image Color Palette File -- A plain text file which lists the color number and their red, green and blue intensity for each of 256 colors for super VGA images. Made By: imvis, img8bit, xmp2lbl, wave, view3d, clip, word processors etc. Made From: n/a Used By: imvis, show Sample: 0 5 4 3 1 10 14 35 2 15 22 55 . . . . . . . . 239 255 255 255 240 105 90 75 241 0 0 0 242 70 70 70 243 127 127 127 244 191 191 191 245 255 255 255 246 255 0 0 247 255 128 0 248 191 192 0 249 0 191 0 250 0 191 191 251 0 0 255 252 191 0 191 253 96 28 14 254 0 91 91 255 0 128 0 This PAL file was made by img8bit either directly or through imvis. The image has 240 or less colors and the last 16 colors are VGA type colors used to plot and write on the image. The color names are as follows: 240-buff 244-light grey 248-yellow 252-magenta 241-black 245-white 249-green 253-brown 242-dark grey 246-red 250-cyan 254-dark cyan 243-med grey 247-orange 251-blue 255-dark green Related Files: PAL, DAT, EGN, CMG, TGA --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: PC Data Type: ASCII Description: Pseudo Color Description -- Lists Z ranges, colors and scale information which can be obtained from the header in the WVF file. Made By: word processor Made From: n/a Used By: wave Sample: 0.0 = mid_z 49.644 scale km/in 50.00 last vertical exaggeration 0.50 shadow brightness min max r g b 1.000 1.500 255 128 0 0.500 1.000 255 255 0 0.000 0.500 0 255 0 -1.000 0.000 128 255 255 -2.000 -1.000 128 255 255 -3.000 -2.000 106 191 255 -4.000 -3.000 85 128 255 -5.000 -4.000 64 64 255 -6.000 -5.000 128 0 255 Note: The min/max values are in kilometers and the r, g and b values are the colors of the brightest shading of the range. If a Z value does not fall within at least one of the ranges above it will not be plotted at all. The color RGB values range from 0 to 255. Each triangle is colored based on the Z value of the base of the normal vector. Some sample colors follow: r g b red 255 0 0 orange 255 128 0 yellow 255 255 0 green 0 255 0 cyan 0 255 255 blue 0 0 255 magenta 255 0 255 light blue 128 128 255 pink 255 128 128 white 255 255 255 Related Files: 3D, BVW, DAT, LBL, PAL, PC, TGA --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: PMP Data Type: ASCII Description: Plain text file giving directions for creating raster maps using program RASTMAP. Made By: rastmap or word processor Made From: MAP Used By: rastmap, imvis Sample: # # All lines which begin with '#' are comments and are ignored by RASTMAP # # Mercator -- m Stereographic -- s # Transverse Mercator -- u Gnomonic -- g # Oblique Mercator -- o Vertical Perspective -- V # Modified Plate Carree -- p Tilted Perspective -- P # Albers Equal-Area Conic -- a Lambert Azimuthal Equal-Area -- L # Lambert Conformal Conic -- l Azimuthal Equidistant -- z # Bonne -- b Sinusoidal -- S # Orthographic -- t Polyconic -- y # # m u o p a l b t s g V P L z S y # central latitude (deg) LAT_0 . * . * * * . . . . . . . . . * # central longitude (deg) LON_0 * * . * * * * * * * * * * * * * # 1st standard parallel (deg) LAT_1 . . * . * * * * * * * * * * . . # 2nd standard parallel (deg) LAT_2 . . * . * * . . . . . . . . . . # 1st point longitude (deg) LON_1 . . * . . . . . . . . . . . . . # 2nd point longitude (deg) LON_2 . . * . . . . . . . . . . . . . # scale factor (usually 1) K0 . . . . . . . . * . . . . . . . # viewing altitude (km) H . . . . . . . . . . * * . . . . # viewing azimuth (N=0) (deg) GAMMA . . . . . . . . . . . * . . . . # viewing angle (down=0) (deg) OMEGA . . . . . . . . . . . * . . . . # # Map Projection Information # PROJECTION = a LAT_0 = 39.5 LON_0 = -96.5 LAT_1 = 35.0 LAT_2 = 45.0 # # Map Output Information # LAT_UPPER_LEFT_CORNER = 48.33 (deg) LON_UPPER_LEFT_CORNER = -128.78 (deg) LAT_LOWER_RIGHT_CORNER = 22.76 (deg) LON_LOWER_RIGHT_CORNER = -74.66 (deg) PIXEL_SIZE = 400 (m) # # List up to 16 colors for line work and give red, green and blue values # for each color. 'Num' is in hex for ease in making icons later. # num name r g b # --- -------- --- --- --- LINE_COLOR 0 = black 0 0 0 LINE_COLOR 1 = d_grey 46 46 46 LINE_COLOR 2 = l_grey 128 128 128 LINE_COLOR 3 = white 255 255 255 LINE_COLOR 4 = buff 105 90 75 LINE_COLOR 5 = l_buff 130 111 93 LINE_COLOR 6 = brown 96 28 14 LINE_COLOR 7 = red 255 0 0 LINE_COLOR 8 = orange 255 128 0 LINE_COLOR 9 = yellow 160 160 0 LINE_COLOR A = green 0 200 0 LINE_COLOR B = d_green 0 120 0 LINE_COLOR C = vd_green 0 72 0 LINE_COLOR D = blue 0 0 200 LINE_COLOR E = d_blue 0 20 60 LINE_COLOR F = m_grey 64 64 64 # BACKGROUND_COLOR = L_BUFF CONTACT_COLOR = D_GREY # # If polygons are to be filled you must give AREA_COLOR information. # You can list up to 240 colors with which to fill areas. Give the # intensity (i), hue (h) and saturation (s) values from the 'MAP' file. # Spacing is not crutial, but there must be spaces between entries and # the name must be a single string. Use underscores ('_') to combine # words. # num --> is the number in the BLB (or LAB) file which is used to # identify the color. It is also the value +15 in the # RMP file which can be viewed with program IMVIS # i --> is the intensity (brightness) of the color -- 0.00 to 1.00 # h --> is the hue where: # 0 -- red 18 -- orange 34 -- yellow-orange # 50 -- yellow 68 -- yellow-green 85 -- green # 95 -- green-cyan 105 -- cyan 125 -- blue-cyan # 144 -- blue 167 -- blue-purple 190 -- purple # 206 -- magenta-purple 223 -- magenta 240 -- red-magenta # 255 -- red # s --> saturation (absence of white) 0.00 (for grey) to 1.00 # (for pure color) # name --> text to identify color plotted by PLOT_BLB # remark --> text to follow plot in KEY [optional] # use 'skip' to skip entry in KEY # note: underscores ('_') do not plot and can be used to possition text. # # AREA_COLOR_KEY_BACKGROUND --> color on which KEY image is plotted # AREA_COLOR_KEY_COMMENT --> text to be plotted between KEY entries + # size and color # note: This can be used to plot any text, with or # without key colors. # AREA_COLOR_KEY_BREAK --> starts a new column in key to right # # Names (or id's) are printed using a Map Font set where: # # $ --> Pennsylvanian (double barred P) # ( --> Cambrian (C with horizontal line) # # --> Triasic (T with small R attached) # # Area Color data for plotting follows: # # num i h s name remark # --- ---- --- ---- ---- --------------- AREA_COLOR_KEY_BACKGROUND white AREA_COLOR_KEY_COMMENT Font 1 black CENOZOIC AREA_COLOR_KEY_COMMENT Font 1 black Quarternary AREA_COLOR 91 0.70 0 0.00 Q AREA_COLOR 93 0.64 32 0.00 Qh Holocene AREA_COLOR 94 0.82 44 0.50 Qp Pleistocene AREA_COLOR 95 0.80 252 0.25 Qv volcanic_rocks AREA_COLOR 92 0.90 24 0.60 Qf Felsic_volcanic_rocks AREA_COLOR_KEY_COMMENT Font 1 black Tertiary AREA_COLOR 105 0.85 32 0.80 Te Eocene AREA_COLOR 108 0.80 36 0.70 Te3 Eocene_Jackson_Group . . . . . . . . . . . . . . AREA_COLOR 109 0.85 0 0.50 Teb Eocene_marine_pillow_basalt AREA_COLOR 113 0.75 244 0.90 Ti intrusive_rocks AREA_COLOR_KEY_COMMENT Font 1 black Upper_Tertiary AREA_COLOR 147 0.75 12 0.90 uTa andesite AREA_COLOR_KEY_COMMENT Font 1 black Lower_Tertiary AREA_COLOR 44 0.73 248 0.55 lTa andesite AREA_COLOR 47 0.90 252 0.60 lTv volcanic_rocks AREA_COLOR 45 0.92 0 0.55 lTf Felsic_volcanic_rocks AREA_COLOR_KEY_COMMENT Font 1 black MESOZOIC AREA_COLOR 3 0.66 28 0.81 cat Cataclastic_rocks AREA_COLOR_KEY_COMMENT Font 1 black UPPER_MESOZOIC AREA_COLOR 143 0.61 84 0.31 uMze eugeosynclinal_deposits AREA_COLOR_KEY_COMMENT Font 1 black LOWER_MESOZOIC AREA_COLOR 39 0.56 88 0.46 lMz AREA_COLOR 40 0.56 88 0.36 lMze eugeosynclinal_deposits AREA_COLOR 41 0.66 48 0.96 lMzv volcanic_rocks AREA_COLOR_KEY_BREAK AREA_COLOR_KEY_COMMENT Font 1 black Cretaceous AREA_COLOR 26 0.70 60 0.60 Kc continental_deposits AREA_COLOR 27 0.60 64 0.60 Ke eugeosynclinal_deposits . . . . . . . . . . . . . . AREA_COLOR 154 0.46 120 1.00 WTER skip #AREA_COLOR 1 0.41 12 0.40 ... # # To make a map (option '/m') you must plot contacts (the lines to be # filled with color) before filling them. You may put comments after # them for the KEY. # PLOT_CONTACT kb_nw PLOT_CONTACT kb_nc PLOT_CONTACT kb_ne PLOT_CONTACT kb_sw PLOT_CONTACT kb_sc PLOT_CONTACT kb_se # # Give the name of the BLB file which contains the points and colors # with wich to fill polygons when making map. # FILL_POLYGONS kb # # To make a final map you must list lines, line patterns, polygon labels # and/or graph files to plot. Items will be plotted in the order # listed. Any of the following may be plotted over the RMP (raster map) # file. There is no limit to the number which can be plotted, but they # must all exist or the program will stop, without processing data, and # tell you which file it could not find. It is a good idea to put any # files you may want to plot in the PMP file then # out those not being # used. # # PLOT_LINE [comment] # # where: # name = BIN and HDR file name and path without type # color = color name from above LINE_COLOR list # comment = text for KEY entry. If no comment there will be no # KEY entry. # # PLOT_LINE_PATTERN_LENGTH # # where: # length = length of the line segments plotted in KEY from 5 # to 150(default = 35) # # PLOT_LINE_PATTERN [comment] # ROW_COL_HOTROW = # # # where: # name = BIN and HDR file name and path without type # comment = text for KEY entry. If no comment there will be no # KEY entry. # row = number of rows in pattern # col = number of columns in pattern # hot row = row which follows the dots # pattern = asterisks for clear and hexidecimal numbers for # color # # PLOT_GRAPH # # where: # name = GRF file name and path without type # # PLOT_BLB_TEXT # # where: # name = BLB file name and path without type # font = name of font file # size = plot size (1 = 30 pixels high -- 2 = 15 pixels high) # PLOT_LINE_PATTERN_LENGTH 100 AREA_COLOR_KEY_BREAK AREA_COLOR_KEY_COMMENT Font 1 red GEOLOGIC_MAP_OF_THE_UNITED_STATES AREA_COLOR_KEY_COMMENT Font 2 black _ AREA_COLOR_KEY_COMMENT Font 2 black Projection: Albers Equal-Area Conic AREA_COLOR_KEY_COMMENT Font 2 black _______central_latitude_LAT_0_=_39.5_N AREA_COLOR_KEY_COMMENT Font 2 black ______central_longitude_LON_0_=_96.5_W AREA_COLOR_KEY_COMMENT Font 2 black __1st_standard_parallel_LAT_1_=_35.0_N AREA_COLOR_KEY_COMMENT Font 2 black __2nd_standard_parallel_LAT_2_=_45.0_N AREA_COLOR_KEY_COMMENT Font 2 black _ AREA_COLOR_KEY_COMMENT Font 2 black Map_and_Key_produced_on_PC_using_GIV AREA_COLOR_KEY_COMMENT Font 2 black _ AREA_COLOR_KEY_COMMENT Font 1 black Line_Work_KEY AREA_COLOR_KEY_COMMENT Font 2 black _ #PLOT_LINE kb_nw d_grey #PLOT_LINE kb_nc d_grey #PLOT_LINE kb_ne d_grey #PLOT_LINE kb_sw d_grey #PLOT_LINE kb_sc d_grey #PLOT_LINE kb_se d_grey #PLOT_LINE_PATTERN kb thrust_fault ROW_COL_HOTROW = 6 15 1 000000000000000 *033333330***** **0333330****** ***03330******* ****030******** *****0********* PLOT_LINE_PATTERN dot fault ROW_COL_HOTROW = 2 12 1 00**00**00** 00**00**00** PLOT_LINE_PATTERN dash fault ROW_COL_HOTROW = 2 12 1 000000000*** 000000000*** PLOT_LINE_PATTERN fault00 fault ROW_COL_HOTROW = 2 1 1 0 0 #PLOT_LINE_PATTERN fault01 fault ROW_COL_HOTROW = 2 1 1 0 0 PLOT_LINE_PATTERN d:\kb\kb\2mil\cntyl county_boundary #ROW_COL_HOTROW = 1 20 0 *66666666666**66666* PLOT_LINE_PATTERN d:\kb\kb\2mil\statl state_boundary ROW_COL_HOTROW = 1 20 0 *3333333333**33**33* PLOT_LINE d:\kb\kb\2mil\wtrb2 D_BLUE water_bodies_and_drainage #PLOT_LINE d:\kb\kb\2mil\wtrb3 D_BLUE #PLOT_LINE d:\kb\kb\2mil\wtrb4 D_BLUE #PLOT_LINE d:\kb\kb\2mil\wtrb5 D_BLUE #PLOT_LINE d:\kb\kb\2mil\wtrb6 D_BLUE #PLOT_LINE d:\kb\kb\2mil\xwtrb2 D_BLUE #PLOT_LINE d:\kb\kb\2mil\xwtrb3 D_BLUE #PLOT_LINE d:\kb\kb\2mil\xwtrb4 D_BLUE #PLOT_LINE d:\kb\kb\2mil\xwtrb5 D_BLUE #PLOT_LINE d:\kb\kb\2mil\xwtrb6 D_BLUE PLOT_LINE d:\kb\kb\2mil\road7 VD_GREEN small_roads #PLOT_LINE d:\kb\kb\2mil\road6 VD_GREEN #PLOT_LINE d:\kb\kb\2mil\road5 D_GREEN PLOT_LINE d:\kb\kb\2mil\road4 D_GREEN secondary_roads PLOT_LINE d:\kb\kb\2mil\road3 RED state_highways PLOT_LINE d:\kb\kb\2mil\road2 YELLOW federal_highways PLOT_LINE d:\kb\kb\2mil\road1 blue interstate_highways #PLOT_GRAPH routes #PLOT_GRAPH place_b #PLOT_BLB_TEXT kb_blb MapFont 2 Related Files: ARE, MAP, RMP, XYC, LBL, HDR, BIN, BLB, GRF, and PAL --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: RAW Data Type: ASCII Description: Map Lines -- The primary source for all of the linework on all maps in the GIV system. RAW files define vector lines in latitude and longitude expressed in decimal degrees. This file contains all of the locational information and the attribute for each line (if an attribute exists). This is the primary way line work is entered into GIV. Made By: filter, latlon, makeraw, other special programs. Made From: XYC, other standard formats Used By: filter, reorder, thinraw, xy Format: (long)[attribute] lat[0] lon[0] lat[1] lon[1] lat[2] lon[2] lat[3] lon[3] lat[4] lon[4] lat[5] lon[5] lat[6] lon[6] lat[7] lon[7] . . . . . . . . . . . . . . . . lat[N] lon[N]// all lat and lon are of type (float) Sample: 10 21.3855 -157.9239 21.3606 -157.9283 21.3490 -157.9268 21.3430 -157.9175 21.3412 -157.9093 21.3445 -157.8820 21.3472 -157.8743 21.3523 -157.8704// 10 21.4002 -157.9857 21.3942 -157.9915 21.3914 -157.9993 21.3891 -158.0153 21.3812 -158.0290// 10 21.4893 -158.0252 21.4829 -158.0203 21.4699 -158.0203 21.4598 -158.0120 21.4515 -158.0096 21.4427 -158.0096 21.4348 -158.0125 21.4200 -158.0067 21.4136 -157.9984 21.4020 -157.9974// Related Files: BIN, HDR, XYC --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: RMP Data Type: Binary Description: Raster MaP file containing a raster image of a map plus the parameters necessary to define the map and the parameters needed to compute latitude and longitude from image coordinates and the reverse. Made from directions contained in a PMP file and has the following files, with the same name, made with it: LBL, PAL, XYC Made By: rastmap /m Made From: PMP, BIN, HDR, GRF, BLB Used By: rastmap and imvis Format: unsigned char pixels -- row x col followed by: struct map { double lat_ulc,lon_ulc,lat_lrc,lon_lrc; /* upper left & lower right l/l*/ double x_ulc,y_ulc,x_lrc,y_lrc; /* upper left & lower right l/l*/ double pixel; /* pixel size in meters */ long row,col,x_screen,y_screen; struct Color lut[256]; char line_color_name[16][32]; int back_color,contact_color; struct area area_color[240]; double mx0,my0; /* upper left map coordinates in meters (y up) */ double mx1,my1; /* lower right map coordinates in meters (y up) */ double ix0,iy0; /* raster image file coordinates in pixels (y down) */ double scale; /* screen plotting scale for prevue (otherwise = 1.0)*/ }MM; struct control { char proj; int pnum; double lon_0,lon_1,lon_2,lon_p; double lat_0,lat_1,lat_2,lat_p; double pixsize,scale; double x0,y0; double c,C,F,H,k,k0,k1,k2,n,P,rho_0; double omega; /* elevation (tilt of surface plane) */ double gamma; /* azimuth (east of north) */ double horiz; /* radius of horizon arc */ }; Related Files: LBL, PAL --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: SHI Data Type: ASCII Description: Show Information -- This file provides text information about the show to follow. This is an optional file which will be used if its name is the same as the SPT file or the text part of wild card used to run 'showprep'. Made By: Word processor Made From: n/a Used By: showprep Format: Plain text of 44 or less characters per line and 15 or less lines. Sample: PSEUDO COLOR ELEVATION MODEL Virginia, West Virginia, Maryland, Delaware and adjacent EEZ From the Global 5 min. ETOPO5 data set from NOAA/National Geophysical Data Center COLORS: 500 m for land and 1000 m for water 36N to 40N and 65W to 85W 49 rows x 241 cols vertical exaggeration = 50 vertical axis tipped 35 degrees forward viewing direction in degrees is in filename Related Files: SHI, SHW --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: SHW Data Type: Binary Description: Show File -- Contains a title and images for movie-like display. Made By: showprep Made From: DAT, PAL, SHI, SPT Used By: showprep Format: byte[ 0] 2 bytes image rows byte[ 2] 2 bytes image columns byte[ 4] 2 bytes number of images byte[ 6] 2 bytes Text marker, 1 if yes, 0 if no byte[ 8] 2 bytes Script marker, 1 if yes, 0 if no byte[ 10] 6 bytes reserved if(Text==1) byte[ 16] 736 bytes char HdrText[16][46] byte[ 746] 256*4 bytes Color Palette byte[1760] 40 bytes source file or caption byte[1800] row*col bytes image 0 40 bytes source file or caption row*col bytes image 1 40 bytes source file or caption row*col bytes image 2 . . . . . . . . . . . . . . . 40 bytes source file or caption row*col bytes image M Related Files: SHI, SPT, DAT, PAL --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: SPT Data Type: ASCII Description: Show Script File -- This file lists DAT filenames and text to describe each frame. The first file name must have a PAL file of the same name which will be used for all images in the show. Made By: Word processor Made From: n/a Used By: showprep Format: [filename 0] [caption 0] [filename 1] [caption 1] [filename 2] [caption 2] . . . . . . [filename N] [caption N] where: filename = complete name of image data file caption = 38 characters or less describing frame Sample: topo000.dat Topagraphy_looking_N topo045.dat Topagraphy_looking_NE topo090.dat Topagraphy_looking_E . . . . . . . . . . . . topo314.dat Topagraphy_looking_NW Related Files: SHI, SHW, DAT, PAL -------------------------------------------------------------------------- FILE TYPE DESCRIPTION: V Data Type: ASCII Description: Vertices in Space -- This file contains a special set of XYZ locations of points in space. Z is a function of X and Y which means that there can be only one value of Z for each location specified by X and Y. Duplicate Z's are allowed but will be rejected by program trimake. Made By: thinpts, thinraw, other specialty programs Made From: RAW, PTS Used By: trimake, trimat Format: x[0] y[0] z[0] x[1] y[1] z[1] . . . . . . . . . x[M] y[M] z[M] where: M = N-1 Sample: -448.294716 -50.292981 -50.000000 9.712215 -125.167998 -5.000000 22.357047 -0.569980 5.000000 69.622183 -153.997224 -20.000000 -100.976678 99.813688 -55.000000 -122.470238 76.163005 -60.000000 Related Files: PTS, RAW, TXT, W, WVF --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: W Data Type: ASCII Description: Triangles in Space -- This file links the vertices into the V file to make triangles using Delaunay triangulation. The file contains the number of the three vertices in the V file and the number of the neighboring triangles ( -1 for none). Note: the numbering is from 0 to N-1 in the C tradition. Made By: trimake Made From: V Used By: trimat Format: V[0][0] V[0][1] V[0][2] T[0][0] T[0][1] T[0][2] V[1][0] V[1][1] V[1][2] T[1][0] T[1][1] T[1][2] . . . . . . . . . . . . . . . . . . V[M][0] V[M][1] V[M][2] T[M][0] T[M][1] T[M][2] where: M = N-1 Sample: 1 0 3 2 1 -1 5 0 1 4 5 0 1 3 2 4 0 -1 5 2 4 5 4 -1 5 1 2 3 1 2 5 4 0 1 3 -1 Related Files: V, WVF --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: WVF Data Type: ASCII Description: Vertices and Triangles in Space -- This file contains a special set of XYZ locations of points in space and links these vertices to make triangles using Delaunay triangulation. Vertices are marked by a 'v' in column 1 and faces listing the vertex numbers are marked with the letter 'f' in column 1. Note: the numbering is from 1 to N in the FORTRAN tradition. Made By: trimake, trigrid Made From: V or surface array with LBS file Used By: waveprep Format: # comments # more comments v v[1][1] v[1][2] v[1][2] v v[2][1] v[2][2] v[2][2] . . . . . . . . v v[N][1] v[N][2] v[N][2] f f[1][1] f[1][2] f[1][2] f f[2][1] f[2][2] f[2][2] . . . . . . . . f f[N][1] f[N][2] f[N][2] Note: Vertex values are in inches and they are scaled and shifted so that the object is no more than 9 inches in X or Y and it is centered at 0,0,0. The conversion factors are given in the header. X' = ( X - Mid_X ) / scale Y' = ( Y - Mid_Y ) / scale Z' = ( Z - Mid_Z ) / scale * vertical exaggeration Sample: # # USGS/OEMG PC 3-D Visualization System # Phone 703-648-6168 of 703-648-6481# # file x.wvf created by program 'trimake.c' # input file is 'x' # scale = 57.546318 # midpoint: # x = -189.336258 y = -27.091766 z = -27.500000 # Before adjustment and scaling (real data values): # minimum x = -448.294708 maximum x = 69.622185 # minimum y = -153.997223 maximum y = 99.813690 # minimum z = -60.000000 maximum z = 5.000000 # After adjustment and scaling ('.wvf' file values): # minimum x = -4.500000 maximum x = 4.500000 # minimum y = -2.205275 maximum y = 2.205275 # minimum z = -0.564762 maximum z = 0.564762 # vertical exaggeration = 1.000000 # # use programs 'imvis.c' and 'latlon.c' to make '.raw' files # to create input then use 'thinraw.c' or 'thinpts.c'. # use programs 'waveprep.c' and 'wave.c' to view data. # v -4.500000 -0.403175 -0.390989 v 3.458926 -1.704301 0.390989 v 3.678659 0.460877 0.564762 v 4.500000 -2.205275 0.130330 v 1.535452 2.205275 -0.477876 v 1.161951 1.794290 -0.564762 f 2 1 4 f 6 1 2 f 2 4 3 f 6 3 5 f 6 2 3 f 6 5 1 Related Files: BWV, V, W, LBS --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: imvis.XYD Data Type: Binary (Temp) Description: One of two temporary files used by program imvis to store data while digitizing from an image. It contains x/y coordinates of the lines as well as colors and attributes. Made By: imvis Made From: XYC Used By: imvis Format: A list of binary line entries each of the following format: Type Number Variable ------- ---------- -------------------------- long 1 color int 1 attrib long 1 num (number of points) double num X-Array double num Y-Array Related Files: XYC, XYH --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: XYC Data Type: ASCII Description: Map Lines -- The primary source for all digitized linework on all maps in the GIV system. XYC files define vector lines in X and Y in thousandths of an inch from a digitizing palette or in pixels from a raster image. This file contains control points for converting to lat/lon and all of the location information plus the attribute for each line if there is one. This is the XY equivalent of the RAW file. This is one of primary ways that line work is entered into GIV. Made By: digit, imvis, xy Made From: RAW or from any paper map Used By: latlon Format: clat[0] clon[0] cX[0] cY[0] clat[1] clon[1] cX[1] cY[1] etc * AAAAAACCC X[0] Y[0] X[1] Y[1] X[2] Y[2] X[3] Y[3] X[4] Y[4] X[5] Y[5] X[6] Y[6] X[7] Y[7] . . . . . . . . . . . . . . . . X[N] Y[N]// where: AAAAAA = attribute CCC = color from PAL file c = control point information Sample: 20.00000 -156.00000 111.00000 320.50000 20.00000 -155.00000 791.00000 314.50000 19.00000 -155.00000 800.00000 1021.00000 19.00000 -156.00000 116.50000 1024.50000 * 200251 1209.9400 645.8280 1212.7824 628.2421 1211.6865 620.0700 1205.3014 615.8923 1199.7064 614.6701 1181.1153 617.1550 1175.8828 619.1035 1173.2630 622.7227// 300251 1252.1655 655.8384 1256.0818 651.5735 1261.3818 649.5538 1272.3368 647.8389 1281.5725 642.1889// 400251 1279.7261 718.4468 1276.3450 713.9615 1276.2629 704.7934 1270.5405 697.7184 1268.8518 691.8787 1268.7281 685.6732 1270.6552 680.0851 1266.6075 669.6810 1260.9085 665.2153 1260.1535 657.0403// Related Files: RAW --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: imvis.XYH Data Type: ASCII Description: One of two temporary files used by program imvis to store data while digitizing from an image. It contains an ASCII copy of the control points. Made By: imvis Made From: XYC Used By: imvis Format: Latitude Longitude X-pixels (to right of left edge) Y-pixels (down from top) . . . . . . . . . . . . Sample: 20.00000 -156.00000 111.00000 320.50000 20.00000 -155.00000 791.00000 314.50000 19.00000 -155.00000 800.00000 1021.00000 19.00000 -156.00000 116.50000 1024.50000 Related Files: XYC, XYD --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: ?5D Data Type: Binary Description: 5-D Display File -- This file is made from a color composit image which was constructed by program 'imvis'. It contains two spatial di- mensions and 3 spectral dimensions. The ? stands for the status of the color board: --------------------------------------------------------------- Screen Size Colors ----------------------------- -------------- ------------------- Type Description X Y Num Available ------ ---------------------- ----- ----- ------ ---------------- E standard EGA 640 x 350 x 16 of 64 V standard VGA 640 x 480 x 16 of 262144 S standard VGA 320 x 240 x 256 of 262144 Y extended VGA 640 x 400 x 256 of 262144 X extended VGA 640 x 480 x 256 of 262144 ---------------------------------------------------------------- Made By: make5d Made From: LBL, PAL, DAT files made by 'imvis' Used By: make5d Format: sizeof(struct image_header) bytes Image Header imgcol bytes (unsigned char) composite image data row 0 imgcol*3 bytes Actual image data from source files. byte[0] -- byte[0][0] (unsigned char) image 1 byte[1] -- byte[0][0] (unsigned char) image 2 byte[2] -- byte[0][0] (unsigned char) image 3 byte[3] -- byte[0][1] (unsigned char) image 1 byte[4] -- byte[0][1] (unsigned char) image 2 byte[5] -- byte[0][1] (unsigned char) image 3 . . . . . . . . . . . . ScreenXs/5*ScreenXs/5 bytes (unsigned char) Scatter diagram 1 ScreenXs/5*ScreenXs/5 bytes (unsigned char) Scatter diagram 2 ScreenXs/5*ScreenXs/5 bytes (unsigned char) Scatter diagram 3 where: struct image_header { int row,col,sample; /* source color image */ int imgrow,imgcol; /* sub image '.?5d' */ char infile[3][100]; int negative[3]; int imgmax[3],imgmin[3]; int dummy[92]; struct Color lut[256]; }Hdr; Related Files: LBL, PAL, DAT --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: ?CL Data Type: Binary Description: Collage Map File -- Contains the screen image of a collage (images reprojected and peiced together) plus all of the information in the MAP file and the status of the program at the time the collage was created. By loading a ?CL file you start the program where the last left off saving the time necessary to completely draw the collage. You also save an- notations and lines hand drawn on the map. The ? stands for the status of the color board: --------------------------------------------------------------- Screen Size Colors ----------------------------- -------------- ------------------- Type Description X Y Num Available ------ ---------------------- ----- ----- ------ ---------------- E standard EGA 640 x 350 x 16 of 64 V standard VGA 640 x 480 x 16 of 262144 S standard VGA 320 x 240 x 256 of 262144 Y extended VGA 640 x 400 x 256 of 262144 X extended VGA 640 x 480 x 256 of 262144 ---------------------------------------------------------------- Made By: collage Made From: COL, GRF, BLB, HDR, BIN, ATR, LOC, MPR Used By: collage Related Files: ?MP --------------------------------------------------------------------------- FILE TYPE DESCRIPTION: ?MP Data Type: Binary Description: Map File -- Contains the screen image of a map plus all of the information in the MAP file and the status of the program at the time the map was created. By loading a ?MP file you start the program where the last left off saving the time necessary to completely draw the map. You also save annotations and lines hand drawn on the map. The ? stands for the status of the color board: --------------------------------------------------------------- Screen Size Colors ----------------------------- -------------- ------------------- Type Description X Y Num Available ------ ---------------------- ----- ----- ------ ---------------- E standard EGA 640 x 350 x 16 of 64 V standard VGA 640 x 480 x 16 of 262144 S standard VGA 320 x 240 x 256 of 262144 Y extended VGA 640 x 400 x 256 of 262144 X extended VGA 640 x 480 x 256 of 262144 ---------------------------------------------------------------- Made By: mapper Made From: MAP, GRF, BLB, HDR, BIN, ATR, LOC, MPR Used By: mapper, xmp2lbl Format: sizeof(struct map) Map Control Structure -- M if(M.NumSymbol>0) sizeof(struct symbol_name)*M.NumSymbol bytes -- PlaceFile if(M.Range==1) sizeof(struct file_range)*25*25 bytes Fr if(M.Pattern>0) sizeof(struct pattern)*240 bytes -- Pat M.screen_xs*M.screen_ys bytes -- Map Image from screen where -- Structure Definition: struct line_name { char filename[54]; float max_pix,min_pix; short color; }; struct place_name { char *name,*filename; float max_pix,min_pix; short color; }; struct Color { unsigned char r, g, b; }; struct map { short KeyPlotted; char Fill_Name[256][20]; short Fill_In; short Fill_After; short Fill_Color[256][2]; short Max_Fill; short Fill_Color_RGB[256][3]; float Fill_Color_IHS[256][3]; short Fill_Order[256]; short Comp_Color[256]; short Num_Fill; float FI_min[5],FI_max[5]; char Fill_In_Name[5][100]; short White,Num_Color; short screen_xs,screen_ys; short Num_Type,Out; float Pixsize,Clat,Clon,Space; short Mback,Text,High,Back,Grat; short GratOn; short LatLon,Black; char Color_Name[16][30]; short Color_Val[16][3]; short Type; short Ns[25]; short Mm[25]; short NumSymbol; short Range; short Pattern; char Group_Name[25][30]; struct line_name { char filename[54]; float max_pix,min_pix; short color; }MapFile[25][25]; struct place_name { char *name,*filename; float max_pix,min_pix; int color; }PlaceFile[3][3]; /* size = 18*3*3 = 162 bytes */ struct Color { unsigned char r, g, b; }lutc[256],luts[256]; }M; struct symbol_name { char name[50],filename[50]; float max_pix,min_pix; short color; char on; char Symbol[11][11]; }PlaceFile[25]; struct file_range { float maxlat,minlat; float maxlon,minlon; }Fr[25][25]; struct pattern { short status; char pattern[8][8]; }Pat[240]; Related Files: ?CL