How easy is it to override the
MsSql2008FeatureLayer class in order to reproject the shapes retrieved from SQL into another projection? I basically want to customize the MsSql2008FeatureLayer to pull back the features from SQL Server, reproject them from WGS84 to UTM NAD83, and have the reprojected features display on the map. I can use the ProjProjection class to do this now by reprojecting onto a internal memory layer but I'd rather have the Sql feature layer handle it. I also would like to override the FeatureSource Save to perform the opposite operation.
Proj4Projection
proj4Projection.ExternalProjectionParametersString =
proj4Projection = new Proj4Projection();Proj4Projection.GetEpsgParametersString(epsgZone); //UTM
proj4Projection.InternalProjectionParametersString =
Proj4Projection.GetEpsgParametersString(4326); //geodetic
proj4Projection.Open();