Forrest logo
back to the gdalinfo tool

gdalinfo:tldr:8df19

gdalinfo: List information about a specific dataset of a Web Map Service (WMS).
$ gdalinfo WMS:${https:--services-meggsimum-de-geoserver-ows} -sd ${4}
try on your machine

This command is using the gdalinfo tool to fetch information about a Web Map Service (WMS) provided by the specified URL.

The command consists of the following components:

  • gdalinfo: This is the command-line tool used to retrieve information about raster and vector datasets supported by the Geospatial Data Abstraction Library (GDAL).

  • WMS:${https:--services-meggsimum-de-geoserver-ows}: This is the argument passed to the gdalinfo command. It starts with "WMS:", indicating that the data source is a Web Map Service. The URL specified after the colon (:) is the address of the WMS service that will be queried. In this case, it is "https://services.meggsimum.de/geoserver/ows".

  • -sd ${4}: This option specifies the starting dataset to be explored within the WMS. The value "${4}" is a placeholder that refers to the fourth dataset available in the WMS. The actual value may vary depending on the WMS service being queried. The option is useful when a WMS provides multiple datasets, and you want to view information about a specific one.

By running this command, gdalinfo will send requests to the specified WMS service and retrieve details about the provided datasets, such as their size, format, coordinate system, and other metadata.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the gdalinfo tool