Photoroute

From Arnout Engelen

Jump to: navigation, search

http://www.noviomagus.nl/Stadsbeeld/Stadsbeeld.htm has pictures of a lot of streets in my hometown, Nijmegen.

It'd be neat to combine a route planner with these pictures, to really visually show the route.

Maybe also combine with something like google maps?

If i ever write any code i'll dump it at http://www.bzzt.net/~arnouten/ideas/routes/

Contents

[edit] Graphing Nijmegen

[edit] Input

For streets which are not intersected: 2 pictures 'from foo', where foo is another street.

For streets which are intersected: pictures with the same number show the same street part. If an adjecent street is mentioned only once, it is an endpoint. Otherwise, it's an intersection.

Some photos are annotated with 'Ri' (direction), others with 'vanaf' (from).

[edit] Output

A graph, with street names on the edges.

[edit] Algorithm

For the course of the algorithm, nodes also have a list of adjecent streets attached to them.

Unintersected streets get translated into edges with the name of the street. For both ends, if a node containing the 2 street names already exists, this is assumed to be the node this edge should be attached to. Otherwise it is added.

Intersected streets are added one edge at a time.

Personal tools