Changes between Version 3 and Version 4 of tilegen


Ignore:
Timestamp:
May 5, 2011, 6:00:07 PM (14 years ago)
Author:
dennisw
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • tilegen

    v3 v4  
    1515
    1616=== 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.
     17This 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/pygame_.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.--
    1818
    19 == gheat/pil_.py
    20 Work in progress
     19== gheat/pygame_.py & gheat/base.py ==
     20These two files will be explained in one section, since the Tile class in base.py is the base class for the Tile class in pygame.py.
    2121
    22 == gheat/base.py ==
    23 Work in progress
     22It starts with translating the tile coords to pixel coords. It adds the image height and with to the pixel coords, and translates it to lat & lon. These values represent the boundaries of the tile.
     23
     24still WIP