<div dir="auto">One other thought, you can use multiple paths via runtime subs to approximate what I think you’re looking for, so:</div><div dir="auto"><br></div><div dir="auto">WEB</div><div dir="auto">  VALIDATION </div><div dir="auto">    path1_default “/opt/path1”</div><div dir="auto">    path1 “^\/opt\/path1$”</div><div dir="auto"><div><div dir="auto" style="font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)">    path2_default “/opt/path2”</div><div dir="auto" style="font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)">    path2 “^\/opt\/path2$”</div></div></div><div dir="auto">  END</div><div dir="auto">END</div><div dir="auto"><br></div><div dir="auto">Then in DATA values you’d use %path1% or %path2%. This is another use case for variables that was suggested recently. We could, perhaps, define a way to mark something as immutable via url so the regex could be simplified and only the default would ever be used (e.g. “path2” “immutable”).</div><div dir="auto"><br></div><div dir="auto">—Steve</div><div dir="auto"><br></div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 1, 2023 at 11:28 PM Steve Lime <<a href="mailto:sdlime@gmail.com">sdlime@gmail.com</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)"><div dir="auto">Nope, just the one value.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 1, 2023 at 1:02 PM Jan Hartmann via MapServer-users <<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">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)">Hi,<br>
<br>
Is it possible to use multiple paths in a shapepath? ./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>
</blockquote></div></div>
</blockquote></div></div>