scaling

Russell Nelson nelson at crynwr.com
Sun Jan 9 17:03:22 CET 2005


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().

If no one objects in principle, I'll prepare a patch for approval.

-- 
--My blog is at angry-economist.russnelson.com  | Freedom means allowing
Crynwr sells support for free software  | PGPok | people to do things the
521 Pleasant Valley Rd. | +1 315-323-1241 cell  | majority thinks are
Potsdam, NY 13676-3213  | +1 212-202-2318 VOIP  | stupid, e.g. take drugs.




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)