Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
Merge multiple layers into one image.

src/m/a/MapProxy-1.6.0/mapproxy/service/wms.py   MapProxy(Download)
from mapproxy.source import SourceError
from mapproxy.exception import RequestError
from mapproxy.image.merge import concat_legends, LayerMerger
from mapproxy.image.opts import ImageOptions
from mapproxy.image.message import attribution_image, message_image
                                 concurrent_rendering=self.concurrent_layer_renderer)
 
        merger = LayerMerger()
        renderer.render(merger)
 

src/m/a/mapproxy-HEAD/mapproxy/service/wms.py   mapproxy(Download)
from mapproxy.exception import RequestError
from mapproxy.image import bbox_position_in_image, SubImageSource, BlankImageSource
from mapproxy.image.merge import concat_legends, LayerMerger
from mapproxy.image.opts import ImageOptions
from mapproxy.image.message import attribution_image, message_image
                                 concurrent_rendering=self.concurrent_layer_renderer)
 
        merger = LayerMerger()
        renderer.render(merger)