| 1 |
This diagram visualizes a WMS request for a cache source that also requests a WMS. |
| 2 |
|
| 3 |
|
| 4 |
Request: |
| 5 |
|
| 6 |
```bash |
| 7 |
rm -rf ../../apps/base/cache_data/basemap_cache_EPSG3857/ |
| 8 |
curl -X GET --location "http://localhost:8080/service?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=basemap&CRS=EPSG%3A3857&STYLES&WIDTH=1815&HEIGHT=900&BBOX=698676.3364349005%2C6770730.613305131%2C781140.3202035681%2C6811621.844925959" |
| 9 |
``` |
| 10 |
|
| 11 |
|
| 12 |
Configuration: |
| 13 |
|
| 14 |
```yaml |
| 15 |
services: |
| 16 |
wms: |
| 17 |
|
| 18 |
layers: |
| 19 |
- name: basemap |
| 20 |
title: basemap |
| 21 |
sources: [basemap_cache] |
| 22 |
|
| 23 |
caches: |
| 24 |
basemap_cache: |
| 25 |
grids: [GLOBAL_WEBMERCATOR] |
| 26 |
sources: [basemap_wms] |
| 27 |
|
| 28 |
sources: |
| 29 |
basemap_wms: |
| 30 |
type: wms |
| 31 |
req: |
| 32 |
url: https://sgx.geodatenzentrum.de/wms_basemapde |
| 33 |
layers: de_basemapde_web_raster_farbe |
| 34 |
|
| 35 |
grids: |
| 36 |
webmercator: |
| 37 |
base: GLOBAL_WEBMERCATOR |
| 38 |
|
| 39 |
globals: |
| 40 |
``` |