<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,</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. 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, which I've been pondering for a while now (Years!), where the abstract things like visible layers, and desired cartography was moved to the user realm, 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>
>>> Brent Fraser <bfraser@geoanalytic.com> 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,<br><br>   Yes that's possible; and so is using Mapscript.  My hope was that I (and<br>others wanting to do bound styling) could generate a legend with a minimum of<br>scripting/coding/querying.  Personally, I think bound styling could be very<br>powerful, especially when combined with a user login, a web page to<br>"create/define" layers and classes, and the GeoMOOSE/OpenLayers ability to<br>digitize features (what's next? a web-based GIS, oh nooo...)<br><br>Brent<br><br>Bob Basques wrote:<br>><br>><br>> Brent,<br>><br>><br>> Ok, this is sort of way out there, I read your Legend Mail (MSG10603)<br>> and wondered about . . .<br>><br>><br>> What if you use MapServer with a template, to build a Mapfile on the fly<br>> from the database query, then pass that in to MapServer for legend<br>> rendering?  Seems like the long way round, but might prove an<br>> interesting experiment to work out a permanent solution.<br>><br>><br>> Also, wasn't there work recently related to passing in a Mapfile via<br>> CGI?  Maybe there is a possibilty of piping these operations together<br>> somehow, just thinking out loud here.<br>><br>><br>> bobb<br>><br>><br>><br>><br>>> >> Brent Fraser <bfraser@geoanalytic.com> wrote:<br>><br>> Yewondwossen Assefa wrote:<br>>>  On 11/06/2010 11:54 AM, Lime, Steve D (DNR) wrote:<br>>> > I think it would be a reasonable addition. Are you thinking about<br>>> > simply adding a visibility flag to a layer and flipping it<br>>> > if features are rendered? Often legend rendering is done separately<br>>> > from drawing, as two separate requests. Presumably you'd<br>>> > need a something like a fake draw map option in the legend code to<br>>> > make a drawing-like pass through the data. Could get expensive.<br>>> ><br>>> >  <br>>>  Yes,  it could be an expensive operation to do a fake draw to get the<br>>>  legend. I am wondering if we could save something when a draw is done<br>>>  and retrieve it for the legend if it validates the current<br>>>  layers/extent  constraint.  Draw and legend are separate process but<br>>>  come usually one after the other so trying to take into account that<br>>>  fact might help.<br>>><br>>>  regards<br>>><br>><br>><br>> And it could solve my problem of generating a legend when using bound<br>> styling<br>> (http://www.mail-archive.com/mapserver-users@lists.osgeo.org/msg10603.html)<br>><br>> Best Regards,<br>> Brent Fraser<br>><br>> _______________________________________________<br>> mapserver-dev mailing list<br>> mapserver-dev@lists.osgeo.org<br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</a>-dev<br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> mapserver-dev mailing list<br>> mapserver-dev@lists.osgeo.org<br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</a>-dev<br><br>
</p>
</div>
</body>
</html>