Shapefile is not properly overlapping on Google Map

Topics: SharpMap v0.9 / v1.x, WinForms Controls
May 12, 2014 at 5:32 AM
Hello;
I'm trying to overlay .shp file on Google maps . I got a code snippet which is doing the conversion but when I zoom I could see the shape file is not overlayed properly. My .shp file is showing an Authority code "GCS_GDA_1994" . Please see the transformation I'm using.
var ctf = new CoordinateTransformationFactory();
var epsg3785 = new CoordinateSystemFactory().CreateFromWkt(
                "PROJCS[\"Popular Visualisation CRS / Mercator\", " +
                         "GEOGCS[\"Popular Visualisation CRS\", " +
                                 "DATUM[\"Popular Visualisation Datum\", " +
                                         "SPHEROID[\"Popular Visualisation Sphere\", 6378137, 0, AUTHORITY[\"EPSG\",\"7059\"]], " +
                                         "TOWGS84[0, 0, 0, 0, 0, 0, 0], " +
                                         "AUTHORITY[\"EPSG\",\"6055\"]], " +
                                 "PRIMEM[\"Greenwich\", 0, AUTHORITY[\"EPSG\", \"8901\"]], " +
                                 "UNIT[\"degree\", 0.0174532925199433, AUTHORITY[\"EPSG\", \"9122\"]], " +
                                 "AXIS[\"E\", EAST], AXIS[\"N\", NORTH], " +
                                 "AUTHORITY[\"EPSG\",\"4055\"]], " +
                                 "PROJECTION[\"Mercator\"], " +
                                      "PARAMETER[\"False_Easting\", 0], " +
                                      "PARAMETER[\"False_Northing\", 0], " +
                                      "PARAMETER[\"Central_Meridian\", 0], " +
                                      "PARAMETER[\"Latitude_of_origin\", 0], " +
                                      "UNIT[\"metre\", 1, AUTHORITY[\"EPSG\", \"9001\"]], " +
                                      "AXIS[\"East\", EAST], AXIS[\"North\", NORTH], " +
                                      "AUTHORITY[\"EPSG\",\"3785\"]]");
 vlayer.CoordinateTransformation = ctf.CreateFromCoordinateSystems(oshape.CoordinateSystem, epsg3785);
 _map.Layers.Add(tileLayer);
 _map.Layers.Add(vectorlayer);
_map.ZoomToExtents();
I tried some spatial references I was able to find http://spatialreference.org/ but is throwing errors. Any helps please...
Coordinator
May 12, 2014 at 10:14 AM
either
var epsg3857 = ProjNet.CoordinateSystems.ProjectedCoordinateSystem.WebMercator;
or
change PROJECTION[\"Mercator\"] to PROJECTION[\"Pseudo-Mercator\"]
Marked as answer by pvarghese on 5/12/2014 at 7:31 PM