| Home | Trees | Indices | Help |
|
|---|
|
|
|
|||
| NoTiles | |||
|
TileGrid This class represents a regular tile grid. |
|||
|
MetaGrid This class contains methods to calculate bbox, etc. |
|||
|
|||
| float |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
log = logging.getLogger(__name__)
|
|||
geodetic_epsg_codes =
|
|||
RES_TYPE_SQRT2 =
|
|||
RES_TYPE_GLOBAL =
|
|||
RES_TYPE_CUSTOM =
|
|||
|
|||
Calculate the highest resolution needed to draw the bbox into an image with given size. >>> get_resolution((-180,-90,180,90), (256, 256)) 0.703125
|
|
xs and ys).
If the one tile_coord is negative or out of the grid_size bound,
the coord is None.
|
Return resolutions of an image pyramid. >>> pyramid_res_level(10000, levels=5) [10000.0, 5000.0, 2500.0, 1250.0, 625.0] >>> pyramid_res_level(10000, factor=1/0.75, levels=5) [10000.0, 7500.0, 5625.0, 4218.7500000000009, 3164.0625000000005]
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Aug 2 10:24:50 2010 | http://epydoc.sourceforge.net |