Code Monkey home page Code Monkey logo

Comments (6)

wiktorn avatar wiktorn commented on July 18, 2024 1

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.

wiktorn avatar wiktorn commented on July 18, 2024

Looks good to me, what was the issue with this approach?

from overpass-api.

roiDaniela avatar roiDaniela commented on July 18, 2024

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.

wiktorn avatar wiktorn commented on July 18, 2024

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.

geocoderEU avatar geocoderEU commented on July 18, 2024

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.

geocoderEU avatar geocoderEU commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.