[mapserver-dev] Mapserver 8.0 beta documentation

Steve Lime sdlime at gmail.com
Tue Aug 16 07:15:35 PDT 2022


Ok, then that is expected. If you pass a map with a file path then (and
assuming you haven't set MS_MAP_NO_PATH) you should see the error message
Jeff referenced.

On Tue, Aug 16, 2022 at 8:27 AM Richard Greenwood <
richard.greenwood at gmail.com> wrote:

> On Tue, Aug 16, 2022 at 7:10 AM Steve Lime <sdlime at gmail.com> wrote:
>
>> There are 2 scenarios when you won't get the error Jeff references
>> when MS_MAP_PATTERN is not set in the config file:
>>
>>    1. If using an map alias (set in the map section of the config file)
>>    - these can only be read from the config file.
>>    2. If MS_MAP_PATTERN is set in the underlying environment - that is,
>>    by the web server. Things are set up to fall back to the environment
>>    variables (we're using GDAL functionality) if they exist for any of the MS*
>>    variables.
>>
>> Do either of these apply?
>>
>
> Yep, I'm using aliases in the MAP section.
>
>
>
>> On Tue, Aug 16, 2022 at 7:31 AM Richard Greenwood <
>> richard.greenwood at gmail.com> wrote:
>>
>>> Sorry I missed the TEMPLATEPATTERN documentation (reading too quickly in
>>> all the excitement over a new MS version)!
>>>
>>> Regarding MS_MAP_PATTERN, I'm doing a WMS GetMap request.
>>>
>>> Rich
>>>
>>>
>>>
>>>
>>> On Tue, Aug 16, 2022 at 6:07 AM Jeff McKenna <
>>> jmckenna at gatewaygeomatics.com> wrote:
>>>
>>>> (I tested in my browser with a CGI MODE=map call)
>>>>
>>>> -jeff
>>>>
>>>>
>>>>
>>>> On 2022-08-16 9:05 a.m., Jeff McKenna wrote:
>>>> > Hi Rich,
>>>> >
>>>> > I just tested the 8.0.0-beta2 and it is in fact required: "Web
>>>> > application error.  Required configuration value MS_MAP_PATTERN not
>>>> set".
>>>> >
>>>> > -jeff
>>>> >
>>>> >
>>>> >
>>>> > On 2022-08-16 9:00 a.m., Jeff McKenna wrote:
>>>> >> Hi Rich,
>>>> >>
>>>> >> Correct, TEMPLATEPATTERN was removed (this is already noted in the
>>>> >> documentation at https://mapserver.org/mapfile/map.html ).  If you
>>>> see
>>>> >> it mentioned elsewhere please let me know.
>>>> >>
>>>> >> Regarding MS_MAP_PATTERN, let's let SteveL respond here, and I will
>>>> >> correct the docs (as throughout this 8.0 process I always assumed it
>>>> >> was now required).
>>>> >>
>>>> >> Thanks,
>>>> >>
>>>> >> -jeff
>>>> >>
>>>> >>
>>>> >>
>>>> >
>>>>
>>>> _______________________________________________
>>>> MapServer-dev mailing list
>>>> MapServer-dev at lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>>>
>>>
>>>
>>> --
>>> Richard W. Greenwood
>>> www.greenwoodmap.com
>>> _______________________________________________
>>> MapServer-dev mailing list
>>> MapServer-dev at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>>
>>
>
> --
> Richard W. Greenwood
> www.greenwoodmap.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20220816/129126f1/attachment.htm>


More information about the MapServer-dev mailing list