[MapProxy] Black Tiles after reprojection of tile cache
sulu
andreas.siegel at vorarlberg.at
Thu Nov 26 04:34:02 PST 2020
Hi.
I know this has been asked allready but i could not find a vialbe solution
yet.
Task: Reproject an external WMTS (EPSG-3857) into a local cache in
projection EPSG-31254.
Erverithing works really nice if there wheren't those ugly black areas.
It seems to me that transparent areas from the source tiles do not retain
transparency after reprojection.
Mabe my config is missing something:
....
caches:
# Source-Cache
basemapwmscache:
request_format: image/png
grids: [webmercator]
sources: [basemapwms]
# Destination-Cache
basemapwmscache_31254:
request_format: image/png
grids: [epsg31254]
sources: [basemapwmscache]
sources:
# Basemap-Source
basemapwms:
type: tile
url:
http://maps.wien.gv.at/basemap/geolandbasemap/normal/google3857/%(z)s/%(y)s/%(x)s.png
#transparent: true
transparent_color: '#000000'
grid: webmercator
coverage:
bbox: [1060000,5900000,1145000,6043000]
srs: 'EPSG:3857'
on_error:
500:
response: '#ede9e3'
cache: False
other:
response: '#ffffff'
cache: False
.....
# image/transformation options
image:
#resampling_method: nearest
resampling_method: bicubic
paletted: False
mode: RGBA
Thanks
Andy
--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapProxy-f4332432.html
More information about the MapProxy
mailing list