Documentation
¶
Index ¶
- func DBInit() *sqlx.DB
- func GetExcelColumn(i int) (string, error)
- func PingWithTimeout(db *sqlx.DB) error
- func PrintAscii(grid [][]float64, filepath string, xInfo tools.Info, yInfo tools.Info, ...) error
- func PrintExcel(grid [][]float64, filename string, pow float64) error
- func ReadGeoPackage(filename string, layer string, field string, stepX float64, stepY float64) ([]tools.Point, string, tools.Info, tools.Info, error)
- func ReadPGData(db *sqlx.DB, query string, stepX float64, stepY float64) ([]tools.Point, tools.Info, tools.Info, error)
- func ReadTextData(filepath string, epsg int) ([]tools.Point, string, tools.Info, tools.Info, error)
- func TransferType(src string, dst string, outputType string) error
- func WriteGDAL(unwrappedMatrix interface{}, GDINFO GDalInfo, filename string, ...) error
- type GDalInfo
- type StringInt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExcelColumn ¶
func PrintAscii ¶
func PrintExcel ¶
Print out grid to excel file. Can only be done serially.
func ReadGeoPackage ¶
func ReadPGData ¶
func ReadTextData ¶
func WriteGDAL ¶
func WriteGDAL(unwrappedMatrix interface{}, GDINFO GDalInfo, filename string, offsets tools.OrderedPair, totalSize tools.OrderedPair, bufferSize tools.OrderedPair, create bool) error
Write out cleaned data using gdal. Currently only supports ascii and tiff types.
Types ¶
type GDalInfo ¶
type GDalInfo struct { XMin float64 YMin float64 XCell float64 YCell float64 GDalDataType gdal.DataType Proj string }
func CreateGDalInfo ¶
func GetInfoGDAL ¶
func GetInfoGDAL(filepath string) (GDalInfo, tools.OrderedPair, error)
func ReadGDAL ¶
func ReadGDAL(filepath string, offsets tools.OrderedPair, size tools.OrderedPair, entireFile bool) ([]byte, GDalInfo, tools.OrderedPair, error)
Click to show internal directories.
Click to hide internal directories.