The support forum is temporarily read-only. For urgent requests, please email contact[at]psyberia.net

Quick Question - VirtualEarth Tile Request Syntax

Any question about the app? Ask it here
Post Reply
Yemble
Posts: 333
Joined: Sun Apr 28, 2013 5:02 pm

Quick Question - VirtualEarth Tile Request Syntax

Post by Yemble »

The VirtualEarth syntax goes something like:

Code: Select all

http://ax.t0.tiles.virtualearth.net/tiles/r{$q}.png?[b]g=3467[/b]&productSet=...
What is the significance of the highlighted number (g=xxxx)?
Can this number be anything, or does it have an effect upon which tiles are downloaded?
Psyberia-Support
Site Admin
Posts: 6407
Joined: Wed Apr 14, 2010 9:41 pm

Re: Quick Question - VirtualEarth Tile Request Syntax

Post by Psyberia-Support »

This is just a counter which is increased on a daily basis. It may have something to do with the cache management, called a "salt" (so all requests are different everyday), but it may also be something completely different. Bing doesn't seem to care about this value, you just have to not use a greater value than the current one, but old values work fine. It won't affect the result image anyway.
Instead of a fixed value, you can put "{$param:bing-g}" and AQ will take care of using an updated value:

Code: Select all

...r{$q}.png?g={$param:bing-g}&productSet=...
Do you like AlpineQuest ? Leave a small comment on Google Play !
Yemble
Posts: 333
Joined: Sun Apr 28, 2013 5:02 pm

Re: Quick Question - VirtualEarth Tile Request Syntax

Post by Yemble »

Super, many thanks for the info :-)
Post Reply