[mapserver-users] regarding scalebar

Steve Lime Steve.Lime at dnr.state.mn.us
Thu Dec 18 08:57:24 PST 2008


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

The scalebar is correct.

Steve


>>> On 12/18/2008 at 8:04 AM, in message
<f7bb15150812180604l5fcca822pd1a9a451d183b022 at mail.gmail.com>, "Amiya Patra"
<amiyapatra188 at gmail.com> wrote:
> 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............




More information about the MapServer-users mailing list