Adding of digitalGlobe as wms sources
Hi Jonas,
Would it be possible to add the digitalglobe standard and premium imagery as wms sources to the scanaerial.cfg?
You mean TMS?
I have added this sources to my config with the following lines:
server_api = tms
server_name = DigitalGlobe Standard
server_url = http://{switch:a,b,c}.tiles.mapbox.com/v4/digitalglobe.0a8e44ba/{zoom}/{x}/{y}.png?access_token=pk.eyJ1IjoiZGlnaXRhbGdsb2JlIiwiYSI6ImNqMmFxcGJ2MjAwOHEzMm9nZmF2c3luZWkifQ.HsF19zOlj8PeOxo5BhNqyQ
But it is better also to calculate empty_tile_bytes and empty_tile_checksum values.
...or TMS ;)
How are empty_tile_bytes and empty_tile_checksum values being calculated ?
It's a size and CRC32 checksum of an empty tile. If I remember correctly and empty tile for DigitalGlobe is completly white, then this values should work:
empty_tile_bytes = 103
empty_tile_checksum = 1788459727
Please, try it.
It worked fine even without empty_* on way 505981095.
The purpose of empty_ settings is to show error when program encounters empty tile (instead of going to trace the whole world).
Note: DigitalGlobe urls changed - see: https://github.com/osmlab/editor-layer-index/commit/522b5f1ac3f73b7c5737d9b77e57566d6cf1adce
Thanks.
server_api = tms
server_name = DigitalGlobe Standard
server_url = https://{switch:a,b,c}.tiles.mapbox.com/v4/digitalglobe.0a8e44ba/{zoom}/{x}/{y}.png?access_token=pk.eyJ1IjoiZGlnaXRhbGdsb2JlIiwiYSI6ImNqM293Y3Y5ZjAwaWgycW55ZXFncHk0a3QifQ.6Kprj_J4oDmXqV97RricwA
empty_tile_bytes = 103
empty_tile_checksum = 1788459727
server_api = tms
server_name = DigitalGlobe Premium
server_url = https://{switch:a,b,c}.tiles.mapbox.com/v4/digitalglobe.316c9a2e/{zoom}/{x}/{y}.png?access_token=pk.eyJ1IjoiZGlnaXRhbGdsb2JlIiwiYSI6ImNqM293YnJ5MTAwajIzMnF0bmV4dnV1MW4ifQ.psvzzOez33BOH8xmRiJZWg
empty_tile_bytes = 103
empty_tile_checksum = 1788459727
DigitalGlobe seems to be defunct now - are there corresponding Maxar entries one can use ?