[mapguide-users] PHP Function to transform coord system.

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Sat Aug 2 05:09:34 EDT 2008


Yes, you can use the coordinate transformation functions:
http://mapguide.osgeo.org/files/mapguide/docs/webapi/d5/dd4/class_mg_coordinate_system.htm

There are some PHP examples under the MgCoordinateSystemFactory:
http://mapguide.osgeo.org/files/mapguide/docs/webapi/d3/daa/class_mg_coordinate_system_factory_4062becd3f4c5be4a08ec03de93770e2.htm#4062becd3f4c5be4a08ec03de93770e2

Regards, Kenneth Skovhede, GEOGRAF A/S


Jose Manuel C G skrev:
> I use my original coord. system in Mapguide (EPSG:23029).
>
> I want to make a button to go from Mapguide (EPSG:23029) to Google Maps
> (EPSG:4326), so I supose I could use any php function/framework/app to
> transform lat/lon points.
>
> Ex. <?php echo CoordTrans(coord.X, EPSG:23029, EPSG:4326); ?>
>
> That's the idea.
>
> Any info/help to achieve this goal?
>
> Thks in advanced.
>   


More information about the mapguide-users mailing list