Requires gdal2:
brew install osgeo/osgeo4mac/gdal2
export PATH="/usr/local/opt/gdal2/bin:$PATH" # or just use /usr/local/opt/gdal2/bin/gdalwarp
And a build of bleeding-edge version of proj:
brew reinstall proj.rb --HEAD
To revert just uninstall and reinstall the normal version:
brew uninstall proj --force --ignore-dependencies
brew install proj
Using a proj4 string +proj=wintri
doesn’t work due to lacking gdal support, but using a wkt file does:
gdalwarp -t_srs wintri.wkt -r lanczos src.tif dst.tif