<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    No, this would make the file system on my server an even worse
    spaghetti mess than when I move the files physically under one root.
    I want to leave everything as distributed as possible.<br>
    <br>
    Cheers, Rich, Steve and all,<br>
    <br>
    Jan <br>
    <br>
    <div class="moz-cite-prefix">On 06/12/2023 14:21, Richard Greenwood
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHBySPbfwgvso+F1XDXjxOsQBkgvyB1D3uPHqc5-DjBHqWtXoA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">How about just symlink in the file system?</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, Dec 6, 2023 at
          12:14 AM Jan Hartmann via MapServer-users <<a
            href="mailto:mapserver-users@lists.osgeo.org"
            moz-do-not-send="true" class="moz-txt-link-freetext">mapserver-users@lists.osgeo.org</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="auto">
            <div dir="ltr">How about a shapepath at the layer level? I
              am combining 20 years of working with old maps in three
              (or four :-)) different countries (Netherlands, Germany
              and Flemish and Walloon Belgium), all in their own
              formats, projections, directories an servers. It would
              help to keep my applications (and my mind) clear if I
              could use the appropriate shapepaths. And as to
              portability, it is essential to use relative paths. Just
              try to move a website to a new server with a differently
              named filesystem, if all paths are hard coded.</div>
            <div dir="ltr"><br>
            </div>
            <div dir="ltr">Jan</div>
            <div dir="ltr"><br>
              <blockquote type="cite">Op 5 dec 2023 om 15:43 heeft Steve
                Lime <<a href="mailto:sdlime@gmail.com"
                  target="_blank" moz-do-not-send="true"
                  class="moz-txt-link-freetext">sdlime@gmail.com</a>>
                het volgende geschreven:<br>
                <br>
              </blockquote>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <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"
                        target="_blank" moz-do-not-send="true"
                        class="moz-txt-link-freetext">mapserver-users@lists.osgeo.org</a>>
                      wrote:<br>
                    </div>
                    <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">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" moz-do-not-send="true"
                        class="moz-txt-link-freetext">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" moz-do-not-send="true"
                        class="moz-txt-link-freetext">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" moz-do-not-send="true"
                        class="moz-txt-link-freetext">MapServer-users@lists.osgeo.org</a><br>
                      >>> <a
href="https://lists.osgeo.org/mailman/listinfo/mapserver-users"
                        rel="noreferrer" target="_blank"
                        moz-do-not-send="true"
                        class="moz-txt-link-freetext">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" moz-do-not-send="true"
                        class="moz-txt-link-freetext">MapServer-users@lists.osgeo.org</a><br>
                      >> <a
href="https://lists.osgeo.org/mailman/listinfo/mapserver-users"
                        rel="noreferrer" target="_blank"
                        moz-do-not-send="true"
                        class="moz-txt-link-freetext">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" moz-do-not-send="true"
                        class="moz-txt-link-freetext">MapServer-users@lists.osgeo.org</a><br>
                      <a
href="https://lists.osgeo.org/mailman/listinfo/mapserver-users"
                        rel="noreferrer" target="_blank"
                        moz-do-not-send="true"
                        class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
                    </blockquote>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          _______________________________________________<br>
          MapServer-users mailing list<br>
          <a href="mailto:MapServer-users@lists.osgeo.org"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">MapServer-users@lists.osgeo.org</a><br>
          <a
href="https://lists.osgeo.org/mailman/listinfo/mapserver-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      <span class="gmail_signature_prefix">-- </span><br>
      <div dir="ltr" class="gmail_signature">
        <div dir="ltr">Richard W. Greenwood<br>
          <a href="http://www.greenwoodmap.com" target="_blank"
            moz-do-not-send="true">www.greenwoodmap.com</a></div>
      </div>
    </blockquote>
    <br>
  </body>
</html>