There appear to be a bug translating from 4283 GDA94 to Lat/Long 4326.
We have tested many projections and never had a problem. yet for some reason this WKID doesn't work.
The values in the array come back as invalid numbers NAN.
We have also tried swapping in the Proj4 string to create the projection instead of using EPSG code. Same result.
Below is a small snippet test to show the issue. Resulting coordinates are not returned.
//http://spatialreference.org/ref/epsg/4283/
var sourceProjection = ProjectionInfo.FromEpsgCode( 4283 );
//http://spatialreference.org/ref/epsg/4326/
var destinationProjection = ProjectionInfo.FromEpsgCode( 4326 );
double[] xytest = new double[ 4 ];
double[] ztest = new double[ 2 ];
xytest[ 0 ] = 281737.2873;
xytest[ 1 ] = 6133012.2813;
xytest[ 2 ] = 281238.2664;
xytest[ 3 ] = 6133002.089;
Reproject.ReprojectPoints( xytest, ztest, sourceProjection, destinationProjection, 0, 2 );
We have tested many projections and never had a problem. yet for some reason this WKID doesn't work.
The values in the array come back as invalid numbers NAN.
We have also tried swapping in the Proj4 string to create the projection instead of using EPSG code. Same result.
Below is a small snippet test to show the issue. Resulting coordinates are not returned.
//http://spatialreference.org/ref/epsg/4283/
var sourceProjection = ProjectionInfo.FromEpsgCode( 4283 );
//http://spatialreference.org/ref/epsg/4326/
var destinationProjection = ProjectionInfo.FromEpsgCode( 4326 );
double[] xytest = new double[ 4 ];
double[] ztest = new double[ 2 ];
xytest[ 0 ] = 281737.2873;
xytest[ 1 ] = 6133012.2813;
xytest[ 2 ] = 281238.2664;
xytest[ 3 ] = 6133002.089;
Reproject.ReprojectPoints( xytest, ztest, sourceProjection, destinationProjection, 0, 2 );