I've found this code i buffer.php: $srsFactory = new MgCoordinateSystemFactory(); $srsDefMap = GetMapSRS($map); $srsMap = $srsFactory->Create($srsDefMap); ... $srsXform = new MgCoordinateSystemTransform($srsDs, $srsMap); ... $geomBuffer = $geom->Buffer($dist, $measure); $geomBuffer = $geomBuffer->Transform($srsXform);
I have not tested it, but it should work. See the file buffer.php in the mapviewerphp folder.
Regards, Kenneth, GEOGRAF A/S Jose Manuel C G skrev:
I have my map in Ed50 UTM 29N system, and I want to make a parser to dinamically create a .kml file in WGS84, but I don't know how to do that (the transformation, the parser works). Can I use PROJ_4 to change this proyection in the .php file? Thks a lot.
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
