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

Changeset query API not working

1

Hi,

I'm developing a tool to evaluate and detect changesets that are possibly vandalism or importation, but the changeset query API is almost always not working. Is there some problem with the API?

Example of query I'm doing: https://api.openstreetmap.org/api/0.6/changesets/?bbox=-73.9830625,-33.8689056,0.0,5.2842873&time=20150427T000000,20150427T000400&closed=true

asked 08 Jun '15, 01:46

wille's gravatar image

wille
26112
accept rate: 0%

2

How does the "not working" actually manifest itself? And isn't that bounding box a (very big) bit too large?

(08 Jun '15, 10:17) SimonPoole ♦
3

Hi, Simon.

It's always loading, but it never returns a result. The bbox is very big, but the time interval is small.

I tried now with a small bbox and the query worked. I'll try to divide my bbox in small bboxes.

Thanks for the help!

(08 Jun '15, 17:22) wille

One Answer:

2

wille I suspect you are going about your project"the wrong way" You should probably be consuming the changeset replication feed http://planet.openstreetmap.org/replication/changesets/ and processing that as it comes in.

answered 10 Jun '15, 10:12

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

Source code available on GitHub .