Génère un diff entre 2 versions d'une primitive OSM
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
OsmDiff
Services
images/data
js
lib
styles
templates
utils
.gitignore
.gitmodules
.htaccess
README.md
config.inc.php
index.php

README.md

License AGPLV3 or higher

Create a diff between two versions of a primivite (node, way or relation).

Configuration :

  • PHP 5.X

PEAR packages needed :

  • HTTP/Request2 ;
  • Net/URL ;
  • Log ;
  • PEAR/Exception.

Use :

Call diff.openstreetmap with URLs like this : <hostname>/diff.openstreetmap/diff/<primitive>/<id>/[from]/[to],

where :

  • [primitive] : the type of primitive (node, way or relation) ;
  • [id] : the id of the object to be displayed ;
  • [from] (optional) : the start version for diff. Must be smaller than [to]. If not specified, its default value is 1 ;
  • [to] (optional) : the end version for diff. Must be greater than [from]. If not specified, its default value is the current version of the object.