![]() |
Reproject a Point |
Post Reply
|
| Author | |
tb63
Visitor
Joined: November 24 2011 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Topic: Reproject a PointPosted: November 25 2011 at 2:55pm |
|
In My application I have to reproject a point from Australian Geographic GDA to Ttranverse mercatore MGA zone 55.
I have a point double x double y in GDA and I want it in MGA94 for creeting a location. Any help Thanks |
|
![]() |
|
tb63
Visitor
Joined: November 24 2011 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Posted: November 25 2011 at 3:07pm |
|
For the moment I'triiyn ( withou success )
ITerrain6 tr = sgworld.Terrain; ICoordinateSystem6 csProject = tr.CoordinateSystem; ICoordServices6 ICoordServices ; ICoordinateSystem6 csGDA; csGDA.InitFromEPSG(4283); ICoordServices.Reproject(csProject, csGDA, x, y); |
|
![]() |
|
tb63
Visitor
Joined: November 24 2011 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Posted: November 25 2011 at 4:08pm |
|
This compile but does not work :-(
ITerrain6 tr = sgworld.Terrain; ICoordinateSystem6 csProject = tr.CoordinateSystem; ICoordServices6 ICoordServices = sgworld.CoordServices; ICoordinateSystem6 csGDA = ICoordServices.CreateCoordinateSystem(""); ICoordServices.GetDistance(1,1,5,5); csGDA.InitFromEPSG(4283); ICoord2D cc = ICoordServices.Reproject(csProject, csGDA, x, y); |
|
![]() |
|
Post Reply
|
|
|
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |