Comments (6)
Your call looks OK, the only thing that might not match. I gave few tries to curl, and the only way to get bad URL I found is to skip one of the /
, like:
$ curl file://test/
curl: (3) URL using bad/illegal format or missing URL
Remember, that you need three slashes after colon.
I have no other ideas what can be wrong here.
from overpass-api.
Looks good to me, what was the issue with this approach?
from overpass-api.
Hi @wiktorn I tried to do the same but get this error
--2022-12-14 14:04:52-- (try:12) http://dev.overpass-api.de/api_drolbr//trigger_clone
Connecting to dev.overpass-api.de (dev.overpass-api.de)||:80... failed: Connection refused.
Connecting to dev.overpass-api.de (dev.overpass-api.de)||:80... failed: Cannot assign requested address.
thanks
from overpass-api.
Looks like you're starting it in clone mode. Please read again docs. You need to provide proper mode and planet URL.
from overpass-api.
Hi @wiktorn I've tried the same as @curtis18. I want to load the planet data from a pbf-file that is located on a docker volume, that my overpass-container mounts. Unfortunately the creation of the container exits after doing nothing with a cURL-error "URL using bad/illegal format or missing URL".
Seems strange, because i used the same parameters as @curtis18 for loading the planet data:
docker run \
--mount type=bind,source=/var/lib/docker/volumes/data/,target=/data \
-e OVERPASS_META=yes \
-e OVERPASS_MODE=init \
-e DOWNLOAD_PBF=file:///data/baden-wuerttemberg-latest.osm.pbf \
-e OVERPASS_RULES_LOAD=10 \
-e OVERPASS_COMPRESSION=gz \
-e OVERPASS_UPDATE_SLEEP=3600 \
-e OVERPASS_PLANET_PREPROCESS='mv /db/planet.osm.bz2 /db/planet.osm.pbf && osmium cat -o /db/planet.osm.bz2 /db/planet.osm.pbf && rm /db/planet.osm.pbf' \
-v /big/docker/overpass_db/:/db \
-p 12347:80 \
-i -t -d \
--name docker.overpass_api.service wiktorn/overpass-api:latest
Anything that i am overseeing?
from overpass-api.
Thanks for checking my issue out and your testing. I guess the reason is the path...couldn't figure it out, but working on it. If i find a solution, i'll post the solution here.
from overpass-api.
Related Issues (20)
- 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 update env vars after the container is created? HOT 1
- Infinite download loop on image run, no connection to port HOT 1
- [Question] How to import offline data? HOT 1
- Error during diff download. Bailing out. HOT 5
- Error starting from osm.pbf file HOT 6
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.