bindings-saga-cmd-0.1.1.0: Wrapping saga_cmd

Safe HaskellSafe-Inferred
LanguageHaskell98

Gis.Saga.Utils

Synopsis

Documentation

copyGrid :: FilePath -> FilePath -> IO () Source

Copy a grid data-set

moveGrid :: FilePath -> FilePath -> IO () Source

Move a grid data-set

appendFileName :: FilePath -> String -> FilePath Source

Utility function to append to basename of a file-name

renderStringPairs :: [(String, String)] -> String Source

Dispatch on field seperator dispSep :: String -> String dispSep s = case s of "space" -> "space" Space -> "space" " " -> "space" "t" -> "tabulator" "tab" -> "tabulator" Tab -> "tabulator" Tabulator -> "tabulator" ";" -> ";" "," -> ","

twoCol :: String -> String -> String Source

render two strings in two columns