Changes between Version 2 and Version 3 of tilegen
- Timestamp:
- May 4, 2011, 3:42:08 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
tilegen
v2 v3 15 15 16 16 === generate_tile === 17 This function sends the variables to the backend class Tile: {{{tile = backend.Tile(color_scheme, dots, zoom, x, y, fspath)}}}. The backend, declared in gheat/gheatsettings.py is the gheat/pil_.py file. This calculates the lat/lng bounds for the tile. After this, depending on existence, a tile will be rebuild and served or served from cache, or an empty will be served. 17 18 18 == base.py ==19 A large part of the tile generation takes place in the gheat/base.py file. 19 == gheat/pil_.py 20 Work in progress 20 21 21 22 == gheat/base.py == 22 23 Work in progress 23 Work in progress24 Work in progress