// Set UTM projection definition func (sr SpatialReference) SetUTM(zone int, north bool) error { err := C.OSRSetUTM(sr.cval, C.int(zone), BoolToCInt(north)) if err != 0 { return error(err) } return nil }
// Set UTM projection definition func (sr SpatialReference) SetUTM(zone int, north bool) error { return C.OSRSetUTM(sr.cval, C.int(zone), BoolToCInt(north)).Err() }