Survey stakes that include a GPS receiver as well as other electronics are used to define a boundary for a wireless fencing system. A survey stake is placed at each vertex of a containment boundary that will be used for animal confinement. The stakes survey their location by taking repetitive GPS readings and averaging them over time. The location information is transferred to an electronic collar that is to be worn by a monitored animal. That information forms the basis for the boundary definition used by the collar during monitoring operations.