Coverage for gws-app/gws/plugin/mbtiles_layer/__init__.py: 100%
0 statements
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-05 13:35 +0200
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-05 13:35 +0200
1"""MBTiles layer.
3Raster layer from an MBTiles file. The file is opened as a GDAL raster and
4rendered with MapServer by a box grabber; MapServer reprojects the raster to
5the requested CRS. The CRS of the layer source and, unless configured, the
6extent of the layer are taken from the file. ``processing`` passes MapServer
7PROCESSING directives, ``transparentColor`` sets a color that is rendered as
8transparent.
10Submodules
11----------
13- ``layer`` - the ``mbtiles`` layer.
14- ``provider`` - holds the path of the MBTiles file.
15- ``grabber`` - the box grabber that renders the file with MapServer.
17Example::
19 map.layers+ {
20 title "TK10"
21 type "mbtiles"
22 provider.path "/data/tk10.mbtiles"
23 display "tile"
24 transparentColor "#ffffff"
25 processing ["SCALE=0,240"]
26 }
27"""