if ("null".equals(nadgridsId))
return new NullDatum(null, ellps);
NTV2GridShiftFileWrapper nadgrids = Projections.getNTV2Grid(nadgridsId);
if (nadgrids == null)
throw new ProjectionConfigurationException(tr("Grid shift file ''{0}'' for option +nadgrids not supported.", nadgridsId));
return new NTV2Datum(nadgridsId, null, ellps, nadgrids);
}
String towgs84 = parameters.get(Param.towgs84.key);
if (towgs84 != null)
return parseToWGS84(towgs84, ellps);