Ticket #3997 (closed enhancement: fixed)
Field "Referer" required in WMS service description XML files
| Reported by: | jcrepetto | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.9.0 |
| Component: | GDAL_Raster | Version: | svn-trunk |
| Severity: | normal | Keywords: | |
| Cc: | nowakpl |
Description
Some TMS servers require a special "Referer" in HTTP headers. For example, http://map.geo.admin.ch/ .
The attached patch adds support for a "Referer" field to the WMS driver.
The patch contains a configuration file for this service, that you can test with the command :
gdal_translate -projwin 737440 275760 740000 273200 frmts/wms/frmt_wms_swissgeo_tms.xml test.tif
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

