Skip to content

Commit 5482592

Browse files
jmckennagithub-actions[bot]
authored andcommitted
handle PROJ6 invalid coordinate message through DEBUG levels
1 parent 47e87c1 commit 5482592

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mapproject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,11 @@ static void msProjErrorLogger(void * user_data,
362362
int level, const char * message)
363363
{
364364
(void)user_data;
365-
if( level == PJ_LOG_ERROR )
365+
if( level == PJ_LOG_ERROR && msGetGlobalDebugLevel() >= MS_DEBUGLEVEL_VV)
366366
{
367367
msDebug( "PROJ: Error: %s\n", message );
368368
}
369-
else if( level == PJ_LOG_DEBUG )
369+
else if( level == PJ_LOG_DEBUG)
370370
{
371371
msDebug( "PROJ: Debug: %s\n", message );
372372
}

0 commit comments

Comments
 (0)