Package mapproxy :: Package kml :: Class KMLServer
[hide private]
[frames] | no frames]

Class KMLServer

source code

        object --+    
                 |    
core.server.Server --+
                     |
                    KMLServer

OGC KML 2.2 Server
Instance Methods [hide private]
 
__init__(self, layers, md)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
map(self, map_request)
Returns: the requested tile
source code
 
layer(self, tile_request) source code
 
kml(self, map_request)
Returns: the rendered KML response
source code
 
_get_subtiles(self, tile, layer)
Create four SubTile for the next level of tile.
source code
 
_tile_bbox(self, tile_coord, grid) source code
 
check_map_request(self, map_request) source code

Inherited from core.server.Server: handle, parse_request

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods [hide private]
 
request_parser(req) source code
Class Variables [hide private]
  names = ('kml')
  request_methods = ('map', 'kml')
  template_file = 'kml.xml'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

request_parser(req)
Static Method

source code 
Overrides: core.server.Server.request_parser

__init__(self, layers, md)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

map(self, map_request)

source code 
Returns:
the requested tile

kml(self, map_request)

source code 
Returns:
the rendered KML response