provider CartoDB doesn't work
lazarusA opened this issue Β· comments
The CartoDB() is not working here, but it does when using https://github.com/JuliaGeo/Leaflet.jl, I checked and the call to the url is the same in both cases, namely
Provider("https://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}{r}.png", Dict{Symbol, Any}(:url => "https://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}{r}.png", :attribution => "(C) OpenStreetMap contributors (C) CARTO", :variant => "light_all", :name => "CartoDB.Positron", :subdomains => "abcd", :html_attribution => "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors © <a href=\"https://carto.com/attributions\">CARTO</a>", :max_zoom => 20))
however something goes wrong here, at fetching time. I don't seem to find the differences. Help? Leaflet.jl is doing definitely something different.
maybe its not image based?
Works fine for me??
how? MWE
I just used the readme example
using Tyler, GLMakie, TileProviders
tyler = Tyler.Map(Rect2f(-0.0921, 51.5, 0.04, 0.025); provider=CartoDB())
(on master)
Mmmm... do you have something else on your system/env? tokens, keys? (you are not in Germany π )
I keep getting:
@ Tyler ~/.julia/packages/Tyler/lX5Nf/src/Tyler.jl:243
[ Info: requeing after download error!
β Warning: error while downloading tile
β exception = HTTP.Exceptions.ConnectError("https://.basemaps.cartocdn.com/light_all/8/127/85{r}.png", DNSError: .basemaps.cartocdn.com, unknown node or service (EAI_NONAME))
β @ Tyler ~/.julia/packages/Tyler/lX5Nf/src/Tyler.jl:243
[ Info: requeing after download error!
β Warning: error while downloading tile
β exception = HTTP.Exceptions.ConnectError("https://.basemaps.cartocdn.com/light_all/14/8188/5448{r}.png", DNSError: .basemaps.cartocdn.com, unknown node or service (EAI_NONAME))
β @ Tyler ~/.julia/packages/Tyler/lX5Nf/src/Tyler.jl:243
β Warning: error while downloading tile
β exception = HTTP.Exceptions.ConnectError("https://.basemaps.cartocdn.com/light_all/11/1023/681{r}.png", DNSError: .basemaps.cartocdn.com, unknown node or service (EAI_NONAME))
β @ Tyler ~/.julia/packages/Tyler/lX5Nf/src/Tyler.jl:243
hmm weird, I'm in spain and no error
(don't think I have anything specieal? maybe my DNS server is manually set to 8.8.8.8? seeing you are getting a DNS error?)
ohhh why is it .basemaps
?? that doesn't seem right that there is a .
first
I'm on a branch I totally forgot about π
https://github.com/JuliaGeo/TileProviders.jl/pull/7/files
I have to fix it for julia 1.6 failures so I just never bothered
Ok pull TileProviders.jl master.
It seems to have heisenbug in CI I cant reproduce locally, if you have 1.6 lying around could you try running the tests?
Ok pull TileProviders.jl master.
yes, that solves the issue. Maybe tag a new release. Thanks. And sorry, no Julia 1.6, so not tests.
I probably cant tag a release with those failing tests? Not sure what to do about it