home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_progs
/
educ
/
drawmap.lha
/
DrawMap4.1.doc
< prev
next >
Wrap
Text File
|
1992-08-20
|
7KB
|
170 lines
Drawmap
Version 4.1
A program for drawing representations of the Earth's surface.
by
Bryan Brown
07/03/92
I. Abstract
This program, an update to release 4.1, gives the user the ability to
generate several additional projections of the Earth's surface, using the
full Micro World Data Bank files. All map projections may now be centered
at a user-specified point on the Earth's surface, and box views may now span
the international date line. Versions for PAL systems are also provided.
This release uses the same map and configuration files as release 4.1.
II. Disclaimer
As with version 4.1, no guarantee is made as to the accuracy of the national
boundaries represented by this product. Recent political events have made
the map file out of date.
III. Distribution
As with earlier releases, this program is released into the public domain
(FREEWARE), and is freely distributable as long as this document file,
source code, header files, binary files, IFF file and text files are
included in their entirety. The source may be modified for personal use,
but is NOT for commercial use. The modifications resulting in version 4.1
were compiled with Aztec C version 5.2a.
Files included:
drawmap4.1 - executable code
drawmap4.1.info - icon file for workbench users
drawmap4.1.020 - executable code requiring at least a
68020 CPU and 68881 FPU
drawmap4.1.020.info - icon file for workbench users
drawmap4.1.PAL - executable code for PAL systems
drawmap4.1.PAL.info - icon file for workbench users
drawmap4.1.020.PAL - executable code requiring at least a 68020
CPU and 68881 FPU, for PAL systems
drawmap4.1.020.PAL.info - icon file for workbench users
drawmap4.1.doc - documentation file
drawmap4.1.doc.info - icon file for workbench users
drawmap.c - source code
drawmap.h - general header file
drawmap-help.h - header file for help option
drawmap-menu.h - header file for menu selections
drawmap-proto.h - header file with function prototypes
drawmap-req.h - header file for string requester
map.flat.pic.PAL - initial map for PAL systems
reqglue.asm - glue file for accessing req.library
(from Fish disk 419, where the object
file is named areqglue.o)
reqbase.h - header file for accessing req.library
(from Fish disk 419)
ILBM_lib.h - header file for accessing ilbm.library
(from Fish disk 463)
IlbmInterface.asm - interface file for accessing ilbm.library
(from Fish disk 463)
drawmap.help - simple text file containing help
information for each menu item
make4.1 - simple batch file for building the
executable code
IV. Differences from version 4.0
o Still requires 1.5 megabytes of memory (not really a difference,
just a reminder).
o Additional map projections:
Lambert cylindrical
Gall stereographic
Hammer-Aitoff polyconic
Simple polyconic
Aitoff-Wagner polyconic
Mollweide pseudo-cylindrical
Sanson-Flamsteed pseudo-cylindrical
o User may select the point on the Earth's surface to be at the center
of the maps.
o User may "slide" the center point of the projections along the
equator, thereby giving an exact equatorial projection.
o Box views may now cross the international date line, thereby allowing
the user to see the entire south Pacific Ocean, for example. To
accomplish this, first select the initial box near the date line, and
then expand the box to cross the date line.
V. Notes:
o To build the program from source, the user will first have to assemble
the files reqglue.asm and ILBMInterface.asm to generate areqglue.o and
ilbminterface.o, respectively. The batch file "make4.1" may then be
executed to build the actual executable program. (The reqglue object
file is named "areqglue.o" instead of "reqglue.o" to signify that the
file is for Aztec C, and not SAS (Lattice) C. On Fish disk 463 the SAS
(Lattice) object file is named "lreqglue.o".)
o This release uses the exact same map and configuration files as does
release 4.0. To save space in the distribution of this release, the
following files are NOT provided with this release:
coast.pnt
country.pnt
island.pnt
lake.pnt
map.config
map.flat.pic
map.limits.bin
river.pnt
state.pnt
and, for the user's LIBS: drawer,
req.library
ilbm.library
The user must obtain the above files from the distribution copy of
release 4.0.
o The Help file provided with this release contains information on each
of the menu selections provided with this release. As with release
4.0, the contents of each help entry may be modified using any normal
text editor. The same provisos stated for release 4.0 apply to this
release also.
VI. Limitations
o Because of limitations in the req.library and ilbm.library, the mouse
pointers in the file requester, palette and Help item display windows
revert to the user's own mouse pointer image rather than the arrowhead
used in drawmap. It would be beneficial if the programmer were able
to specify to req.library and ilbm.library the imagery to use for the
mouse pointer.
VII. Suggestions for further improvements (any volunteers?)
o More kinds of maps (naturally).
o Modify the source code to execute from multiple floppy disk drives
instead of only from a hard disk. I have no way to test this since I
have only one floppy disk drive.
o For users with small amounts of RAM, do not preload the map files into
memory. Read each map file a point at a time as necessary. This
would result in slower execution than the current method, but at least
the program would be usable by more Amiga users.
VIII. Correspondence
This release was developed by:
Bryan Brown
13129 Collingwood Terrace
Silver Spring, MD 20904, USA