public static void addNew(SortedList <Int32, ProjectionInfo> projections, CoreProjectionInfo cpi, Transform transformer) { projections[cpi.code] = new ProjectionInfo { code = cpi.code, proj4 = cpi.proj4, transformer = transformer, projections = projections, info = transformer.infoFromWkt(cpi) }; }
public object infoFromWkt(CoreProjectionInfo info) { return(Registry.Get("EPSG:" + info.code)); }