Re: [OSM-dev] Querying changesets

2009-12-27 Thread Karl Guggisberg
thanks.

  should be fixed after r19215 is deployed, though.
Just wondering: is there some kind of deployment schedule for the OSM API?

Regards
Karl


Am 26.12.2009 22:41, schrieb Matt Amos:
 On Sat, Dec 26, 2009 at 8:48 PM, Karl Guggisberg
 karl.guggisb...@guggis.ch  wrote:

 Hmm, strange, now
  http://api.openstreetmap.org/api/0.6/changesets?closed=true
 seems to hang (no response after 60s yet).
   http://api.openstreetmap.org/api/0.6/changesets?open=true
 still works fine, though.

 Any hint what is going on? Is there maintenance work underway?
  
 probably not, but there was a bug in the query for closed changesets
 (which i've now fixed) which was causing postgres to scan the whole
 changesets table, which would take a while. should be fixed after
 r19215 is deployed, though.

 cheers,

 matt




___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Querying changesets

2009-12-27 Thread Shaun McDonald

On 27 Dec 2009, at 22:08, Karl Guggisberg wrote:

 thanks.
 
 should be fixed after r19215 is deployed, though.
 Just wondering: is there some kind of deployment schedule for the OSM API?
 

It is just deployed as required when changes have been noticed/checked by the 
people who do the deployment.

Shaun


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Querying changesets

2009-12-26 Thread Karl Guggisberg
Hi,

   http://api.openstreetmap.org/api/0.6/changesets?open
replies both open and closed changests

http://api.openstreetmap.org/api/0.6/changesets?open=true
only replies open changesets. And so does
http://api.openstreetmap.org/api/0.6/changesets?open=false
http://api.openstreetmap.org/api/0.6/changesets?open=xyz
http://api.openstreetmap.org/api/0.6/changesets?open=whatever

   http://api.openstreetmap.org/api/0.6/changesets?closed
replies a set of both open and closed changests

** Here's my question: **
   http://api.openstreetmap.org/api/0.6/changesets?closed=true
currently replies exactly three changesets - why's that ? Shouldn't this 
reply the latest 100 closed changesets ?

Regards
Karl


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Querying changesets

2009-12-26 Thread Karl Guggisberg

Hmm, strange, now
 http://api.openstreetmap.org/api/0.6/changesets?closed=true
seems to hang (no response after 60s yet).
  http://api.openstreetmap.org/api/0.6/changesets?open=true
still works fine, though.

Any hint what is going on? Is there maintenance work underway?

Regards
Karl

===
Hi,

   http://api.openstreetmap.org/api/0.6/changesets?open
replies both open and closed changests

http://api.openstreetmap.org/api/0.6/changesets?open=true
only replies open changesets. And so does
http://api.openstreetmap.org/api/0.6/changesets?open=false
http://api.openstreetmap.org/api/0.6/changesets?open=xyz
http://api.openstreetmap.org/api/0.6/changesets?open=whatever

   http://api.openstreetmap.org/api/0.6/changesets?closed
replies a set of both open and closed changests

** Here's my question: **
   http://api.openstreetmap.org/api/0.6/changesets?closed=true
currently replies exactly three changesets - why's that ? Shouldn't this 
reply the latest 100 closed changesets ?

Regards
Karl


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Querying changesets

2009-12-26 Thread Matt Amos
On Sat, Dec 26, 2009 at 8:48 PM, Karl Guggisberg
karl.guggisb...@guggis.ch wrote:
 Hmm, strange, now
     http://api.openstreetmap.org/api/0.6/changesets?closed=true
 seems to hang (no response after 60s yet).
      http://api.openstreetmap.org/api/0.6/changesets?open=true
 still works fine, though.

 Any hint what is going on? Is there maintenance work underway?

probably not, but there was a bug in the query for closed changesets
(which i've now fixed) which was causing postgres to scan the whole
changesets table, which would take a while. should be fixed after
r19215 is deployed, though.

cheers,

matt

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev