[Thuban-devel] bounding boxes

Jonathan Coles jonathan at jpcoles.com
Mon Jan 24 20:20:48 CET 2005


Am Montag, den 24.01.2005, 09:30 +0100 schrieb Jan-Oliver Wagner:
> On Fri, Jan 21, 2005 at 06:09:00PM -0500, Jonathan Coles wrote:
> > 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. 
> > 
> > i'm asking because i'd like to make the bounding boxes standard in the
> > properties dialog.
> > 
> > in the same vein, i've added a funtion called Type() in BaseLayer which
> > returns a string representing the type of the layer. For instance,
> > "Unknown", "Image", or whatever kind of shape layer it is.
> 
> can you send a patch of these proposed changes? (seems like
> you have already implemented it for testing :-)

i haven't actually made the bounding box changes, i've only added the
Type() method. i have a series of patches to complete the work for
proper masking. i'll send these in a seperate email.

--jonathan

-- 
=====================================================================
 Jonathan Coles                               http://www.jpcoles.com
 jonathan at jpcoles.com                    GnuPG Key: /gpg_pub_key.asc
=====================================================================




More information about the Thuban-devel mailing list

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