[fusion-trac] #392: Warning 'towgs84' is null or not an object popup if the CS of the map is CA-I (NAD27 California State Planes, Zone I(401), US Foot)

Fusion trac_fusion at osgeo.org
Fri Apr 16 02:33:45 EDT 2010


#392: Warning 'towgs84' is null or not an object popup if the CS of the map is
CA-I (NAD27 California State Planes, Zone I(401), US Foot)
--------------------+-------------------------------------------------------
 Reporter:  liuar   |         Owner:  madair   
     Type:  defect  |        Status:  new      
 Priority:  P2      |     Milestone:  Future   
Component:  Core    |       Version:  2.0.0-RC1
 Severity:  Major   |    Resolution:           
 Keywords:          |   External_id:  1316655  
    State:  New     |       Browser:  All      
       Os:  All     |  
--------------------+-------------------------------------------------------
Comment (by liuar):

 In proj4js.js [[BR]]

 {{{
 var datumDef=Proj4js.Datum[this.datumCode]
 if(datumDef)
 {
     this.datum_params=datumDef.towgs84.split(',');
     ....
 }
 }}}
 [[BR]]

 if the datumCode is NAD27(CA-I), the datumDef will not contain a property
 named towgs84. So, to fix this problem or the workaround of this defect is
 add  "&& datumDef.towgs84" to the if clause to make sure towgs84 is
 included in datumDef.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/392#comment:1>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list