-
Notifications
You must be signed in to change notification settings - Fork 17
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
Question: Hillshade provider #9
Comments
No missed. You have to create the file "hillshade-tile-server.json" (copying the provided sample file hillshade-tile-server.json.sample) in the app folder "resources". But if your USB is broken ... |
The sample file provided with the app contains:
|
I could create it by default on the first startup. But I don't know if we can use this server without limits. For myself I used my own hillshade server. |
Hmmm. The libosmscout answer would be to provide an offline solution. I do not know though if this is realistic. Would be worth to make a libosmscout feature request 😎 |
IMO not realistic using tiles from tiff. In my own hillshade server the cache of tiles data size 20gb and the tiff data more than 50gb. Make tiles cost a lot for the cpu using the basic method (gdal). |
I have now created Framstag/libosmscout#1030 to evaluate the chances to get offline hillshading implemented. |
I also tried to find out what are the conditions for usage above tile server - but failed. Looks like it is part of the Wikipedia cloud infrastructure services: https://wikitech.wikimedia.org/wiki/Help:Cloud_Services_Introduction. The Teres and conditions do not explicitly forbid usage but frame it for tests. |
Hi @janbar , you may use my hillshade server: |
@Framstag , there is the option in settings. So I could copy the sample in the resource on startup if no one exists. |
For me this is OK, @Karry should keep an eye on it infrastructure though, since he may get some additional load (but I assume you did not do any advertising up to now or have an sign for significant usage?). |
@Karry, @Framstag , I configured the app to Karry server and I get many "too many request". It is a hard job to make these tiles and also requires throughput. Staying over Greece since 5 minutes the tiles doesn't download yet. I am afraid to break your infra. May be we think about later. For instance the sample file is plugged to http://tiles.wmflabs.org/hillshading/ , and you will have at least the Europe with a good precision. I have to release again the app and the new one will check if hillshade server file exists, if not it will copy from the sample. The wmflabs.org has a good throughput and many tiles are in cache. But only Europe and US are available with a good pitch. |
@Framstag , enabling hillshade will download tiles not yet cached in the phone from the internet. If you haven't wifi the phone will use the data mobil network. |
Works. You can close the issue |
There is limitation for two processes rendering tiles in parallel, because my raspberry has just 1 GiB of ram. Qt is using four parallel http streams (it is not configurable unfortunately), so when you are visiting area that is not cached, server have to reject some requests. But with some patience all tiles are rendered... |
The screenshot suggests, this is already working. However the settings options does not seem to work. Bug or missing feature?
The text was updated successfully, but these errors were encountered: