I’m trying to load the file that you can download from here: http://www.charts.noaa.gov/ENCs/Agreement.shtml?US5CA80M
I create a new NauticalChartsFeatureLayer and pass it the file US5CA80M.000, but it throws an error when the map refreshes after adding that layer to an Overlay.
My map unit is in Meters and I’m using the current projection for all my layers:
Proj4Projection proj4Projection = new Proj4Projection
{
InternalProjectionParametersString = Proj4Projection.GetEpsgParametersString(4326), //wsg84 unprojected - all data will be in this format
ExternalProjectionParametersString = Proj4Projection.GetEpsgParametersString(3857) //mercator projection
};
Tried projecting the nautical charts layer but same error. Is there something specific I have to do for these types of layers?