This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Get change in given bounding box for a certain period

5
1

I would like to get an export (xml or json) of all the changes that have been made in my city for the last X months (or a for certain period, i.e from March till June).

I know the bounding box, I know the period - what are my options?

asked 27 Nov '14, 15:57

ando's gravatar image

ando
136459
accept rate: 0%


2 Answers:

7

Take a look at Overpass, especially newer and changed

answered 28 Nov '14, 10:50

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

1

overpass, with the newer filter provided me with all the info I need - thanks

(29 Nov '14, 09:22) ando

2

To expand on @escada's answer, an example ruleset for Overpass would be:


[out:json][timeout:25];
(
   node(a,b,c,d)(newer:"2016-05-14T07:00:00Z");
);
out body;
>;
out skel qt;

The above would return all nodes modified after 14th May 2016.

  • replace 'node' with 'way' or 'relation' as required
  • replace a,b,c,d with lat/lons corresponding with: a=latitude south, b=longitude west, c=latitude north, d=longitude east

The ruleset can be pasted into https://overpass-turbo.eu/

answered 24 May '16, 06:40

porjo's gravatar image

porjo
18326
accept rate: 0%

edited 29 May '16, 04:24