Hi

I'm using QL to try & return data of changesets created in the previous day.

[out:xml][timeout:25];
(
 (node(newer:"{{date:1Day}}")({{bbox}});
   way(newer:"{{date:1Day}}")({{bbox}});
 ) 
);
out meta;

This code returns the data I require (changeset & user) but does it for each entity found:

  "<"way id="197195793" version="3" timestamp="2017-04-24T16:41:29Z" changeset="12345678" uid="876432" user="Joe Bloggs">
    "<"snip>
  "<"/way>

Is there a way to return purely a list of the changesets?

OT Website question: Why doesn't the Markdown 'code' button accept (auto translate) '<' characters?!!

asked 25 Apr '17, 12:20

DaveF's gravatar image

DaveF
1.1k525875
accept rate: 0%

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:

×346
×106
×53
×3

question asked: 25 Apr '17, 12:20

question was seen: 557 times

last updated: 25 Apr '17, 12:20

powered by OSQA