NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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 24 Apr '19, 17:49

sbaier1's gravatar image

sbaier1
21112
accept rate: 0%

edited 24 Apr '19, 17:50

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×483
×65
×54

question asked: 24 Apr '19, 17:49

question was seen: 834 times

last updated: 24 Apr '19, 17:50

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum