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

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 ♦

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:

×305
×223
×49

question asked: 27 Jul '13, 17:50

question was seen: 2,475 times

last updated: 27 Jul '13, 21:00

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