make_tilefile
(compiled by DL)
Purpose: Program to generate the pixel/line maplet-center locations required to complete the tiling of a bigmap at a user-specified resolution.
The make_tilefile utility analyses a coverage_m.pgm file, which is the output of map_coverage, for areas that still need to be tiled. The output of this program is then put in the make_scriptT.in file. (Taken from SPOC v3.02A PDF/UTILITIES/make_tilefile.f File Reference.)
Requires
coverage_m.pgm - A Portable Graymap Format image of the bigmap-tiling at the user-specified maplet resolution, generated using map_coverage.
Output
- std-out - list of bigmap pixel/line coordinates for new maplet center locations.
Using make_tilefile
The program requires a single user-input - Upwards? (y/n):
Upwards? (y/n)
n
50 50
100 50
150 50
200 50
50 100
100 100
150 100
200 100
50 150
100 150
150 150
200 150
50 200
100 200
150 200
200 200
END Upwards? (y/n)
y
50 200
100 200
150 200
200 200
50 150
100 150
150 150
200 150
50 100
100 100
150 100
200 100
50 50
100 50
150 50
200 50
ENDThe output columns are the pixel and line coordinates respectively.
Upwards? - Y: Tile from the Southern-most line, West-to-East and South-to-North.
Upwards? - N: Tile from the Northern-most line, West-to-East and North-to-South.
The user may enter input and capture output in a single command line as follows:
echo "N" | make_tilefile > out
however, the first line of output will need to be discarded using a text editor.
