/[thuban]/trunk/thuban/Thuban/Model/layer.py
ViewVC logotype

Diff of /trunk/thuban/Thuban/Model/layer.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2710 by dpinte, Tue Oct 10 08:31:44 2006 UTC revision 2804 by bernhard, Wed Jan 9 00:34:37 2008 UTC
# Line 1  Line 1 
1  # Copyright (c) 2001, 2002, 2003, 2004, 2005 by Intevation GmbH  # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2007 by Intevation GmbH
2  # Authors:  # Authors:
3  # Bernhard Herzog <[email protected]>  # Bernhard Herzog <[email protected]>
4  # Jonathan Coles <[email protected]>  # Jonathan Coles <[email protected]>
# Line 12  __version__ = "$Revision$" Line 12  __version__ = "$Revision$"
12  import os  import os
13  import warnings  import warnings
14    
15  from wxproj import point_in_polygon_shape, shape_centroid  from wxproj import shape_centroid
16    
17  from Thuban import _  from Thuban import _
18    
# Line 405  class RasterLayer(BaseLayer): Line 405  class RasterLayer(BaseLayer):
405      MASK_ALPHA = 2      MASK_ALPHA = 2
406    
407      def __init__(self, title, filename, projection = None,      def __init__(self, title, filename, projection = None,
408                   visible = True, opacity = 1, masktype = MASK_BIT):                   visible = True, opacity = 1, masktype = MASK_ALPHA):
409          """Initialize the Raster Layer.          """Initialize the Raster Layer.
410    
411          title -- title for the layer.          title -- title for the layer.

Legend:
Removed from v.2710  
changed lines
  Added in v.2804

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26