Thk, I'm trying to implement, but is difficult with my knowledge.
Kenneth, GEOGRAF A/S wrote: > > 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 > > -- View this message in context: http://www.nabble.com/Any-coord.-system-to-WGS84-%28Google-Earth%29-tf4085738s16610.html#a11706731 Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
