Moved call to mid in interations out to `osmdata_t`.
Iterate in `osmdata_t`, so that multiple can be handled.