NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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%


Take a look at Overpass, especially newer and changed

permanent link

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

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/

permanent link

answered 24 May '16, 06:40

porjo's gravatar image

porjo
18326
accept rate: 0%

edited 29 May '16, 04:24

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×315
×127

question asked: 27 Nov '14, 15:57

question was seen: 3,906 times

last updated: 29 May '16, 09:14

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum