Closed mapserver-bot closed 12 years ago
Author: sdlime Date: 2003/09/26 - 17:54
I might agree on scale, but not on resolution. Resolution is never computed, it
is a parameter/attribute needed to compute scale.
Author: sgillies@frii.com Date: 2003/09/26 - 18:25
My mistake on resolution. You are right, Steve.
I suppose that the C code quite dependent on using the scale variable
in the mapObj structure? Maybe we could let the C code use it as it
is, but hide scale from SWIG and replace it with a method than computes
the scale as needed? This would clean up mapscript and would not require
a rewrite of the MapServer code.
Author: sdlime Date: 2003/09/26 - 18:57
Yup, scale is all over the place. Better to compute once, at least that was the
idea. Hiding the attribute from SWIG and creating the method is fine, but there
seems to be little benefit in even doing that...
Author: sgillies@frii.com Date: 2003/10/13 - 03:30
All my issues with scale are resolved by implementing a setExtent method
(like the PHP-mapscript function) to extend mapObj. I've committed it
to the CVS (main).
Reporter: sgillies@frii.com Date: 2003/09/26 - 17:21 Trac URL: http://trac.osgeo.org/mapserver/ticket/440