
Hello!
I am completely new to DotSpatial. My question is whether I can convert coordinates given in
Svy21 (Singapore, also known as EPSG:3414) into WGS84? If so, what would be the steps?
Here's an online converter doing precisely what I want: http://dominoc925.blogspot.com/p/svy21coordinateconverter.html
Any help, advice, tips would be greatly appreciated!
Regards,
Daniel Lidström
Stockholm, Sweden



Ok, looks like it was easy enough that I was able to do it myself. Here's how I did it:
ProjectionInfo start = new ProjectionInfo("+proj=tmerc +lat_0=1.366666666666667 +lon_0=103.8333333333333 +k=1 +x_0=28001.642 +y_0=38744.572 +ellps=WGS84 +units=m +no_defs");
ProjectionInfo end = KnownCoordinateSystems.Geographic.World.WGS1984;
double[] xy = { 30139.47, 30597.782 };
double[] z = { 0.0 };
Reproject.ReprojectPoints(xy, z, start, end, 0, 1);
Console.WriteLine("({0}, {1}, {2})", xy[0], xy[1], z[0]);
The projection information was taken from
EPSG:3414 proj4.
Daniel

