/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/Model/load.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/Model/load.py

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

revision 74 by bh, Tue Aug 28 15:41:52 2001 UTC revision 75 by bh, Mon Feb 4 19:22:22 2002 UTC
# Line 1  Line 1 
1  # Copyright (C) 2001 by Intevation GmbH  # Copyright (C) 2001, 2002 by Intevation GmbH
2  # Authors:  # Authors:
3  # Jan-Oliver Wagner <[email protected]>  # Jan-Oliver Wagner <[email protected]>
4  #  #
# Line 107  class ProcessSession(HandlerBase): Line 107  class ProcessSession(HandlerBase):
107              filename = attrs.get('filename', "")              filename = attrs.get('filename', "")
108              filename = os.path.join(self.directory, filename)              filename = os.path.join(self.directory, filename)
109              fill = parse_color(attrs.get('fill', "None"))              fill = parse_color(attrs.get('fill', "None"))
110              stroke = parse_color(attrs.get('stroke', "#000000"))              stroke = parse_color(attrs.get('stroke', "#000000"))
111              self.aLayer = Layer(title, filename, fill = fill, stroke = stroke)              stroke_width = int(attrs.get("stroke_width", "1"))
112                self.aLayer = Layer(title, filename, fill = fill, stroke = stroke,
113                                    stroke_width = stroke_width)
114          elif name == 'table':          elif name == 'table':
115              print "table title: %s" % attrs.get('title', None)              print "table title: %s" % attrs.get('title', None)
116          elif name == 'labellayer':          elif name == 'labellayer':

Legend:
Removed from v.74  
changed lines
  Added in v.75

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26