UserActivity

From OpenStreetMap Wiki
Jump to: navigation, search

UserActivity as a program that compares two osm files and compiles a usage report which can be used to review changes that took place within a defined area over time interval between the files. The program can be used to review edits by different contributors, and can be used when investigating possible vandalism and other mistakes.

The program has some similarities to osmdiff but there are also differences. useractivity has a number of improvements. It has short html pages and more details in the map if required. osmdiff is more detailed in html and shows every change in the map, but not the level of details.

Contents

Sample maps

Ua1.png 3 moved nodes in blue, some new in black and a reclassified highway

Ua2.png 3 users in Hamburg with their work areas in orange, some new and moved nodes

Usage

perl useractivity.pl file1.osm file2.osm out.htm Mode [numTopUsers] [picSize] 

Mode N can be applied to all osm files no matter what size, memory usage is minimal. Mode P should only be applied to osm files of reasonable size!

PNG Output

PNGs initially created by useractivity may lack some characters. You will see question marks instead. To overcome this issue, specify to output SVG file as well. Then use i.e. inkscape to convert to PNG, like this:

inkscape -e map.png map.svg

Features

Wishes, suggestions, plans

Output

Reports

Have a look at ViewBigPictures first...

Austria

With Maps
Lists

Germany

Main traffic
Lists
Maps
Detailed Maps

Haiti

See WikiProject_Haiti/Mapping_Coordination#Diff_Reports

Poland

Detailed Maps

Switzerland

Lists

Source

useractivity.pl

Personal tools
Namespaces
Variants
Actions
site
Toolbox