Port of proj4 transformations to CDM.