This project is read-only.

Unable to ReprojectPoints

Sep 1, 2011 at 12:20 AM


I've just reprojected the mapframe into NAD1983StatePlaneColoradoCentralFIPS0502Feet and I am trying to get the ViewExtents of the mapframe in lat/long so that I can get a new image from my image server. But no matter what I do I am not able reproject the points into lat/long. I am using -

Reproject.ReprojectPoints(coordinates, new double[0], new ProjectionInfo(KnownCoordinateSystems.Projected.StatePlaneNad1983Feet.NAD1983StatePlaneColoradoCentralFIPS0502Feet.ToProj4String()), new ProjectionInfo(KnownCoordinateSystems.Geographic.World.WGS1984.ToProj4String()), 0, 2);

Where coordinates contains the minx,miny,maxx,maxy values.

How do I get these values back in lat/long?

Thank you,