|
15 | 15 | --> |
16 | 16 | </metadata> |
17 | 17 |
|
| 18 | + <environment> |
| 19 | + |
| 20 | + <!-- |
| 21 | + |
| 22 | + environment variables can be set and overridden here |
| 23 | + this is useful on Windows servers to set a path |
| 24 | + to a certificates file when connecting to sources using HTTPS |
| 25 | +
|
| 26 | + <CURL_CA_BUNDLE>C:/MapServer/bin/curl-ca-bundle.crt</CURL_CA_BUNDLE> |
| 27 | + --> |
| 28 | + </environment> |
18 | 29 | <!-- |
19 | 30 | a grid represents the layout of tiles: srs, extent, resolutions, and tile size |
20 | 31 | --> |
|
30 | 41 | <!-- |
31 | 42 | Set to "true" if no new tiles should be created when not in |
32 | 43 | the configured cache. If a requested tile is not present in |
33 | | - a read-only cache, it wil be returned as "nodata", i.e. fully |
| 44 | + a read-only cache, it will be returned as "nodata", i.e. fully |
34 | 45 | transparent in a vertical assembly case, or as a 404 in a |
35 | 46 | single-tile case. |
36 | 47 | Note that the read-only status of a tileset is overridden to |
|
84 | 95 |
|
85 | 96 | <!-- |
86 | 97 | there are three preconfigured grids you can use in <tileset>s without having to |
87 | | - explicitely define them here: |
| 98 | + explicitly define them here: |
88 | 99 | <grid name="WGS84"> |
89 | 100 | <metadata> |
90 | 101 | <title>GoogleCRS84Quad</title> |
|
361 | 372 | Similar to symlink_blank, except completely skip writing a file |
362 | 373 | if a blank, fully transparent tile is detected. |
363 | 374 | Note: This setting should only be used when using the seeder. If used |
364 | | - on demand, mapcache will will query the WMS source on each subsequent |
| 375 | + on demand, mapcache will query the WMS source on each subsequent |
365 | 376 | tile request. |
366 | 377 | --> |
367 | 378 | <detect_blank/> |
|
385 | 396 | * note that this type of cache does not support blank-tile detection and symlinking. |
386 | 397 | |
387 | 398 | * warning: it is up to you to make sure that the template you chose creates a unique |
388 | | - filename for your given tilesets. e.g. do not ommit the {grid} parameter if your |
| 399 | + filename for your given tilesets. e.g. do not omit the {grid} parameter if your |
389 | 400 | tilesets reference multiple grids. Failure to do so will result in filename |
390 | 401 | collisions ! |
391 | 402 |
|
|
396 | 407 | Similar to symlink_blank, except completely skip writing a file |
397 | 408 | if a blank, fully transparent tile is detected. |
398 | 409 | Note: This setting should only be used when using the seeder. If used |
399 | | - on demand, mapcache will will query the WMS source on each subsequent |
| 410 | + on demand, mapcache will query the WMS source on each subsequent |
400 | 411 | tile request. |
401 | 412 | --> |
402 | 413 | <detect_blank/> |
|
426 | 437 | <dbfile>/tmp/mysqlitetiles.db</dbfile> |
427 | 438 |
|
428 | 439 | <!-- pragma |
429 | | - special sqlite pargmas sent to db at connection time. The following |
| 440 | + special sqlite pragmas sent to db at connection time. The following |
430 | 441 | would execute: |
431 | 442 | PRAGMA key=value; |
432 | | - usefull for changing default values e.g. on large databases. |
| 443 | + useful for changing default values e.g. on large databases. |
433 | 444 |
|
434 | 445 | --> |
435 | 446 | <pragma name="key">value</pragma> |
|
577 | 588 |
|
578 | 589 | png compression: best or fast |
579 | 590 | note that "best" compression is cpu intensive for little gain over the default |
580 | | - default compression is obtained by leving out this tag. |
| 591 | + default compression is obtained by leaving out this tag. |
581 | 592 | --> |
582 | 593 | <compression>fast</compression> |
583 | 594 |
|
|
681 | 692 | <connection_timeout>30</connection_timeout> |
682 | 693 |
|
683 | 694 | <!-- timeout in seconds before bailing out from a request. This is the total time needed |
684 | | - to fullfill the request, and includes the time needed to transfer the response through |
| 695 | + to fulfill the request, and includes the time needed to transfer the response through |
685 | 696 | the network. Defaults to 600 seconds, set to a higher value if e.g. WMS requests for |
686 | 697 | large metatiles take longer than 10 minutes to render --> |
687 | 698 | <timeout>300</timeout> |
|
798 | 809 |
|
799 | 810 | <!-- format |
800 | 811 | (optional) format to use when storing a tile. this should be a format with high |
801 | | - compression, eg. png with compression "best", as the compression operation is only |
| 812 | + compression, e.g. png with compression "best", as the compression operation is only |
802 | 813 | done once at creation time. |
803 | 814 | if left out, no recompression is applied to the image, mod-mapcache will store the |
804 | 815 | exact image received from the <source> |
|
868 | 879 | mapserver mapfiles. the name of the mapfiles need not be known to mod-mapcache, and can therefore be |
869 | 880 | created even after mod-mapcache has been started. |
870 | 881 | when a user passes a MAPFILE=/path/to/mapfile, the string "/path/to/mapfile" is validated against |
871 | | - the supplied (PCRE) regular expression. The one in this example allows a name composed of aphanumeric characters |
872 | | - spearated by slashes (/) and finishing with ".map" ( [a-zA-Z0-9\./]*\.map$ ) , but will faill if there |
| 882 | + the supplied (PCRE) regular expression. The one in this example allows a name composed of alphanumeric characters |
| 883 | + separated by slashes (/) and finishing with ".map" ( [a-zA-Z0-9\./]*\.map$ ) , but will fail if there |
873 | 884 | are two consecutive dots (..) in the path, to prevent filesystem traversal ( (?!.*\.\.) ). |
874 | 885 | --> |
875 | 886 | <dimension type="regex" name="MAPFILE" default="/path/to/mapfile.map"> |
|
0 commit comments