Herons and egrets curl their necks when they fly so that they don't seem to project very far when seen from below. Also, they tend not to migrate in groups flying in V formation. Geese don't have long legs. These are cranes, and in this case, Sandhill Cranes.