geobeyond / Arpav-PPCV-backend

Backend di Piattaforma Proiezioni Climatiche per il Nord-Est.
Creative Commons Attribution 4.0 International
0 stars 1 forks source link

Modify capabilities response to include correct URLs #125

Closed ricardogsilva closed 1 month ago

ricardogsilva commented 1 month ago

This PR modifies the capabilities response document that is generated by the THREDDS server as a response to a WMS GetCapabilities request and converts relevant URLs to use the public URL of the system instead of internal THREDDS URLs.

For example, it converts the URLs advertised for the GetMap operation:

As a result of this PR the system's WMS endpoint is now usable by any generic WMS client, without having to use custom hacks, like ignoring capabilities links.