[mapserver-dev] Projections and CONFIG file in MapServer 8.0

Seth G sethg at geographika.co.uk
Wed Jul 6 12:34:22 PDT 2022


Hi all,

Using MapServer 8.0 beta and FastCGI (on Windows) I'm running into an issue where the PROJ_LIB setting is sometimes set by the value in the CONFIG file and sometimes by the setting in the Mapfile:

CONFIG
  ENV
    MS_MAP_PATTERN "."
    PROJ_LIB "C:/MapServer/bin/proj7/share" #proj7
  END
END

Then in a Mapfile:

CONFIG "PROJ_LIB" "C:/MapServer/bin/proj/SHARE" # uses proj6

Requests will use one PROJ setting then switch to another seemingly at random. 
Should one always take precedence over the other?

Seth

--
web:https://geographika.net
twitter: @geographika


More information about the MapServer-dev mailing list