<div dir="auto">Thank you both for your answers! </div><br><div class="gmail_quote"><div dir="ltr">On Tue, 7 Aug 2018, 00:18 jratike80, <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi">jukka.rahkonen@maanmittauslaitos.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Idan Miara wrote<br>
> How can I retrieve the raster size for a layer that I don't have a backend<br>
> raster to use with gdalinfo? The size doesn't appear in the<br>
> GetCapabilities<br>
> of the wms service.<br>
<br>
Hi,<br>
<br>
In WMS 1.3.0 it is possible, but not necassary, to include resx and resy in<br>
GetCapabities.<br>
<br>
<BoundingBox CRS="EPSG:26986"<br>
minx="189000" miny="834000" maxx="285000" maxy="962000" resx="1" resy="1" /><br>
<br>
If they are included you can use them for calculating the sixe of the layer<br>
as pixels. If resx and resy are missing you can just make a good guess about<br>
the native resolution of the layer.<br>
<br>
-Jukka Rahkonen-<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html" rel="noreferrer noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html</a><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank" rel="noreferrer">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote></div>