<div dir="auto">It won’t work. A configuration is loaded in entirety first, and then applied as necessary.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 5, 2023 at 7:21 AM Jan Hartmann via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Not sure. I cannot get it working anyway. Any ideas, Steve?<br>
<br>
On 04/12/2023 10:10, Jörg Thomsen (WhereGroup) via MapServer-users wrote:<br>
> Hi,<br>
><br>
> I am not sure, but perhaps overwriting it, would work?<br>
><br>
> MAP<br>
><br>
> shapepath 'blah'<br>
><br>
> Layer 1<br>
> Layer 2<br>
><br>
> shapepath 'blubb'<br>
><br>
> Layer 3<br>
> Layer 4<br>
><br>
> Jörg<br>
><br>
><br>
><br>
> Am 02.12.23 um 19:32 schrieb Jan Hartmann via MapServer-users:<br>
>> Yes, that is what I sought, didn't know it was possible. Thanks!<br>
>><br>
>> Jan<br>
>><br>
>> On 02/12/2023 19:29, Steve Lime wrote:<br>
>>> One other thought, you can use multiple paths via runtime subs to <br>
>>> approximate what I think you’re looking for, so:<br>
>>><br>
>>> WEB<br>
>>> VALIDATION<br>
>>> path1_default “/opt/path1”<br>
>>> path1 “^\/opt\/path1$”<br>
>>> path2_default “/opt/path2”<br>
>>> path2 “^\/opt\/path2$”<br>
>>> END<br>
>>> END<br>
>>><br>
>>> Then in DATA values you’d use %path1% or %path2%. This is another <br>
>>> use case for variables that was suggested recently. We could, <br>
>>> perhaps, define a way to mark something as immutable via url so the <br>
>>> regex could be simplified and only the default would ever be used <br>
>>> (e.g. “path2” “immutable”).<br>
>>><br>
>>> —Steve<br>
>>><br>
>>> On Fri, Dec 1, 2023 at 11:28 PM Steve Lime <<a href="mailto:sdlime@gmail.com" target="_blank">sdlime@gmail.com</a>> wrote:<br>
>>><br>
>>> Nope, just the one value.<br>
>>><br>
>>> On Fri, Dec 1, 2023 at 1:02 PM Jan Hartmann via MapServer-users<br>
>>> <<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>> wrote:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> Is it possible to use multiple paths in a shapepath?<br>
>>> ./data1:./data2<br>
>>> does not work<br>
>>><br>
>>> Jan<br>
>>> _______________________________________________<br>
>>> MapServer-users mailing list<br>
>>> <a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
>>> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
>>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> MapServer-users mailing list<br>
>> <a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
>> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
><br>
<br>
_______________________________________________<br>
MapServer-users mailing list<br>
<a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div></div>