constexpr explicit vec(const osmium::NodeRef& nr) noexcept : x(nr.x()), y(nr.y()) { }
int tav(osmium::NodeRef a,osmium::NodeRef b) { return sqrt(std::pow(a.x()-b.x(),2)+std::pow(a.y()-b.y(),2)); }