Todo.pl

From OpenStreetMap Wiki
Jump to: navigation, search

Contents

Introduction

Mainly I want that program to tell me where I still have to map something in an area. But how to find out what's missing and where?
todo.pl draws maps with things to do in the area. Input is an osm file and possibly a gpx file with bugs (from OSB or other source).
You could see it as a simplified, but extended Walking Papers map without the ability to process the result online.

Sample maps

Todo01.png here you can see buildings with numbers, stubs in brown and unlabeled streets in black.

Todo02.png this picture schows a node with a FIXME or TODO note. A way tagged this way would appear in the same color.

Todo03.png the legend so far...

Todo04.png a bug displayed in the map. imported from schokokeks.org gpx export.

Todo05.png unnamed ways are labeled with the last four numbers of their id for reference.

Todo06.png here in pink a given route is displayed to follow when mapping.

Things to highlight in the map

  • ok, good idea. I think this could simply be done by drawing the houses/buildings and the nodes/ways containing the house numbers. --Gary68 09:16, 29 July 2009 (UTC)

Usage

perl todo.pl data.osm bugs.gpx route.gpx output.png [picsize]

If you can't or don't want to provide gpx files then just give false filenames that the program can't open. Then these steps are not performed.

Example

perl todo.pl data2_hofheim.osm OpenStreetBugsOpen.gpx route.gpx hofheim.png 8192

Output

Wishes / Ideas

  • Not sure if this is a good idea. Since you can not assume that access restrictions apply you will get lots of false alerts. Also maxspeed should - in my opinion - only be given if it deviates from standard. So I wouldn't consider a maxspeed=50 missing in a town in Germany! So, lots of false alarms again... --Gary68 19:18, 28 July 2009 (UTC)

Source

Libraries osm.pm und osmgraph.pm needed.

Source code of library modules

Personal tools
Namespaces
Variants
Actions
site
Toolbox