Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase quota for umap #555

Closed
pangoSE opened this issue Jan 26, 2020 · 3 comments
Closed

Increase quota for umap #555

pangoSE opened this issue Jan 26, 2020 · 3 comments
Labels

Comments

@pangoSE
Copy link

pangoSE commented Jan 26, 2020

Hi. I just created https://umap.openstreetmap.fr/en/map/huts-and-shelters-in-the-world_410556 and find that quite often when I pan the map I get "error: problem response" supposedly because of the quota imposed by overpass-api.de.
I understand that caching requests on umap would be the best solution but that does not currently work, see umap-project/umap@81f6b42
WDYT?

@mmd-osm
Copy link
Contributor

mmd-osm commented Jan 26, 2020

You can try another Overpass instance for the time being. See the overpass page on the osm wiki for alternatives.

@mmd-osm
Copy link
Contributor

mmd-osm commented Jan 26, 2020

Maybe you should also spend some time optimizing your queries, so that caching in umap might work. As an example, you might want to familiarize yourself with nwr, which avoids repeating node, way, relation with the same arguments over and over.

[out:json][timeout:325];
( nwr["access"!="private"]["tourism"~"^(alpine_hut|wilderness_hut)$"];
  nwr["access"!="private"]["amenity"="shelter"]["shelter_type"!="public_transport"][!"public_transport"]["leisure"!="bird_hide"];
);
out center;

If you have no further questions, can you please close the issue? Thanks.

@pangoSE
Copy link
Author

pangoSE commented Jan 30, 2020

Thanks for the suggestions. I'll improve the query and try to split it up in multiple layers also.

@pangoSE pangoSE closed this as completed Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants