Version 4.4.1 dependency and/or linux platform dependency?

Frank Warmerdam fwarmerdam at GMAIL.COM
Fri Apr 22 14:35:39 EDT 2005


On 4/22/05, Brian Davis <bdavis at usgs.gov> wrote:
> My question is, I can figure out how to do a max in javascript,
> how do I do a:
> MS_CELLSIZE?

Brian,

In map.h, MS_CELLSIZE is defined this way:

 #define MS_CELLSIZE(min,max,d)    ((max - min)/d)

So, the horizontal cell size would be (max-min)/width. 

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list