Example #1
0
File: osr.go Project: kikht/gdal
// Set to Interrupted Goode Homolosine
func (sr SpatialReference) SetIGH() error {
	err := C.OSRSetIGH(sr.cval)
	if err != 0 {
		return error(err)
	}

	return nil
}
Example #2
0
File: osr.go Project: sn-amber/gdal
// Set to Interrupted Goode Homolosine
func (sr SpatialReference) SetIGH() error {
	return C.OSRSetIGH(sr.cval).Err()
}