Label

Books (1) CARTO (3) Fun (21) GBDX (1) geoserver (1) GIS (57) greed (4) memo (4) movie (1) music (2) python (4) R (12) statistics (10) study (20) swim (5) tools (19) Ubuntu (7)

2011/12/27

【R】RSAGA - convert sgrd file to ascii

# load RSAGA
library(RSAGA)

# convert
rsaga.sgrd.to.esri("twi", "twi.asc", "C:\data\ws_saga\esri", format="ascii", env=rsaga.env(path="C:\data\ws_saga\saga_207"))


>>you dont need after "env=" if you could set the path to the saga_cmd.exe properly.