[mapserver-users] regarding scalebar

2008-12-18 Thread Amiya Patra
Hi. Please anyone give answer of my question.According to me It should be 7.886242254 as my scale bar size is (144X5).plz response ___ mapserver-users mailing list mapserver-users@lists.osgeo.org

Re: [mapserver-users] regarding scalebar

2008-12-18 Thread Steve Lime
I provided a comprehensive answer yesterday. Even though your size is 144x5 that's the size of the whole scalebar image of which the actual bar is only a portion of. The bar is only 111 pixels wide so 6 is the correct value. Using your numbers this works out: 111/144 * 7.886242254 = 6.0789784

[mapserver-users] regarding scalebar

2008-12-17 Thread Amiya Patra
Hi I have one input with extent -97.384655 49.697475 -96.82 50.077168 .Now my scalebar initially shows me upto 6 miles(0...3...6) why?? It should to show more than 6 as 1 degree =69.04 miles. MAP IMAGETYPE png24 #NAME mapa SIZE 640 480 STATUS ON UNITS dd

Re: [mapserver-users] regarding scalebar

2008-12-17 Thread Steve Lime
Dude, you need to be more patient, and it's not necessarily a simple question. Anyway, near as I can tell there is no problem. I whipped up a little example based on your mapfile and extent, see:

[mapserver-users] regarding scalebar

2008-12-17 Thread Amiya Patra
Hi Why anyone is nt explaining my simple question.??...My scalebar doubt.And one more thing I need to restart apachhe after a period to continue run my programwhy???Plz reply ___ mapserver-users mailing list

[mapserver-users] regarding scalebar

2008-12-17 Thread Amiya Patra
Hi steve... Thanks 4 reply. My calculation was exactly same as yours.. But steve my scalebar size is 144X5. ( not 110).And I do need to restart apache server after some time to continue to run my program. why is it so ??? Thanks Regards Amiya Patra