I'm developing a simulation which should emulate the movement of cars on a road, emitting GPS coordinates for different cars in a certain bounding box. Therefore, i'd like to use OverpassQL to generate some "random" (i suppose i will just choose a random starting point myself, since as far as i know OverpassQL does not implement any RNG), if possible cyclic paths for cars to "drive" along repeatedly. Another possibility would be just a path that starts at one border of the bounding box and ends at the other. I suppose i could just recurse along adjacent ways at their corresponding ends, but how do i make this cyclic, i.e. ending at the starting point? I am a total beginner at OverpassQL and the options seem overwhelming. Can anyone help me out?
asked
sbaier1 |