[gdal-dev] gdal wms
Idan Miara
idan at miara.com
Mon Aug 6 14:24:58 PDT 2018
Thank you both for your answers!
On Tue, 7 Aug 2018, 00:18 jratike80, <jukka.rahkonen at maanmittauslaitos.fi>
wrote:
> Idan Miara wrote
> > How can I retrieve the raster size for a layer that I don't have a
> backend
> > raster to use with gdalinfo? The size doesn't appear in the
> > GetCapabilities
> > of the wms service.
>
> Hi,
>
> In WMS 1.3.0 it is possible, but not necassary, to include resx and resy in
> GetCapabities.
>
> <BoundingBox CRS="EPSG:26986"
> minx="189000" miny="834000" maxx="285000" maxy="962000" resx="1" resy="1"
> />
>
> If they are included you can use them for calculating the sixe of the layer
> as pixels. If resx and resy are missing you can just make a good guess
> about
> the native resolution of the layer.
>
> -Jukka Rahkonen-
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180807/02e016fc/attachment.html>
More information about the gdal-dev
mailing list