[gdal-dev] gdalinfo of a WMS layer

Andrew C Aitchison andrew at aitchison.me.uk
Tue Feb 26 01:42:32 PST 2019


On Tue, 26 Feb 2019, Ari Jolma wrote:

> I'm wondering why
>
> gdalinfo "WMS:http://tiles.kartat.kapsi.fi/taustakartta?layers=taustakartta"
>
> and
>
> gdalinfo 
> "WMS:http://tiles.kartat.kapsi.fi/taustakartta?layers=taustakartta&srs=epsg:3857"
>
> both report corner coordinates in degrees although the second one reports 
> EPSG 3857?
>
> What am I missing?

>From man gdalinfo

      The gdalinfo will report all of the following (if known):
 	...
 	Corner coordinates in georeferenced, and if possible lat/long
 	based on the full geotransform (but not GCPs).

... so this is a feature of gdalinfo.


More information about the gdal-dev mailing list