aboutsummaryrefslogtreecommitdiff
path: root/src/pj_open_lib.c
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-03-15 19:10:18 +0100
committerEven Rouault <even.rouault@spatialys.com>2017-03-15 19:10:18 +0100
commit25066cfb3b90dc447b26cf4f796e7ed8f1377585 (patch)
tree7c8706c40f085567b4599d8ad85b0e78e58032bb /src/pj_open_lib.c
parentfe1154e1a52b724f35d00c3d69b78dfda905d024 (diff)
downloadPROJ-25066cfb3b90dc447b26cf4f796e7ed8f1377585.tar.gz
PROJ-25066cfb3b90dc447b26cf4f796e7ed8f1377585.zip
Document messy GDAL hack
Diffstat (limited to 'src/pj_open_lib.c')
-rw-r--r--src/pj_open_lib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pj_open_lib.c b/src/pj_open_lib.c
index d5ad2549..12aae017 100644
--- a/src/pj_open_lib.c
+++ b/src/pj_open_lib.c
@@ -160,6 +160,11 @@ pj_open_lib(projCtx ctx, const char *name, const char *mode) {
if( ctx->last_errno == 0 && errno != 0 )
pj_ctx_set_errno( ctx, errno );
+ /* WARNING: GDAL in alg/gdalapplyverticalshiftgrid.cpp relies on the */
+ /* fact that we emit a log message with this debug level and with */
+ /* a string that has "fopen(full_path)" in it ! */
+ /* This is messy I know, and we should likely have a proper API to do */
+ /* that */
pj_log( ctx, PJ_LOG_DEBUG_MAJOR,
"pj_open_lib(%s): call fopen(%s) - %s\n",
name, sysname,