RAVE
rave_tile_registry.py File Reference

A registry for keeping track on areas that are divided into a number of tiles for faster processing. More...

Classes

class  Lib.rave_tile_registry.tiledef
 

Namespaces

namespace  Lib.rave_tile_registry
 

Functions

 Lib.rave_tile_registry.has_tiled_area (aid)
 Returns if the area id is registered in the tile registry or not.
 
 Lib.rave_tile_registry.get_tiled_areas (a)
 Get all the tiled areas belonging to the specified area.
 
 Lib.rave_tile_registry.generate_tiles_for_area (aid, tiles)
 Creates the tiles for the specified area with the specified number of tiles.
 
 Lib.rave_tile_registry.create_tile_definition_for_area (aid, tiles)
 Creates an appropriate tile registry definition for the specified area with the specified number of tiles.
 
 Lib.rave_tile_registry.init ()
 Initializes the registry by reading the xml file with the plugin definitions.
 

Variables

 Lib.rave_tile_registry.logger = rave_pgf_logger.create_logger()
 
bool Lib.rave_tile_registry._initialized = False
 
dict Lib.rave_tile_registry._registry = {}
 
 Lib.rave_tile_registry.my_area_registry = area_registry.area_registry()
 

Detailed Description

A registry for keeping track on areas that are divided into a number of tiles for faster processing.

This is no interactive registry, instead you will have to modify the xml file'manually.

<?xml version='1.0' encoding='UTF-8'?> <rave-tile-registry> <area id="bltgmaps_2000"> <tile id="1" extent="971337.728807,7196461.17902,1993337.7288084999,9112461.1790100001" > <tile id="2" extent="1993337.7288084999,7196461.17902,3015337.72881,9112461.1790100001" > .... </area> </rave-tile-registry>

Author
Anders Henja, SMHI
Date
2011-11-04