Closed merajnouredini closed 5 years ago
I’ve never tested without diff files. Let me check, if such situation is properly handled.
I've tested this and indeed there is some problems. But still I could not get the error you're experiencing. Can you provide your query? Are you trying to query attic data?
I just copied a test query from somewhere, I dont know what it does really:
http://localhost:12347/api/interpreter?data=[out:xml][adiff:"2005-04-17T14:45:47Z,","2005-04-17T15:51:14Z"];(node(bbox)(changed);way(bbox)(changed);relation(bbox)(changed););out meta geom(bbox);&bbox=-1.0052705,51.0025063,-0.9943439,51.0047760
Thanks again for following up this issue.
This indeed needs access to attic data. You can read more about it here. Mainly what you need:
OVERPASS_META=attic
Alternatively you can just clone production Overpass-API. If you do not need access to history data, you can try any other Overpass API query, like this one (taken from Overpass wiki page:
(
node(51.249,7.148,51.251,7.152);
<;
);
out meta;
Which encoded as link looks like that:
http://localhost:12347/api/interpreter?data=[out:xml];(node(51.249,7.148,51.251,7.152);<;);out meta;
Oh, I see. I tested the last query and it worked! so I think you can close this issue. Thank you so much!
I tried to run OverpassApi locally with the following command:
as you see I did'nt find
OVERPASS_DIFF_URL
for thefoo
so I removed theOVERPASS_DIFF_URL
andOVERPASS_COOKIE_JAR_CONTENTS
env from docker run command, I just wanted to test overpass and I dont want diff updates right now, so it should not be important, but after downloading data and completion of initialization, I started the container and tried a sample query but every time I get this result:now my question is, was the removal of env variable caused this error? if so is there any way to run overpass without diff updates? Thanks.