Instructions to the Pedestrian Graph Generator

The Pedestrian Graph Generator generates a graph dedicated for pedestrians from any OSM file (extension .osm). A sample of an OSM file is given below.

perron_sample1

The OSM file should look like this

<?xml version=’1.0′ encoding=’UTF-8’?>

<osm version=’0.6′ upload=’true’ generator=’JOSM’>

<node id=’-8′ action=’modify’ visible=’true’ lat=’48.21147875131′ lon=’16.37709033716′ />

The size of the OSM file is limited to 1 MBytes. Please select your OSM file and enter your e-mail address and then send both to the Pedestrian Graph Generator service by clicking the ‘Upload’ button. When the graph is generated your will receive an e-mail with the download link. The generated graph contains sidewalks instead of roads if available and also includes road crossings as well as square crossings. The graph generated from the sample above looks like:

perron_sample2

The generated graph is provided as a CSV file like this

id;osmid;fromjunction;tojunction;name;isoneway;frc;maxspeed;covered;tunnel;the_geom;highway;crossing;form_of_way;area_crossing

8974;0;4011;4022;;;;;;;LINESTRING (11.650810113139231 52.15018301312877, 11.65082966325198 52.15012810691374);crossing;unmarked;ROAD_CROSSING;

8975;0;6654;4411;;;;;;;LINESTRING (11.649002788648525 52.14433717570546, 11.64899373768744 52.14438801711292);crossing;unmarked;ROAD_CROSSING;

Each line of the file defines a way segment (or edge) of the graph. The column ‘id’ contains the unique identifier of the way segment. The columns ‘fromjunction’ and ‘tojunction’ contain the unique identifiers of the connecting nodes. The coordinates of the nodes and therefore the way segment are described in the column ‘the_geom’.

Selected file:
No file selected
Your E-Mail:

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*
*

Back To Top