I need to export a WMS Map in a raster (QGIS) as I would like to do a zonal statistic after I need the WMS raster values. I can see them in the Identify results panel. The WMS has single Band color data but after exporting it, it has 4 bands with only the colour values, not the feature values. (see picture) Is there a possibility in exporting the WMS to a raster and keeping the values? I always tried it with a tiff. Is another format better? Does anyone know how to export only one band? this might help already.

If anyone knows how to do it in ArcGIS it would help too. This are the feature details of the WMS map feature details WMS These are my export settings export settings these are the feature details of the exported Tiff with 4 bands feature details after Tiff export

The WMS map Bullerkartan 2012, alla källor: (contextualWMSLegend=0&crs=EPSG:4326&dpiMode=7&featureCount=10&format=image/png&layers=mftemp:luftkvalitet-2015-no2ytor&styles&url=http://kartor.miljo.stockholm.se/geoserver/wms?layers%3Dmfraster:bullerkartan-2003-allakallor)

1 Answer 1


Is there a possibility in exporting the WMS to a raster and keeping the values?

No, A WMS GetMap operation doesn't give access to the raw data, you only get a representation of the underlying data.

You would need a WCS or WFS to get at the raw data, and luckily in this case the service provider gives you a WFS, check the feature type information:


  • thanks for checking it! :) Helps a lot to know its not possible! I tried to rasterise the WFS file after it to be able to conduct a zonal statistic. But rasterising the WFS layer did not work. There was a empty raster layer as an output. :/
    – Fran
    Nov 13, 2020 at 22:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.