I try to use projection with specific transformation for bigger accuracy. In my case I need to convert from
to
- EPSG:2229 NAD83 / California zone 5 (ftUS)
using the best transformation for Southern California:
- NAD_1983_To_WGS_1984_southern_California_54 1750
The code should be simple:
// 1. Prepare transformation:
SpatialReference spCaliforniaNAD = new SpatialReference(2229);
GeographicTransformationStep geoStep = new GeographicTransformationStep(1750);
GeographicTransformation geoTransform = new GeographicTransformation(geoStep);
// 2. Transform myPoint into projected coordinate system:
MapPoint myPoint = new MapPoint(-117.82739800, 34.64073000, SpatialReferences.Wgs84);
MapPoint projectedPoint = (MapPoint)GeometryEngine.Project(myPoint, spCaliforniaNAD, geoTransform);
The problem is that both GeographicTransformationStep and GeographicTransformation have missing projection engine files (IsMissingProjectionEngineFiles==true). Of course it results with exception in the last line.
How can I get that missing projection engine file?
Thanks,
Waldek