There is a CSV of available IGN webservices at https://geoservices.ign.fr/documentation/services/tableau_ressources
Most webservices for raster do not return the legend and point to a broken http://api.ign.fr/legendes/ as shown below
From the French geoportal, we guessed the pattern to retrieve image legends and generate an “augmented” default file with the legend image URL link
To get end result look at:
You can also get each legend image as we retrieved them locally in the repository. There are in the zip file
Not all webservices do have a legend, 241 have a legend (present.txt) and 357 do not have (no_present.txt). We didn’t analysed the cause for the missing legend e.g hosted somewhere or not useful like for imagery
Done on linux using bash.
Look at file get_legends_ign.sh for the recipe