Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing 512 in tile server url #53

Closed
Akasch opened this issue Feb 20, 2018 · 2 comments
Closed

missing 512 in tile server url #53

Akasch opened this issue Feb 20, 2018 · 2 comments

Comments

@Akasch
Copy link

Akasch commented Feb 20, 2018

was there a reason behind the dropping of the 512 in the tileserverurl? I found out while looking into the server logs and wondering why some tiles there not served from prerendered files (I have fixed it with a rewrite on the server, but for caching a consistent naming would be good).

sources:
    mapzen:
        type: MVT
        url: https://tiles.map-data.de/vector/v1/all/{z}/{x}/{y}.mvt

vs.

sources:
    mapzen:
        type: MVT
        url: https://tiles.map-data.de/vector/v1/512/all/{z}/{x}/{y}.mvt

from older StreetComplete Versions

@ENT8R
Copy link
Collaborator

ENT8R commented Feb 20, 2018

I can't remember an explicit reason for that... I will add it again with the next commit!

@ENT8R
Copy link
Collaborator

ENT8R commented Feb 20, 2018

Ah, in the options of the source the tile_size is already set:
https://github.com/ENT8R/streetcomplete-mapstyle/blob/4a22e8610502fc3c1357f9b9ff67a6057122bf15/global.yaml#L61
But maybe it has no effect on the final url... So I will add it directly to the url

@ENT8R ENT8R closed this as completed in dcb0e95 Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants