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

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

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

revision 2698 by bernhard, Mon Sep 18 00:56:26 2006 UTC revision 2699 by bernhard, Mon Sep 18 13:59:40 2006 UTC
# Line 43  def _do_we_have_to_work_around_broken_pr Line 43  def _do_we_have_to_work_around_broken_pr
43  class Projection(BaseProjection):  class Projection(BaseProjection):
44      """A proj4 projection object that remembers the parameters.      """A proj4 projection object that remembers the parameters.
45    
46      Note: it seems that calling      The proj library is not robust against decimal_point != '.' locales.
47        Since python 2.4 calls C extensions with the set locale, it can create
48        a problem.  It seems that calling
49          self.assuregoodlocale()          self.assuregoodlocale()
50          self.assureinitlocale()          self.assureinitlocale()
51      before BaseProjection.__init__() is enough to work around the bug.      before BaseProjection.__init__() is enough to work around this.
52    
53      We assuming that the locale stays the same after a projection      We assuming that the locale stays the same after a projection
54      has been initialised      has been initialised

Legend:
Removed from v.2698  
changed lines
  Added in v.2699

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26