[fusion-trac] #434: Projection handling problems (defs folder and not passing wkt for parsing)

Fusion trac_fusion at osgeo.org
Fri Jun 3 04:49:07 EDT 2011


#434: Projection handling problems (defs folder and not passing wkt for parsing)
----------------------+-----------------------------------------------------
 Reporter:  zspitzer  |         Owner:  madair   
     Type:  defect    |        Status:  closed   
 Priority:  P2        |     Milestone:  2.2      
Component:  MapGuide  |       Version:  2.2 - RC1
 Severity:  Major     |    Resolution:  fixed    
 Keywords:            |   External_id:           
    State:  New       |       Browser:  All      
       Os:  All       |  
----------------------+-----------------------------------------------------

Comment(by jng):

 There is one small problem with this solution. Though the
 OpenLayers.Projection is correctly constructed from the WKT, it will still
 carry the EPSG code of 4326, and it is the setting of the EPSG code on the
 OpenLayers.Projection object that makes it fire off a spatialreference.org
 request *regardless* of whether it was created from the WKT or not.

 What should ideally happen is if wkt is found, create the
 OpenLayers.Projection object from it, but also set the epsg code if there
 is one, but have the logic in OpenLayers.Projection modified to *not* fire
 off the request to spatialreference.org if the object was created in this
 fashion.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/434#comment:6>
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