[mapguide-users] MgCoordinateSystemTransform now abstract class?

Mike Adair madair at dmsolutions.ca
Thu Jan 17 22:11:16 EST 2008


I recently started encountering this message too. What fixed it for me 
(in PHP) was to change instances of this:
$srsXform = new MgCoordinateSystemTransform($srsDs, $srsMap);

to this:
$srsXform = $srsFactory->GetTransform($srsDs, $srsMap);

Mike


Jim O'Leary wrote:
> Has MgCoordinateSystemTransform become an abstract class in MGOS 2.0? 
> I get this message when I try to make an object from it: Cannot create 
> swig object type: MgCoordinateSystemTransform as the underlying object 
> is abstract in C:\Program 
> Files\MapGuideOpenSource2.0\WebServerExtensions....
>
> *Jim O’Leary*
>
> Technical Consultant
>
> *Pacific Alliance Technologies
> *2nd Floor, 24 East 4th Ave, Vancouver BC, Canada V5T1E8
> TEL 604.676.6000 TOL 877.691.9171 FAX 604.682.0962
>
> WEB www.pat.ca <http://www.pat.ca/>
>
>
> ------------------------------------------------------------------------
> View this message in context: MgCoordinateSystemTransform now abstract 
> class? 
> <http://www.nabble.com/MgCoordinateSystemTransform-now-abstract-class--tp14864497s16610p14864497.html>
> Sent from the MapGuide Users mailing list archive 
> <http://www.nabble.com/MapGuide-Users-f14845.html> at Nabble.com.
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   


More information about the mapguide-users mailing list