I need to simulate agent movements on map as follows:

Agent starts a known location and moves along a road. At each road intersection, the agent uniformly chooses one possible road and moves along that. The path chosen is to be traced with a poly-line.

I know how to choose a path uniformly and mark it with poly-lines once I have the data. But I am looking for how I can retrieve data like road intersection points and the roads leading from there on.

asked 27 Jul '13, 17:50

Nadeem's gravatar image

Nadeem
11223
accept rate: 0%

closed 27 Jul '13, 19:16

gormo's gravatar image

gormo
2.9k32660

2

This question belongs on gis.stackexchange.com or similar SE sites, because it has no specific connection to OSM (you are just using OSM data).

(27 Jul '13, 19:15) gormo

The question belongs to this forum, as I want to find road intersection along a given road form osm data

(27 Jul '13, 19:22) Nadeem
3

Gormo is right, this has very little to do with OSM, the issue is a generic data issue and would be the same if your underlying geodata came from any other source. (Not that I am not interested in how useful OSM data might be for such an application.

(27 Jul '13, 19:33) SK53 ♦
2

Besides, how to detect intersections has already been answered in a different question.

(27 Jul '13, 21:00) scai ♦
Be the first one to answer this question!
toggle preview

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:

×249
×180
×44

question asked: 27 Jul '13, 17:50

question was seen: 1,510 times

last updated: 27 Jul '13, 21:00

powered by OSQA