Comments (6)
Which version of the docker image / Overpass-API are you running? If it's not 0.7.58.3 then please update to this version and try again.
from overpass-api.
Just tried with version 0.7.58.3 which unfortunately results in the same output
from overpass-api.
The bz2 file returned to the server and it's now happening with that file:
docker run \ -e OVERPASS_META=yes \ -e OVERPASS_MODE=init \ -e OVERPASS_PLANET_URL=http://download.geofabrik.de/asia/israel-and-palestine-latest.osm.bz2 \ -e OVERPASS_DIFF_URL=http://download.openstreetmap.fr/replication/asia/israel/minute/ \ -e OVERPASS_RULES_LOAD=10 \ -v /big/docker/overpass_db/:/db \ -p 12345:80 \ -i -t \ --name overpass_api wiktorn/overpass-api:latest
Results in:
Reading XML file ... finished reading nodes. File error caught: /db/db/nodes.bin.idx File_Blocks_Index: Data file size does not match block size
from overpass-api.
Just tried, the process is not yet finished:
docker run -e OVERPASS_META=yes -e OVERPASS_MODE=init -e OVERPASS_PLANET_URL=http://download.geofabrik.de/asia/israel-and-palestine-latest.osm.bz2 -e OVERPASS_DIFF_URL=http://download.openstreetmap.fr/replication/asia/israel/minute/ -e OVERPASS_RULES_LOAD=10 -v /big/docker/overpass_db99/:/db -p 12347:80 -i -t --name overpass_99 wiktorn/overpass-api:0.7.58.3
No database directory. Initializing
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 147M 100 147M 0 0 18.5M 0 0:00:07 0:00:07 --:--:-- 17.7M
Reading XML file ... finished reading nodes. Compute current ... ready. Flushing to database ....... done.
Reading XML file ... finished reading ways. Compute current ... ready. Flushing to database ....... done.
Reading XML file ... finished reading relations.
[...]
Flushing to database ....... done.
Update complete.
Database created. Now updating it.
So it looks like it works for me. I don't know what might be the issue on your end. The only difference is that I used explicit tag.
from overpass-api.
Found the problem!
Thanks for confirming the command works correctly on your end.
The issue was solved as soon as I changed the volume path to a new one.
/big/docker/overpass_api must have had leftovers from the previous image, so starting out completely clean here solved it.
Thanks!
from overpass-api.
Thanks for reporting!
from overpass-api.
Related Issues (20)
- A complete offline overpass API without update and diff checking HOT 6
- Push new build? HOT 2
- Change default of OVERPASS_CLONE_SOURCE to https HOT 2
- File_Blocks_Index: Unsupported index file format version HOT 2
- Clone overpass docker container with data to another VM issue HOT 1
- Update docker image to contain Overpass API version v0.7.61 HOT 1
- Handle (or not) non-minute diffs HOT 1
- Failed to process planet file HOT 5
- Error when running the same query twice HOT 5
- Docker status showing "health: starting" continuously HOT 1
- Docker status showing "health: starting" continuously HOT 3
- Multiple countries + updates HOT 6
- localhost didn’t send any data. ERR_EMPTY_RESPONSE. HOT 1
- Overpass API default output format HOT 1
- "allow-duplicate-queries" seems to work partially HOT 8
- [Question] How to reduce volume of output / log ?
- How to improve query speed? HOT 1
- [Question] How to import offline data? HOT 1
- Error during diff download. Bailing out. HOT 5
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 overpass-api.