[OpenLayers-Users] Scale Control rounding low-valued scales

Schuyler Erle sderle at metacarta.com
Mon Feb 19 17:48:36 EST 2007


On Sun, 2007-02-18 at 16:53 +0000, Stuart Eve wrote:
>
>  From our point of view we deal with digitised archaeological plans 
> which are sometimes drawn at 1:20 or 1:10 (we are using metres as the 
> units not centimetres). Therefore rounding to the nearest integer for 
> scale is totally fine for us - it would be nice I guess to get right 
> down to 1:1! Can you explain why the browser isn't the best for 
> centimetre accuracy? The MousePosition control seems to work well and I 
> have checked the coordinates of various features against my desktop GIS 
> and it seems right on... In fact Openlayers is working really well 
> (except for the scale read-out) we are loving it!

I've applied Christopher's patch for this issue (ticket #503) to trunk.
However, I think it's a little late to include this in the 2.3 release,
unless folks think otherwise. (It *is* a bug fix, but a pretty minor
one, and 2.3 is already long overdue.)

SDE




More information about the Users mailing list