TurtleEggs tracker
From CommonMap
| development |
|---|
|
The CommonMap tile server is completely original and oriented for distributing resources ultimately. It has compatible interfaces with tiles@home client but designed work with cmarender. And this implements TurtleEggs tracker. This server system depends on a PostgresSQL database, an apache web server with a special module and PHP scripts.
Contents |
Tile name
There are 3 types of name for a tile. 1. z/x/y schema. This is well used type. The URL of the tile is http://...commonmap.org/Tiles/tile/{z}/{x}/{y}.png
TurtleEggs components use
(layer)/(z)/(x)/(y)
form as a code for a tile.
Now the files in tile servers and each peer are named as it.
2. serial number id The tile also has ID number based on the z,x,y. It can be calculated as:
A=2^z id=(A^2-1)/3 +A*y+x
It is well used in OpenStreetMap but the number is not useful to calculate relationship between tiles.
TurtleEggs components use
(layer)#(serial id)
form as a code for a tile.
3. QID (Quad tree ID) A code using Quad Tree. A tile has 4 child tiles in one higher level. The relationship can be expressed by Quad tree. Once convert the quad tree structure into 4 base number, and convert it into 64 base number. This is the QID.
Example)
12/1024/876 -> 8GGF 13/2048/1752 -> 8GGF- 13/2048/1753 -> 8GGFF 13/2049/1752 -> 8GGFV 13/2049/1753 -> 8GGFk
Just looking the code, you can understand they are neighbors. TurtleEggs system mainly using this QID form, expressed as
(layer)?(QID)
Distributing rendering server part
Pseudo Tile Server
Tracker never serves tile, but it looks like tile server. Set your applications' tile server's setting as the following:
http://tracker.commonmap.org/TurtleEggs/?{z}/{x}/{y}
Tracker returns a redirect commant by http protocol, your application reconnects to true tile holder. Then, your application completes the map tile that you want.
Web interface
Visit http://...commonmap.org/tracker/ You can browse each tile's meta data, rendering status, rendering users' contributions and TurtleEggs peers' contribution. You can join the TurtleEggs projects. TurtleEggs ID is random number automatically generated. Instead of it, the rendering account needs password. The account is the same with the CommonMap's account. Just enter your username and password to cmarender or tiles@home client.
Protocols
- see the detail at trac.

