<html>
  <head>

  </head>
  <body style="line-height: normal; font-variant: normal; font-weight: normal; margin-left: 4px; font-family: Comic Sans MS; margin-top: 4px; font-style: normal; margin-bottom: 1px; font-size: 12pt; margin-right: 4px">
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">Stephen&#44;</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">I don&#39;t see this type of URL substitution as being any more latent than running a WMS &#40;with SLD&#41; request &#40;same thing right&#63;&#63;&#41;&#44; especially if it&#39;s run through MapServer directly. &nbsp;We&#39;ve tried the Scripting process and while it worked&#44; keeping the MapServer version up as they came out was a bit time consuming&#44; not to mention trying to keep things portable. &nbsp;I&#39;m not interested in adding another &quot;thing&quot; to the MapServer engine toolbox for set up. &nbsp;I would much rather see something like this be handled inside of MapServer proper.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">I&#39;m looking at the flexibility of having the option. &nbsp;I can certainly see something like this becoming a potential crutch for some developers as well. &nbsp;And so&#44; I&#39;m not entirely sold on the idea myself yet&#44; that this is a proper solution. &nbsp;It&#39;s more of a flexibility issue in my mind. &nbsp;WMS is fine and all&#44; but you can&#39;t &#40;yet&#41; do everything&#44; that mapserver can do even though I use WMS services a lot more now than I used to.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">I&#39;m not so sure I would need to go to another server every time I needed to use this type of assembly&#44; but I can sure see it coming in handy if I did. &nbsp;I&#39;m also all about diiding processes up amongst the data maintainers. This type of capability has the potential to spread to maintenance aspects out and away from dependence on a single publishing point&#44; almost cloud based if you will . . .</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">My last piece here&#44; is if this is really turning into a standards question&#44; should there be a discussion about making a complete standards compliant version of MapServer. &nbsp;I believe quite a bit of stuff could be stripped out of MapServer in this scenario. &nbsp;Mapserver has been my tool of choice for may years because of it&#39;s flexibility&#44; and not necessarily it&#39;s standards compliance.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">In the end&#44; all good points that you brought up. &nbsp;Most of them I&#39;m still pondering myself. &nbsp;It seems like a good idea on the surface&#44; and I&#39;ve not heard a really big gotcha in this thread yet about why it would be inherently bad.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font size="3" face="Comic Sans MS">bobb</font>    </p>
<br>      <br>
    <p style="margin-top: 0; margin-bottom: 0">
      <br>
      <br>
      &gt;&gt;&gt; Stephen Woodbridge &lt;woodbri@swoodbridge.com&gt; wrote:<br>    </p>
    <table bgcolor="#f3f3f3" border="0" style="margin-left: 15px; margin-top: 0; margin-bottom: 0; margin-right: 0; font-size: 1em">
      <tr>
        <td>
          <div style="border-left: solid 1px #050505; padding-left: 7px">
            <p style="margin-top: 0; margin-bottom: 0">
              Bob&#44;<br><br>I think one of the developers would need to answer this. But here are<br>some thoughts to consider:<br><br>This introduces a lot of latency in the response&#44; because you have to<br>make a socket request to another host&#44; which needs to create a process<br>and service the request&#44; and send the results back to you. Not to<br>mention what do you do if the host or connection are down or bad.<br><br>If you are just asking this because it is a tricky way to add parameters<br>to the request&#44; then I would simply ask to have parametrized includes<br>especially if I could load all my parameters from an initial include<br>with a computed filename based on the<br><br>To some extent you can already do this at the layer level&#44; we normally<br>call it a WMS layer &#59;&#41;<br><br>Which brings up the other point of making a remote request for an<br>include&#44; what is the likelihood that a remote hose is going to know<br>about the data sources on your host&#63; Are you than going to want remote<br>access to the data also. Oh wait ... that is a WMS request. :&#41;<br><br>Ok&#44; sarcasm aside&#44; it is an interesting idea&#44; but I think it has more<br>potential issues then benefits&#44; but htat is just my 2 cents.<br><br>-Steve W<br><br>On 10/3/2011 3:18 PM&#44; Bob Basques wrote:<br>&gt; All&#44;<br>&gt;<br>&gt;<br>&gt; Would adding in INCLUDEs from a URL be pushing it too much&#44; as in:<br>&gt;<br>&gt;<br>&gt; INCLUDE &quot; /http://Myserver.com/cgi-bin/myscript.pl<br>&gt; &lt;<a href="http://Myserver.com/cgi-bin/myscript.pl">http://Myserver.com/cgi-bin/myscript.pl</a>&gt;/ &quot;<br>&gt;<br>&gt;<br>&gt; Could pass in parameters like so . . .<br>&gt;<br>&gt;<br>&gt; INCLUDE &quot; /http://Myserver.com/cgi-bin/myscript.pl&#63;A&#61;first /<br>&gt; &lt;<a href="http://Myserver.com/cgi-bin/myscript.pl?A=first">http://Myserver.com/cgi-bin/myscript.pl&#63;A&#61;first</a>&gt; thing&amp;b&#61;second<br>&gt; thing&amp;c&#61;third thing . . . &quot;<br>&gt;<br>&gt;<br>&gt; bobb<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;&#160;&#32;&gt;&gt;&gt; &quot;Smith&#44; Michael ERDC-CRREL-NH&quot; &lt;Michael.Smith@usace.army.mil&gt; wrote:<br>&gt;<br>&gt; There is an RFC to have includes come from non-file connections<br>&gt; &#40;databases&#41;. It would be another option<br>&gt;<br>&gt; <a href="http://mapserver.org/development/rfc/ms-rfc-74.html">http://mapserver.org/development/rfc/ms-rfc-74.html</a><br>&gt;<br>&gt;<br>&gt; Mike<br>&gt;<br>&gt; --<br>&gt; Michael Smith<br>&gt;<br>&gt; Remote Sensing/GIS Center<br>&gt; US Army Corps of Engineers<br>&gt;<br>&gt;<br>&gt;<br>&gt; On 10/3/11 2:51 PM&#44; &quot;Stephen Woodbridge&quot; &lt;woodbri@swoodbridge.com&gt; wrote:<br>&gt;<br>&gt;&#160;&#32;&gt;One idea regarding this that you might want to consider is the ability<br>&gt;&#160;&#32;&gt;to put all the named parameters in an include file&#44; then be able to<br>&gt;&#160;&#32;&gt;include that file via a CGI parameter. So it might look like this:<br>&gt;&#160;&#32;&gt;<br>&gt;&#160;&#32;&gt;<br>&gt;&#160;&#32;&gt;MAP<br>&gt;&#160;&#32;&gt; INCLUDE &quot;client-params-&#37;client_id&#37;.inc&quot;<br>&gt;&#160;&#32;&gt; ...<br>&gt;&#160;&#32;&gt;END<br>&gt;&#160;&#32;&gt;<br>&gt;&#160;&#32;&gt;And then you could have parameter files like:<br>&gt;&#160;&#32;&gt;<br>&gt;&#160;&#32;&gt;client-params-27.inc<br>&gt;&#160;&#32;&gt;client-params-123.inc<br>&gt;&#160;&#32;&gt;etc.<br>&gt;&#160;&#32;&gt;<br>&gt;&#160;&#32;&gt;And these would include nothing but your SET ... commands.<br>&gt;&#160;&#32;&gt;<br>&gt;&#160;&#32;&gt;Then when requesting the map:<br>&gt;&#160;&#32;&gt;<br>&gt;&#160;&#32;&gt;/http://localhost/cgi-bin/mapserv&#63;client_id&#61;123&amp;mode&#61;map&amp;map&#61;/path/to/mapf<br>&gt;&#160;&#32;&gt;ile.map&amp;...<br>&gt;&#160;&#32;&gt;<br>&gt;&#160;&#32;&gt;This would make it very easy to manage a single mapfile for parameters<br>&gt;&#160;&#32;&gt;that are different for each client/user.<br>&gt;&#160;&#32;&gt;<br>&gt;&#160;&#32;&gt;Obviously the client_id could be set via a cookie&#44; or a wrapper script&#44;<br>&gt;&#160;&#32;&gt;or a session variable&#44; or manually&#44; etc.<br>&gt;&#160;&#32;&gt;<br>&gt;&#160;&#32;&gt;-Steve W<br>&gt;&#160;&#32;&gt;<br>&gt;&#160;&#32;&gt;On 10/3/2011 2:39 PM&#44; reholl wrote:<br>&gt;&#160;&#32;&gt;&gt; I&#39;m interested in working on capabilities along these lines. Are there<br>&gt;&#160;&#32;&gt;&gt; existing RFCs that touch on this&#63; If not&#44; perhaps one should be<br>&gt;&#160;&#32;&gt;&gt;created.<br>&gt;&#160;&#32;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt; This overlaps some configuration ideas I&#39;ve been mulling over. From the<br>&gt;&#160;&#32;&gt;&gt; original comment here about internal vars being handy for &quot;/when the<br>&gt;&#160;&#32;&gt;&gt;same<br>&gt;&#160;&#32;&gt;&gt; layers are re-used for several customers who like to have a bit<br>&gt;&#160;&#32;&gt;&gt;different<br>&gt;&#160;&#32;&gt;&gt; styling for the same source data/&quot; it occurs to me that a matrix or some<br>&gt;&#160;&#32;&gt;&gt; other constructs more complex than a flat list of internal variables<br>&gt;&#160;&#32;&gt;&gt;might<br>&gt;&#160;&#32;&gt;&gt; be called for -- provided they don&#39;t turn the mapfile and internal<br>&gt;&#160;&#32;&gt;&gt;mapserv<br>&gt;&#160;&#32;&gt;&gt; into spaghetti..<br>&gt;&#160;&#32;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt; Jukka Rahkonen &#40;have I ordered your name properly&#63;&#41;&#44; do you want to<br>&gt;&#160;&#32;&gt;&gt;start an<br>&gt;&#160;&#32;&gt;&gt; RFC on this&#63;<br>&gt;&#160;&#32;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt; To anyone -- would this conversation typically migrate over to &#39;dev&#39; &#63;<br>&gt;&#160;&#32;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt; Robert Hollingsworth<br>&gt;&#160;&#32;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt; I agree that this is a request that comes up often. As usual we&#39;d just<br>&gt;&#160;&#32;&gt;&gt; need someone to lead the effort.<br>&gt;&#160;&#32;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt; On 11-10-03 12:12 AM&#44; Rahkonen Jukka wrote:<br>&gt;&#160;&#32;&gt;&gt;&gt; Hi&#44;<br>&gt;&#160;&#32;&gt;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt;&gt; Inspired by the Thomas Bonfort&#39;s rendering chain I have been thinking<br>&gt;&#160;&#32;&gt;&gt;&gt;if<br>&gt;&#160;&#32;&gt;&gt;&gt; we could have a native support for using internal mapfile variables.<br>&gt;&#160;&#32;&gt;&gt;&gt;Now<br>&gt;&#160;&#32;&gt;&gt;&gt; Thomas is setting for example a bunch of colours in a definition file<br>&gt;&#160;&#32;&gt;&gt;&gt; which is converted into a real mapfile with python script and c<br>&gt;&#160;&#32;&gt;&gt;&gt; preprocessor.<br>&gt;&#160;&#32;&gt;&gt;&gt; <a href="http://mapserver-utils.googlecode.com/svn/trunk/README">http://mapserver-utils.googlecode.com/svn/trunk/README</a><br>&gt;&#160;&#32;&gt;&gt;&gt; <a href="http://mapserver-utils.googlecode.com/svn/trunk/generate_style.py">http://mapserver-utils.googlecode.com/svn/trunk/generate_style.py</a><br>&gt;&#160;&#32;&gt;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt;&gt; I would like to see a simple way for setting the variables directly in<br>&gt;&#160;&#32;&gt;&gt;&gt;the<br>&gt;&#160;&#32;&gt;&gt;&gt; mapfile&#44; somehow like<br>&gt;&#160;&#32;&gt;&gt;&gt; MAP<br>&gt;&#160;&#32;&gt;&gt;&gt; SET &quot;pedestrian_clr&quot; &quot;&#35;fafaf5&quot;<br>&gt;&#160;&#32;&gt;&gt;&gt; SET &quot;forest_clr&quot; &quot;&#35;dcdcb4&quot;<br>&gt;&#160;&#32;&gt;&gt;&gt; SET &quot;industrial_clr&quot; &quot;&#35;ebe5d9&quot;<br>&gt;&#160;&#32;&gt;&gt;&gt; ....<br>&gt;&#160;&#32;&gt;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt;&gt; And then later in the layers use<br>&gt;&#160;&#32;&gt;&gt;&gt; LAYER<br>&gt;&#160;&#32;&gt;&gt;&gt; .....<br>&gt;&#160;&#32;&gt;&gt;&gt; COLOR &#37;pedestrian_clr&#37;<br>&gt;&#160;&#32;&gt;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt;&gt; The internal variables could be interpreted only from the mapfile and<br>&gt;&#160;&#32;&gt;&gt;&gt;they<br>&gt;&#160;&#32;&gt;&gt;&gt; could not be altered by the web users.<br>&gt;&#160;&#32;&gt;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt;&gt; Internal variable would help in maintaining big mapfiles with repeating<br>&gt;&#160;&#32;&gt;&gt;&gt; styles like in the OpenStreetMap rendering case. Another use case is<br>&gt;&#160;&#32;&gt;&gt;&gt;when<br>&gt;&#160;&#32;&gt;&gt;&gt; the same layers are re-used for several customers who like to have a<br>&gt;&#160;&#32;&gt;&gt;&gt;bit<br>&gt;&#160;&#32;&gt;&gt;&gt; different styling for the same source data.<br>&gt;&#160;&#32;&gt;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt;&gt; -Jukka Rahkonen-<br>&gt;&#160;&#32;&gt;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt;<br>&gt;&#160;&#32;&gt;&gt; --<br>&gt;&#160;&#32;&gt;&gt; View this message in context:<br>&gt;&#160;&#32;&gt;&gt;<a href="http://osgeo-org.1803224.n2.nabble.com/Feature-wish-Internal-mapfile-vari">http://osgeo-org.1803224.n2.nabble.com/Feature-wish-Internal-mapfile-vari</a><br>&gt;&#160;&#32;&gt;&gt;ables-tp6853853p6856070.html<br>&gt;&#160;&#32;&gt;&gt; Sent from the Mapserver - User mailing list archive at Nabble.com.<br>&gt;&#160;&#32;&gt;&gt; _______________________________________________<br>&gt;&#160;&#32;&gt;&gt; mapserver-users mailing list<br>&gt;&#160;&#32;&gt;&gt; mapserver-users@lists.osgeo.org<br>&gt;&#160;&#32;&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt;&#160;&#32;&gt;<br>&gt;&#160;&#32;&gt;_______________________________________________<br>&gt;&#160;&#32;&gt;mapserver-users mailing list<br>&gt;&#160;&#32;&gt;mapserver-users@lists.osgeo.org<br>&gt;&#160;&#32;&gt;<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt;<br>&gt; _______________________________________________<br>&gt; mapserver-users mailing list<br>&gt; mapserver-users@lists.osgeo.org<br>&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>&gt;<br><br>_______________________________________________<br>mapserver-users mailing list<br>mapserver-users@lists.osgeo.org<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
            </p>
          </div>
        </td>
      </tr>
    </table>
  </body>
</html>