It depends on whether the species is sexually dimorphic or not, that is the males have very different coloring from the females. Otherwise, size is a good indication, as well as aggressive behavior and mounting.
The gender of some species of geese is identifiable through visual characteristics. However, the best way to identify the gender of a goose is to observe it during mating season.