Implemented distanceto URN endpoint.