bounding boxes

Russell Nelson nelson at crynwr.com
Mon Jan 24 15:40:04 CET 2005


Jonathan Coles writes:
 > do all layers have bounding boxes? i would think so, but i just wanted
 > to check. if so, what are people's thoughts on adding BoundingBox and
 > LatLongBoundingBox into BaseLayer? both functions exist in Layer,
 > RasterLayer, and wmsLayer, and it would be nice to be able to assume
 > that all layers have these functions implemented in some way. 

The Terra layer won't have a small bounding box.  A reasonable
bounding box will be as tall as the United States and 3 degrees wide.
Depending on the definition of BoundingBox, and the way it's used, I
think that the best bounding box the Terra layer could return is None.

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