Page 1 of 1

Map making script help

Posted: Wed Jun 25, 2008 3:29 am
by senorpepr
Hello everyone!

I'm giving this script-making thing a spin and have ran into a problem. I'd like to have the script generate a map based on coordinates. The end result is to have "floating" weather maps for tropical cyclones.

I see a map making command in the DA Manual: MAKE,lat,long,zoom,width,height

I've tried both of the following lines...
MAKE,23.1,114.3,3964/1500,1000,800
MAKE,23.1,114.3,2.6426,1000,800

Either line yields the following error: Floating point division by zero

Would somebody be so kind to square me away?


Thanks,
Mike

Map making script help

Posted: Tue Jul 22, 2008 7:06 am
by David Tao
Mapmaking commands

MAKE,projection,lat,long,zoom,width,height,offsetx,offsety,aspectx,aspecty

Makes a map using the given coordinates. Projection should be .1. except as shown in the table below. Lat is negative in the southern hemisphere. Long is negative in the western hemisphere. Zoom is the width of the map in statute miles. Width and height are the map sizes in pixels. Offsetx and Offsety refer to the displacement of the map contents from center (should normally be 0), and aspect ratio refer to the distortion in the X or Y direction (should normally be 1). Example command:

MAKE,1,47.583,-95.767,1000,800,600,0,0,1,1

:)