Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
deleted 10 characters in body
Source Link
Kadir Şahbaz
  • 78k
  • 57
  • 257
  • 404

I have this coordinate (778597.3125000001, 9148353). I am told this coordinate is Arc 1960 / UTM zone 36S.

When I go here: https://epsg.io/21036 and click "Get Position on Map" and enter in the above utm coordinates, it places the point in the correct place on the map (At the corner of a field).

What kind of transform/projection do I have to do to make it Lat Long, and then go to the same point in Google Maps?

I have tried various ways but seem to end up 400 - 200m diagonal offset.

The correct lat long should be: Lat: -7.699944 Long: 35.5262575 (corner of the field, see link below):

https://www.google.com/maps/place/7%C2%B041'59.8%22S+35%C2%B031'34.5%22E/@-7.6999387,35.5240688,1108m/data=!3m2!1e3!4b1!4m5!3m4!1s0x0:0x0!8m2!3d-7.699944!4d35.5262575

I am using DotSpatial.

            var Arc1960UTMZone36S = KnownCoordinateSystems.Projected.UtmOther.Arc1960UTMZone36S; 
            Arc1960UTMZone36S.AuthorityCode = 21036;

            var WGS1984 = KnownCoordinateSystems.Geographic.World.WGS1984;
            //4326 google earth  
            //3857 for google maps
            WGS1984.AuthorityCode = 3857;

            double[] xy = new double[2] { 778597.3125000001, 9148353 };
            double[] z = new double[1] { 0d };

            Reproject.ReprojectPoints(xy, z, Arc1960UTMZone36S, WGS1984, 0, 1);

            var latitude = xy[1];
            var longitude = xy[0];

            Debug.WriteLine($"Lat: {latitude} Long: {longitude}");

Would anybody know why it is offset?

Thanks

I have this coordinate (778597.3125000001, 9148353). I am told this coordinate is Arc 1960 / UTM zone 36S.

When I go here: https://epsg.io/21036 and click "Get Position on Map" and enter in the above utm coordinates, it places the point in the correct place on the map (At the corner of a field).

What kind of transform/projection do I have to do to make it Lat Long, and then go to the same point in Google Maps?

I have tried various ways but seem to end up 400 - 200m diagonal offset.

The correct lat long should be: Lat: -7.699944 Long: 35.5262575 (corner of the field, see link below):

https://www.google.com/maps/place/7%C2%B041'59.8%22S+35%C2%B031'34.5%22E/@-7.6999387,35.5240688,1108m/data=!3m2!1e3!4b1!4m5!3m4!1s0x0:0x0!8m2!3d-7.699944!4d35.5262575

I am using DotSpatial.

            var Arc1960UTMZone36S = KnownCoordinateSystems.Projected.UtmOther.Arc1960UTMZone36S; 
            Arc1960UTMZone36S.AuthorityCode = 21036;

            var WGS1984 = KnownCoordinateSystems.Geographic.World.WGS1984;
            //4326 google earth  
            //3857 for google maps
            WGS1984.AuthorityCode = 3857;

            double[] xy = new double[2] { 778597.3125000001, 9148353 };
            double[] z = new double[1] { 0d };

            Reproject.ReprojectPoints(xy, z, Arc1960UTMZone36S, WGS1984, 0, 1);

            var latitude = xy[1];
            var longitude = xy[0];

            Debug.WriteLine($"Lat: {latitude} Long: {longitude}");

Would anybody know why it is offset?

Thanks

I have this coordinate (778597.3125000001, 9148353). I am told this coordinate is Arc 1960 / UTM zone 36S.

When I go here: https://epsg.io/21036 and click "Get Position on Map" and enter in the above utm coordinates, it places the point in the correct place on the map (At the corner of a field).

What kind of transform/projection do I have to do to make it Lat Long, and then go to the same point in Google Maps?

I have tried various ways but seem to end up 400 - 200m diagonal offset.

The correct lat long should be: Lat: -7.699944 Long: 35.5262575 (corner of the field, see link below):

https://www.google.com/maps/place/7%C2%B041'59.8%22S+35%C2%B031'34.5%22E/@-7.6999387,35.5240688,1108m/data=!3m2!1e3!4b1!4m5!3m4!1s0x0:0x0!8m2!3d-7.699944!4d35.5262575

I am using DotSpatial.

            var Arc1960UTMZone36S = KnownCoordinateSystems.Projected.UtmOther.Arc1960UTMZone36S; 
            Arc1960UTMZone36S.AuthorityCode = 21036;

            var WGS1984 = KnownCoordinateSystems.Geographic.World.WGS1984;
            //4326 google earth  
            //3857 for google maps
            WGS1984.AuthorityCode = 3857;

            double[] xy = new double[2] { 778597.3125000001, 9148353 };
            double[] z = new double[1] { 0d };

            Reproject.ReprojectPoints(xy, z, Arc1960UTMZone36S, WGS1984, 0, 1);

            var latitude = xy[1];
            var longitude = xy[0];

            Debug.WriteLine($"Lat: {latitude} Long: {longitude}");

Would anybody know why it is offset?

Source Link
Kellie
  • 121
  • 3

Arc 1960 / UTM zone 36S to Lat Long for Google Maps

I have this coordinate (778597.3125000001, 9148353). I am told this coordinate is Arc 1960 / UTM zone 36S.

When I go here: https://epsg.io/21036 and click "Get Position on Map" and enter in the above utm coordinates, it places the point in the correct place on the map (At the corner of a field).

What kind of transform/projection do I have to do to make it Lat Long, and then go to the same point in Google Maps?

I have tried various ways but seem to end up 400 - 200m diagonal offset.

The correct lat long should be: Lat: -7.699944 Long: 35.5262575 (corner of the field, see link below):

https://www.google.com/maps/place/7%C2%B041'59.8%22S+35%C2%B031'34.5%22E/@-7.6999387,35.5240688,1108m/data=!3m2!1e3!4b1!4m5!3m4!1s0x0:0x0!8m2!3d-7.699944!4d35.5262575

I am using DotSpatial.

            var Arc1960UTMZone36S = KnownCoordinateSystems.Projected.UtmOther.Arc1960UTMZone36S; 
            Arc1960UTMZone36S.AuthorityCode = 21036;

            var WGS1984 = KnownCoordinateSystems.Geographic.World.WGS1984;
            //4326 google earth  
            //3857 for google maps
            WGS1984.AuthorityCode = 3857;

            double[] xy = new double[2] { 778597.3125000001, 9148353 };
            double[] z = new double[1] { 0d };

            Reproject.ReprojectPoints(xy, z, Arc1960UTMZone36S, WGS1984, 0, 1);

            var latitude = xy[1];
            var longitude = xy[0];

            Debug.WriteLine($"Lat: {latitude} Long: {longitude}");

Would anybody know why it is offset?

Thanks