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

Fusion trac_fusion at osgeo.org
Tue Jul 31 20:20:28 PDT 2012


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

Comment(by wuma):

 Hi Mike,

 After the enhancement, how to deal with the projection CS which doesn't
 have definition in Proj4js built-in defs?
 E.g. I have a projection CS as below:
 {{{
 PROJCS["CH1903Plus_1.LV95/01",
   GEOGCS[
     "CH1903Plus_1.LL",
       DATUM["CH1903Plus_1",
         SPHEROID["BESSEL",6377397.155,299.15281535],
 TOWGS84[674.3740,15.0560,405.3460,0.000000,0.000000,0.000000,0.00000000]],
       PRIMEM["Greenwich",0],
       UNIT["Degree",0.017453292519943295]],
   PROJECTION["Swiss_Oblique_Cylindrical"],
   PARAMETER["false_easting",2600000.000],
   PARAMETER["false_northing",1200000.000],
   PARAMETER["latitude_of_origin",46.95240555555556],
   PARAMETER["central_meridian",7.43958333333333],
   UNIT["Meter",1.00000000000000]]
 }}}

 The projection '''{{{PROJECTION["Swiss_Oblique_Cylindrical"]}}}''' is not
 defined in {{{Proj4js.wktProjections}}}, then the {{{projName}}} will be
 evaluated as '''{{{undefined}}}''' which means it's not possible to load
 the projection def from an url.
 What's your suggestion to support this kind of projection CS?

 Thanks,
 Mars

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