source: subversion/sites/other/trapi/files @ 31161

Last change on this file since 31161 was 12298, checked in by blarson, 12 years ago

Tiled Read-only API

Serves osm data optimized for tiles@home.

File size: 578 bytes
Line 
1
2
3nodes.db:
4
54-bit zoom.
614-bit X
714-bit Y
8
9
10ways.db:
11  same as nodes.db
12
13relations.db:
14  same as nodes.db
15
16zooms.db:
17  8-bit zoom
18
19
20zZ/X/Y/nodes:
21
2232-bit nodeid
2332-bit lat  (int)
2432-bit lon  (int)
2532-bit offset
26
27zZ/X/Y/data:
28key\0
29value\0
30 ...
31\0
32
33
34zZ/X/Y/ways:
35
3632-bit wayid
37  local:
38  32-bit offset
39  remote:
40  32-bit 0
41
42X/Y/data:
4332-bit node
44 ...
4532-bit 0
46key\0
47value\0
48 ...
49\0
50
51
52zZ/X/Y/relations:
5332-bit relid
54  local:
55  32-bit offset
56  remote:
57  32-bit 0
58
59zZ/X/Y/data:
6032-bit node
61role\0
62 ...
6332-bit way
64role\0
65 ...
6632-bit 0
6732-bit rel
68 ...
6932-bit 0
70key\0
71value\0
72 ...
73\0
Note: See TracBrowser for help on using the repository browser.