If you try to use the PS Vita's Near functionality over WiFi and get "Location data cannot be obtained" constantly, try to turn off the Vita completely (hold the power button at the top for a few seconds) and then turn it on again. This at least solved it for my PS Vita.