Skip to content

Commit 8ddd640

Browse files
authored
Merge pull request OSGeo#3760 from rouault/proj_ini_defaults
proj.ini: set default values of parameter to be consistent, and some …
2 parents fbe4a45 + e5779db commit 8ddd640

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

data/proj.ini

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,26 @@
44

55
; Network capabilities disabled by default.
66
; Can be overridden with the PROJ_NETWORK=ON environment variable.
7-
; network = on
7+
; Cf https://proj.org/en/latest/usage/network.html
8+
; Valid values = on, off
9+
network = off
810

11+
; Endpoint of the Content Delivery Network where remote resources might
12+
; be accessed. Only used if network access is allowed (cf above "network"
13+
; option)
914
; Can be overridden with the PROJ_NETWORK_ENDPOINT environment variable.
1015
cdn_endpoint = https://cdn.proj.org
1116

17+
; Whether to enable a cache of remote resources that are accessed, on the
18+
; local file system
19+
; Valid values = on, off
1220
cache_enabled = on
1321

22+
; Size of the cache in megabytes
1423
cache_size_MB = 300
1524

25+
; Time-to-live delay in seconds before already accessed remote resources are
26+
; acessed again to check if they have been updated.
1627
cache_ttl_sec = 86400
1728

1829
; Can be set to on so that by default the lack of a known resource files needed
@@ -23,7 +34,8 @@ cache_ttl_sec = 86400
2334
; passed to the proj_create_crs_to_crs() method, or with the --only-best
2435
; option of the cs2cs program.
2536
; (added in PROJ 9.2)
26-
; only_best_default = on
37+
; Valid values = on, off
38+
only_best_default = off
2739

2840
; Filename of the Certificate Authority (CA) bundle.
2941
; Can be overriden with the PROJ_CURL_CA_BUNDLE / CURL_CA_BUNDLE environment variable.

0 commit comments

Comments
 (0)