diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-03-16 12:40:30 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-03-16 14:32:26 +0100 |
| commit | d849419552c36d2f6f74973d075783666e179734 (patch) | |
| tree | 3c5e40242fedf551f21dd1b883cf8943d3646e02 /src/proj_api.h | |
| parent | 25066cfb3b90dc447b26cf4f796e7ed8f1377585 (diff) | |
| download | PROJ-d849419552c36d2f6f74973d075783666e179734.tar.gz PROJ-d849419552c36d2f6f74973d075783666e179734.zip | |
Add pj_find_file() function to retrieve the full filename of a proj resource file.
Will help GDAL finding where +nadgrids=... or +geoidgrids=... resouces are located
to be able to directly open them.
Diffstat (limited to 'src/proj_api.h')
| -rw-r--r-- | src/proj_api.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proj_api.h b/src/proj_api.h index 033c1282..2add2946 100644 --- a/src/proj_api.h +++ b/src/proj_api.h @@ -202,7 +202,8 @@ void pj_ctx_fclose(projCtx ctx, PAFile file); char *pj_ctx_fgets(projCtx ctx, char *line, int size, PAFile file); PAFile pj_open_lib(projCtx, const char *, const char *); - +int pj_find_file(projCtx ctx, const char *short_filename, + char* out_full_filename, size_t out_full_filename_size); #ifdef __cplusplus } |
