|
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> |
|
364 | 375 | Similar to symlink_blank, except completely skip writing a file |
365 | 376 | if a blank, fully transparent tile is detected. |
366 | 377 | Note: This setting should only be used when using the seeder. If used |
367 | | - on demand, mapcache will will query the WMS source on each subsequent |
| 378 | + on demand, mapcache will query the WMS source on each subsequent |
368 | 379 | tile request. |
369 | 380 | --> |
370 | 381 | <detect_blank/> |
|
388 | 399 | * note that this type of cache does not support blank-tile detection and symlinking. |
389 | 400 | |
390 | 401 | * warning: it is up to you to make sure that the template you chose creates a unique |
391 | | - filename for your given tilesets. e.g. do not ommit the {grid} parameter if your |
| 402 | + filename for your given tilesets. e.g. do not omit the {grid} parameter if your |
392 | 403 | tilesets reference multiple grids. Failure to do so will result in filename |
393 | 404 | collisions ! |
394 | 405 |
|
|
399 | 410 | Similar to symlink_blank, except completely skip writing a file |
400 | 411 | if a blank, fully transparent tile is detected. |
401 | 412 | Note: This setting should only be used when using the seeder. If used |
402 | | - on demand, mapcache will will query the WMS source on each subsequent |
| 413 | + on demand, mapcache will query the WMS source on each subsequent |
403 | 414 | tile request. |
404 | 415 | --> |
405 | 416 | <detect_blank/> |
|
437 | 448 | <dbfile>/tmp/mysqlitetiles.db</dbfile> |
438 | 449 |
|
439 | 450 | <!-- pragma |
440 | | - special sqlite pargmas sent to db at connection time. The following |
| 451 | + special sqlite pragmas sent to db at connection time. The following |
441 | 452 | would execute: |
442 | 453 | PRAGMA key=value; |
443 | | - usefull for changing default values e.g. on large databases. |
| 454 | + useful for changing default values e.g. on large databases. |
444 | 455 |
|
445 | 456 | --> |
446 | 457 | <pragma name="key">value</pragma> |
|
588 | 599 |
|
589 | 600 | png compression: best or fast |
590 | 601 | note that "best" compression is cpu intensive for little gain over the default |
591 | | - default compression is obtained by leving out this tag. |
| 602 | + default compression is obtained by leaving out this tag. |
592 | 603 | --> |
593 | 604 | <compression>fast</compression> |
594 | 605 |
|
|
692 | 703 | <connection_timeout>30</connection_timeout> |
693 | 704 |
|
694 | 705 | <!-- timeout in seconds before bailing out from a request. This is the total time needed |
695 | | - to fullfill the request, and includes the time needed to transfer the response through |
| 706 | + to fulfill the request, and includes the time needed to transfer the response through |
696 | 707 | the network. Defaults to 600 seconds, set to a higher value if e.g. WMS requests for |
697 | 708 | large metatiles take longer than 10 minutes to render --> |
698 | 709 | <timeout>300</timeout> |
|
809 | 820 |
|
810 | 821 | <!-- format |
811 | 822 | (optional) format to use when storing a tile. this should be a format with high |
812 | | - compression, eg. png with compression "best", as the compression operation is only |
| 823 | + compression, e.g. png with compression "best", as the compression operation is only |
813 | 824 | done once at creation time. |
814 | 825 | if left out, no recompression is applied to the image, mod-mapcache will store the |
815 | 826 | exact image received from the <source> |
|
879 | 890 | mapserver mapfiles. the name of the mapfiles need not be known to mod-mapcache, and can therefore be |
880 | 891 | created even after mod-mapcache has been started. |
881 | 892 | when a user passes a MAPFILE=/path/to/mapfile, the string "/path/to/mapfile" is validated against |
882 | | - the supplied (PCRE) regular expression. The one in this example allows a name composed of aphanumeric characters |
883 | | - spearated by slashes (/) and finishing with ".map" ( [a-zA-Z0-9\./]*\.map$ ) , but will faill if there |
| 893 | + the supplied (PCRE) regular expression. The one in this example allows a name composed of alphanumeric characters |
| 894 | + separated by slashes (/) and finishing with ".map" ( [a-zA-Z0-9\./]*\.map$ ) , but will fail if there |
884 | 895 | are two consecutive dots (..) in the path, to prevent filesystem traversal ( (?!.*\.\.) ). |
885 | 896 | --> |
886 | 897 | <dimension type="regex" name="MAPFILE" default="/path/to/mapfile.map"> |
|
0 commit comments