Data Directory¶
pyproj.datadir.get_data_dir¶
-
pyproj.datadir.
get_data_dir
() → str[source]¶ The order of preference for the data directory is:
The one set by pyproj.datadir.set_data_dir (if exists & valid)
The internal proj directory (if exists & valid)
The directory in PROJ_LIB (if exists & valid)
The directory on sys.prefix (if exists & valid)
The directory on the PATH (if exists & valid)
- Returns
The valid data directory.
- Return type
str