Created
December 9, 2016 17:31
-
-
Save juan-fdz-hawa/6e79e4a1bacd480b2dcd577345dbbef3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Sets up a array to contain the x and y coordinates | |
double[] xy = new double[2]; | |
xy[0] = 0; | |
xy[1] = 0; | |
//An array for the z coordinate | |
double[] z = new double[1]; | |
z[0] = 1; | |
//Defines the starting coordiante system | |
ProjectionInfo pStart = KnownCoordinateSystems.Geographic.World.WGS1984; | |
//Defines the ending coordiante system | |
ProjectionInfo pEnd = KnownCoordinateSystems.Projected.NorthAmerica.USAContiguousLambertConformalConic; | |
//Calls the reproject function that will transform the input location to the output locaiton | |
Reproject.ReprojectPoints(xy, z, pStart, pEnd, 0, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment