scale problem

Simon Haddon simon at SIBERN.COM.AU
Wed Oct 31 17:46:37 EDT 2007


Hi Giuseppe,

I have a scalebar problem too.  In my case I can draw polygons and lines 
on the screen which do not even come close to the scalebar depending 
where in Australia I am.  I know my drawing tools and the distance 
measurement toos are accurate but the mapserver scalebar is not.

Looking into the code I discover that the scalebar is only calculated on 
the equator when using geographics.  This might be related to what you 
are seeing depending where on the planet you are.  The other problem is 
related to the project being used and the area.  Since you are dealing 
in millimeters it could be a real problem.

I have thought replacing the mapserver created scalebar with a 
javascript created scale bar or looking at how the scalebar is created 
and try to make it more accurate.

Any suggestions anyone

Cheers,
Simon Haddon

Giuseppe De Rossi wrote:
> Hi 
> (sorry if this is a repost for you)
> I've pointed that when
> I put the scale to 1000 (or 1/1000), in the map 1 mm should be egual to 1
> meter, well, if I print the map and I try to measure it by using a real
> meter line I see that the map is stretched.
> I don't know if it is only my experence. Please, try to print a Map after
> setting the scale to a normalized value as for example 1/1000, now on your
> paper try to measure a distance by using a line: the number of n millimeters
> should correspond to n meters, but the line will measure a different number
> of millimeters.
> Is that your experience too ? is there anybody who can explain me this item,
> and is there solution in order to have a phisical millimeter on the paper
> when I set the scale to 1/1000 ?
>
> Another issue: how can I get the meter (graphical) line under the main map
> to have normalized values as factor of 10 ie 10,10... 100 meters etc ?
> The target consists on using the map as a valid measurement tool.
>
>
> thaks to everybody
>  
>  --
>  Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>  
>  Sponsor:
>  Email.it Direct Email Marketing, la soluzione vincente per far conoscere il
> tuo business. Chiedi un preventivo senza impegno
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7009&d=20070917
>   



More information about the mapserver-users mailing list