So when you’re lost, just find a pooping dog to know where the North is. Or the south.

Wait this is useless.

If you’re not in a hurry (and you know which hemisphere you’re in) you can make a sun compass to figure out whether the dog pooped north or south. Come to think of it, you can make a sun compass observing a pooping dog first.
It works better with larger dogs. Then you can observe the shadow to determine East/West at the same time.