I'm trying to get my 20 most recent edits and export it as a JSON, but I can't seem to get overpass to limit my query properly. This is my query:

[out:json][timeout:60];
(
  node(user:"bddavidson")({{bbox}});
  way(user:"bddavidson")({{bbox}});
  relation(user:"bddavidson")({{bbox}});
);
// print results
out body;
>;
out skel qt;

I've tried using the print actions found here to limit on the out commands, but I haven't had any luck so far. I also tried on the >, but that didn't seem to work either.

Is there currently a way with Overpass to get my 20 most recent changes no matter what they are (point/line/polygon)?

asked 01 May '17, 16:14

bddavidson's gravatar image

bddavidson
1463411
accept rate: 100%

edited 01 May '17, 16:14

2

I think you'll have to manually determine the date of the 20th changeset back and then use newer or diff to fetch the changes since that time.

(01 May '17, 17:23) maxerickson
Be the first one to answer this question!
toggle preview

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:

×125
×49

question asked: 01 May '17, 16:14

question was seen: 630 times

last updated: 01 May '17, 17:23

powered by OSQA