<html>
  <head>
    <style type="text/css">
      <!--
        body { margin-left: 4px; margin-right: 4px; line-height: normal; margin-bottom: 1px; margin-top: 4px; font-variant: normal }
        p { margin-bottom: 0; margin-top: 0 }
      -->
    </style>
    
  </head>
  <body style="margin-left: 4px; margin-right: 4px; margin-bottom: 1px; margin-top: 4px">
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">Brent&#44;</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">Well you did specify NO Mapscript in the first message. &nbsp;I tend to shy away from Mapscript myself as well.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">Your description of things are seeming to point at an administrative interface of sorts&#44; which I&#39;ve been pondering for a while now &#40;Years&#33;&#41;&#44; where the abstract things like visible layers&#44; and desired cartography was moved to the user realm&#44; right in line with your Online GIS . . .</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">bobb</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <br>
      <br>
      &gt;&gt;&gt; Brent Fraser &lt;bfraser@geoanalytic.com&gt; wrote:<br>    </p>
    <div style="margin-left: 15px; margin-right: 0; padding-left: 7px; margin-bottom: 0; margin-top: 0; background-color: #f3f3f3; border-left: solid 1px #050505">
      <p style="margin-top: 0; margin-bottom: 0">
        Bob&#44;<br><br>&#160;&#160;&nbsp;Yes that&#39;s possible&#59; and so is using Mapscript.&#160;&nbsp;My hope was that I &#40;and<br>others wanting to do bound styling&#41; could generate a legend with a minimum of<br>scripting/coding/querying.&#160;&nbsp;Personally&#44; I think bound styling could be very<br>powerful&#44; especially when combined with a user login&#44; a web page to<br>&quot;create/define&quot; layers and classes&#44; and the GeoMOOSE/OpenLayers ability to<br>digitize features &#40;what&#39;s next&#63; a web-based GIS&#44; oh nooo...&#41;<br><br>Brent<br><br>Bob Basques wrote:<br>&gt;<br>&gt;<br>&gt; Brent&#44;<br>&gt;<br>&gt;<br>&gt; Ok&#44; this is sort of way out there&#44; I read your Legend Mail &#40;MSG10603&#41;<br>&gt; and wondered about . . .<br>&gt;<br>&gt;<br>&gt; What if you use MapServer with a template&#44; to build a Mapfile on the fly<br>&gt; from the database query&#44; then pass that in to MapServer for legend<br>&gt; rendering&#63;&#160;&nbsp;Seems like the long way round&#44; but might prove an<br>&gt; interesting experiment to work out a permanent solution.<br>&gt;<br>&gt;<br>&gt; Also&#44; wasn&#39;t there work recently related to passing in a Mapfile via<br>&gt; CGI&#63;&#160;&nbsp;Maybe there is a possibilty of piping these operations together<br>&gt; somehow&#44; just thinking out loud here.<br>&gt;<br>&gt;<br>&gt; bobb<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;&gt; &gt;&gt; Brent Fraser &lt;bfraser@geoanalytic.com&gt; wrote:<br>&gt;<br>&gt; Yewondwossen Assefa wrote:<br>&gt;&gt;&#160;&nbsp;On 11/06/2010 11:54 AM&#44; Lime&#44; Steve D &#40;DNR&#41; wrote:<br>&gt;&gt; &gt; I think it would be a reasonable addition. Are you thinking about<br>&gt;&gt; &gt; simply adding a visibility flag to a layer and flipping it<br>&gt;&gt; &gt; if features are rendered&#63; Often legend rendering is done separately<br>&gt;&gt; &gt; from drawing&#44; as two separate requests. Presumably you&#39;d<br>&gt;&gt; &gt; need a something like a fake draw map option in the legend code to<br>&gt;&gt; &gt; make a drawing-like pass through the data. Could get expensive.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;&#160;&#160;<br>&gt;&gt;&#160;&nbsp;Yes&#44;&#160;&nbsp;it could be an expensive operation to do a fake draw to get the<br>&gt;&gt;&#160;&nbsp;legend. I am wondering if we could save something when a draw is done<br>&gt;&gt;&#160;&nbsp;and retrieve it for the legend if it validates the current<br>&gt;&gt;&#160;&nbsp;layers/extent&#160;&nbsp;constraint.&#160;&nbsp;Draw and legend are separate process but<br>&gt;&gt;&#160;&nbsp;come usually one after the other so trying to take into account that<br>&gt;&gt;&#160;&nbsp;fact might help.<br>&gt;&gt;<br>&gt;&gt;&#160;&nbsp;regards<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; And it could solve my problem of generating a legend when using bound<br>&gt; styling<br>&gt; &#40;http://www.mail-archive.com/mapserver-users@lists.osgeo.org/msg10603.html&#41;<br>&gt;<br>&gt; Best Regards&#44;<br>&gt; Brent Fraser<br>&gt;<br>&gt; _______________________________________________<br>&gt; mapserver-dev mailing list<br>&gt; mapserver-dev@lists.osgeo.org<br>&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</a>-dev<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; mapserver-dev mailing list<br>&gt; mapserver-dev@lists.osgeo.org<br>&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</a>-dev<br><br>
      </p>
    </div>
  </body>
</html>