Convert GeoTIFF in ASCii/Grid

1,296 views
Skip to first unread message

José Mario Gadiani

unread,
Feb 19, 2014, 9:54:49 AM2/19/14
to max...@googlegroups.com
Hello everyone,

I`m trying to convert a GeoTIFF file in ASC or GRID, but I just find tools that do the reverse.

I did it using the Grid Converter software, but when the image was converted in ASC, all image data was lost.

Does anyone know how I can do it?

Thanks


José Mário Ferrarini

Universidade Federal de São Paulo - Brazil
Lab. Ecologia e Sistemática

John Baumgartner

unread,
Feb 19, 2014, 3:25:44 PM2/19/14
to maxent

You can do this in R quite easily:

library(raster)
r <- raster('c:/path/to/raster.tif')
writeRaster(r, 'c:/path/to/raster.asc')

--
You received this message because you are subscribed to the Google Groups "Maxent" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maxent+un...@googlegroups.com.
To post to this group, send email to max...@googlegroups.com.
Visit this group at http://groups.google.com/group/maxent.
For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages