Distancemap.pl

From OpenStreetMap Wiki
Jump to: navigation, search

Contents

Introduction

Program takes osm file and one location/node as destination and computes and displays distance to node/destination for all other junctions in map/file. Result is PNG, SVG, GPX, OSM. Valid/usable ways can be given. Distance is calculated by an Dijkstra algorithm using only ways defined as valid. So it's not the distance along the beeline!
So you can

Picture of sample map

Distancemap.png

Output

Usage

perl distancemap.pl file.osm out.png [picsize]

Supported

Not supported

Source

Source code of library modules

See also

Distance maps

Personal tools
Namespaces
Variants
Actions
site
Toolbox