Comments (4)
Dear Sonniki,
This seems to be an error of the Overpass API itself. The query you make is:
[out:json][timeout:25];
(node(around:10000,54.59298,-1.48307);way(around:10000,54.59298,-1.48307);); out body;
If I insert the very same query in Overpass Turbo, I also get an error indicating that the server has some internal processing problems. My advise is to delete the cache object (cache/overpass-e3ddde3e5e1a2...
) and run the query again. Another option might be to use a smaller radius, which speeds up the query.
I would be happy if you could indicate whether that solves the issue.
Kind regards
from osm-python-tools.
Thank you for your prompt response!
Reducing radius does indeed help but I would like to avoid doing that if it is in any way possible. And I could not locate the cache folder for some reason.
In any case, it does seem like you are right and the problem is that it's too much data for Overpass to handle.
When I split my query in two, one for nodes and one for ways, it works perfectly.
Thank you for your help!
from osm-python-tools.
That is nice to hear!
Regarding the cache folder: it should be contained in your current working directory.
Regarding the Overpass API: if you have resources to set up your own server, you can do this as well. You could then also use that server together with the OSMPythonTools ...
Have fun with OSMPythonTools!
from osm-python-tools.
You're requesting more than 20MB of data when downloading ALL nodes and ways in a 10km radius. If your download is too slow, you would probably hit the timeout value.
from osm-python-tools.
Related Issues (20)
- download changeset HOT 1
- Рисование маршрута
- overpass.py - _waitForReady - Hardcoded Status String Positions HOT 16
- querying cities with special characters and spaces HOT 1
- HTTP Error 400: Bad Request for query that is successful in overpass turbo HOT 2
- Coordinates (latitude, longitude) <-> (longitude, latitude) and how to query countries/worldwide with overpassQueryBuilder() HOT 3
- Example 3 fails with runtime error / timeout HOT 1
- SSL Error in fresh Conda environment HOT 1
- HTTP error 400: Bad request when using inverted bounding boxes for the overpass API module HOT 1
- Custom cache directory HOT 1
- Overpass returns every way twice HOT 6
- OSMPythonTools.nominatim output preferred language HOT 1
- Overpass shallow query results in an error
- It does not work on m1 macbook
- Could we get (perhaps computed) center coordinates for all elements? HOT 1
- Significantly reduced performance since version 0.3.3
- WARNING output that does not use the logging module
- does it support the notes API? HOT 1
- Cannot build geometry for relation that is not polygon HOT 1
- ERROR 403: Forbidden Request HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osm-python-tools.