[Thuban-devel] scaling
Jan-Oliver Wagner
jan at intevation.de
Mon Jan 10 18:28:36 CET 2005
On Sun, Jan 09, 2005 at 11:03:22AM -0500, Russell Nelson wrote:
> I think that the raster layer should get a chance to adjust the scale
> when viewport.py's set_view_transform() calculates it. Terraserver
> tiles come in whatever resolution you want, so long as it's an integer
> power of two. Since there is, in principle, no reason to treat raster
> layers specially, I think BaseLayer should have a method for tweaking
> the scale. For example, Layer.adjust_scale().
this sounds interesting.
I wonder how other tools handle this aspect.
> If no one objects in principle, I'll prepare a patch for approval.
I must admit that I'd need to see the patch to better judge whether
it is a good idea to add this to Thuban core. The reason is that
I do not yet fully understand the consequences of such a change
and playing with it helps me to get a better impression.
Best
Jan
--
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)