/[thuban]/trunk/thuban/Extensions/umn_mapserver/mapfile.py
ViewVC logotype

Diff of /trunk/thuban/Extensions/umn_mapserver/mapfile.py

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

revision 2855 by jschuengel, Fri Sep 3 17:00:10 2004 UTC revision 2856 by elachuni, Sun Jul 27 04:51:22 2008 UTC
# Line 42  from Thuban.Model.color import Color, Tr Line 42  from Thuban.Model.color import Color, Tr
42  from Thuban.Model.classification import ClassGroupDefault, \  from Thuban.Model.classification import ClassGroupDefault, \
43                                          ClassGroupSingleton, ClassGroupRange                                          ClassGroupSingleton, ClassGroupRange
44    
45    import mapscript
46  from mapscript import layerObj, classObj, colorObj, styleObj, rectObj, symbolObj, \  from mapscript import layerObj, classObj, colorObj, styleObj, rectObj, symbolObj, \
47                        pointObj, lineObj                        pointObj, lineObj
48                                                
# Line 84  scalebar_status_type = { 0:"OFF", Line 85  scalebar_status_type = { 0:"OFF",
85  scalebar_style_type = { 0:"0",  scalebar_style_type = { 0:"0",
86                          1:"1" }                          1:"1" }
87    
88  scalebar_position_type = { 0:"ul",  scalebar_position_type = { mapscript.MS_UL:"ul",
89                             1:"lr",                             mapscript.MS_LR:"lr",
90                             2:"ur",                             mapscript.MS_UR:"ur",
91                             3:"ll",                             mapscript.MS_LL:"ll",
92                             6:"uc",                             mapscript.MS_UC:"uc",
93                             7:"lc"}                             mapscript.MS_LC:"lc"}
94    
95  layer_status_type = { 0:"OFF",  layer_status_type = { 0:"OFF",
96                        1:"ON",                        1:"ON",
# Line 1347  class MF_Projection: Line 1348  class MF_Projection:
1348                  self._initcode, self._epsgcode = self._mfprojstring.split(':')                  self._initcode, self._epsgcode = self._mfprojstring.split(':')
1349              else:                else:  
1350                  self._params = []                    self._params = []  
1351                  self._params = self._mfprojstring.split("+")                  self._params = [p.strip() for p in self._mfprojstring.split("+")]
1352                  if self._params[0] == "":                  if self._params[0] == "":
1353                      self._params.remove("")                      self._params.remove("")
1354    

Legend:
Removed from v.2855  
changed lines
  Added in v.2856

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26