4

I want re-project my Esri Arcinfo ASCII (.asc) raster file to Albers Equal Area Projection Which is currently in WGS84 and output it as .asc file. But gdalwarp cannot output as .asc file but gdaltranslate can. Is there anyway that i can use gdalwarp output as gdaltranslate input.

5
  • 3
    gdalwarp then gdal_translate. If using GDAL 2x, you can do it directly gdalwarp -s_srs EPSG:26711 -t_srs EPSG:4326 input.asc /vsistdout/ | gdal_translate -of AAIGrid /vsistdin/ output.asc. If using GDAL 1x you need to gdalwarp to VRT then gdal_translate gdalwarp -s_srs EPSG:26711 -t_srs EPSG:4326 -of VRT input.asc output.vrt gdal_translate -of AAIGrid output.vrt output.asc
    – user2856
    Jul 4 '17 at 12:30
  • @BradHards its true, see gis.stackexchange.com/questions/101387/…
    – AndreJ
    Jul 4 '17 at 14:59
  • @Luke closed as too broad would not help future visitors, while marking as a duplicate may help them.
    – AndreJ
    Jul 5 '17 at 5:02
  • can I delete it? @ luke Jul 5 '17 at 5:04
  • No, I have flagged it for moderator attention.
    – AndreJ
    Jul 5 '17 at 5:05