<!DOCTYPE html><html><head><title></title></head><body><div>Hi,</div><div><br></div><div>You have all the debug options on for MapServer that I am aware of. Maybe you can try <span>CONFIG "PROJ_DEBUG" "5" to see if that is more verbose?</span></div><div><br></div><div><a href="https://proj.org/en/stable/usage/environmentvars.html#envvar-PROJ_DEBUG">https://proj.org/en/stable/usage/environmentvars.html#envvar-PROJ_DEBUG</a><br></div><div><br></div><div>MapServer passes this value on as an environment variable. Maybe something has changed as the MapServer docs always use "ON" and "OFF" whereas PROJ states:</div><div><br></div><div>> Starting with PROJ 9.3, ON can be used as an alias for 2, and OFF as an alias for 1.</div><div><br></div><div>Seth</div><div><br></div><div id="sig62266145"><div class="signature">--</div><div class="signature">web:<a href="https://geographika.net">https://geographika.net</a> & <a href="https://mapserverstudio.net">https://mapserverstudio.net</a></div><div class="signature">mastodon: @<a href="mailto:geographika@mastodon.social">geographika@mastodon.social</a></div></div><div><br></div><div>On Thu, Oct 2, 2025, at 3:20 PM, PE Lord via MapServer-users wrote:</div><blockquote type="cite" id="qt" style=""><div style="font-family:Arial, sans-serif;font-size:14px;"><div><span>I have Mapserver 7.6.2 compiled with proj 7.2.1 and gdal version (?). Sorry.</span></div><div><br></div><div><span>I have solved an PROJ issue on my current server. I have modified the PROJ_DATA (PROJ_LIB) sqlite database to handle properly my local projection, including a Canadian NTv2 grid transformation.</span></div><div><br></div><div><span>My ...proj/bin/projinfo, on my server seem to use the right Canadian nadgrid file (ca_nrc_NA83SCRS.tif).</span></div><div><br></div><div><span>Here my question, how to debug PROJ, through Mapserver will a high level of verbose?</span></div><div><br></div><div><span>Here my mapfile</span></div><div><br></div><div><span> CONFIG "CPL_DEBUG" "ON"</span></div><div><span> CONFIG "PROJ_DEBUG" "ON"</span></div><div><span> CONFIG "CPL_CURL_VERBOSE" "ON"</span></div><div><span> CONFIG "CPL_TIMESTAMP" "ON"</span></div><div><span> CONFIG "MS_ERRORFILE" "debug_proj.log"</span></div><div><br></div><div><br></div><div><br></div><div><span>###########################</span></div><div><br></div><div><span>LAYER</span></div><div><span> DEBUG 5</span></div><div><span>NAME "MX9-01_20240730_000784-001_0030"</span></div><div><span>DATA "[...path...]/MX9-01_20240730_000784-001_0030.tif"</span></div><div><span>TYPE RASTER</span></div><div><span>PROJECTION</span></div><div><span>"init=epsg:3799"</span></div><div><span>END</span></div><div><span>END</span></div><div><br></div><div><span>###########################</span></div><div><span>Here the log output:</span></div><div><br></div><div><span>[Wed Aug 27 10:13:25 2025].225353 msDrawRasterLayerLow(MX9-01_20240730_000784-001_0030): entering.</span></div><div><span>[Wed Aug 27 10:13:25 2025].225880 msDrawRasterLayerGDAL(): Entering transform.</span></div><div><span>[Wed Aug 27 10:13:25 2025].225894 msDrawRasterLayerGDAL(): src=1534,1715,419,296, dst=0,0,1300,919</span></div><div><span>[Wed Aug 27 10:13:25 2025].225899 msDrawRasterLayerGDAL(): source raster PL (1533.977,1715.259) for dst PL (0,0).</span></div><div><span>[Wed Aug 27 10:13:25 2025].225910 msDrawRasterLayerGDAL(): red,green,blue,alpha bands = 1,0,0,0</span></div><div><span>[Wed Aug 27 10:13:25 2025].251631 msDrawMap(): Layer 0 (MX9-01_20240730_000784-001_0030), 0.026s</span></div><div><span>[Wed Aug 27 10:13:25 2025].327641 freeLayer(): freeing layer at 0x2727a80.</span></div><div><span>[Wed Aug 27 10:13:25 2025].327746 freeLayer(): freeing layer at 0x27a4850.</span></div><div><span>[Wed Aug 27 10:13:27 2025].569803 freeLayer(): freeing layer at 0x3e92d90.</span></div><div><span>[Wed Aug 27 10:13:27 2025].569862 freeLayer(): freeing layer at 0x2660f60.</span></div></div><div style="font-family:Arial, sans-serif;font-size:14px;" class="qt-protonmail_signature_block"><div class="qt-protonmail_signature_block-proton qt-protonmail_signature_block-empty"><br></div></div><div>_______________________________________________</div><div>MapServer-users mailing list</div><div><a href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a></div><div><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></div><div><br></div></blockquote><div><br></div></body></html>