Wow, I am impressed! What a cool map that is being displayed on my screen! hehe :)<br><br>Thanks for the reply.<br><br>Guess I am set in solution 2.<br><br>Just another question. I don&#39;t see SLD BODY on WMS Spec, but I see it on SLD profile for WMS. And it also states:<br>

&quot;GetMap is defined in WMS 1.3. The SLD profile for WMS defines additional parameters allowing clients to request layers to be portrayed according to some specified style.&quot;<br><br>Do you know any map server that doesn&#39;t support SLD profile for WMS, but supports WMS? I am just curious about it, because imho it doesn&#39;t make sense splitting SLD profile for WMS from WMS spec.<br>

<br><div class="gmail_quote">On Mon, Nov 16, 2009 at 5:54 PM, Ian Turton <span dir="ltr">&lt;<a href="mailto:ijturton@gmail.com">ijturton@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">On Mon, Nov 16, 2009 at 2:29 PM, Pedro Baracho &lt;<a href="mailto:pedropbaracho@gmail.com">pedropbaracho@gmail.com</a>&gt; wrote:<br>
&gt; I need to change SLD on the fly to create some thematic maps. I would also<br>
&gt; appreciate if compatibility with OGC&#39;s WFS was mantained. Have you guys done<br>
&gt; this before? I could use some suggestions... :P<br>
&gt;<br>
&gt; I have done some searching and came up with a couple of solutions.<br>
&gt;<br>
&gt; 1- GeoServer GeoExt Styler Plugin.<br>
&gt; I don&#39;t know if it is a good solution, because as far as I know, it changes<br>
&gt; the style of the layer for all the users. I would need to replicate styles<br>
&gt; on the server for each user and each layer. And also this requires the<br>
&gt; server to be Geoserver, and breaks OGC compatibility.<br>
&gt;<br>
<br>
</div>You are right that will change it for everyone<br>
<div class="im"><br>
&gt; 2- WMS 1.3 and SLD<br>
&gt; MapServer implements WMS 1.3 and accepts a SLD description in the request.<br>
&gt; GeoServer doesn&#39;t.<br>
&gt; Nothing against MapServer, but my current development environment is set<br>
&gt; with GeoServer..<br>
<br>
</div>Try <a href="http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&amp;Format=image/png&amp;request=GetMap&amp;width=550&amp;height=250&amp;srs=EPSG:4326&amp;SLD_BODY=%3CStyledLayerDescriptor%20version%3D%221.0.0%22%3E%3CUserLayer%3E%3CName%3Etopp:states%3C/Name%3E%3CUserStyle%3E%3CName%3EUserSelection%3C/Name%3E%3CFeatureTypeStyle%3E%3CRule%3E%3CFilter%20xmlns:gml%3D%22http://www.opengis.net/gml%22%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3ESTATE_NAME%3C/PropertyName%3E%3CLiteral%3EIllinois%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E%3CPolygonSymbolizer%3E%3CFill%3E%3CCssParameter%20name%3D%22fill%22%3E%23FF0000%3C/CssParameter%3E%3C/Fill%3E%3C/PolygonSymbolizer%3E%3C/Rule%3E%3CRule%3E%3CLineSymbolizer%3E%3CStroke/%3E%3C/LineSymbolizer%3E%3C/Rule%3E%3C/FeatureTypeStyle%3E%3C/UserStyle%3E%3C/UserLayer%3E%3C/StyledLayerDescriptor%3E" target="_blank">http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&amp;Format=image/png&amp;request=GetMap&amp;width=550&amp;height=250&amp;srs=EPSG:4326&amp;SLD_BODY=%3CStyledLayerDescriptor%20version%3D%221.0.0%22%3E%3CUserLayer%3E%3CName%3Etopp:states%3C/Name%3E%3CUserStyle%3E%3CName%3EUserSelection%3C/Name%3E%3CFeatureTypeStyle%3E%3CRule%3E%3CFilter%20xmlns:gml%3D%22http://www.opengis.net/gml%22%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3ESTATE_NAME%3C/PropertyName%3E%3CLiteral%3EIllinois%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E%3CPolygonSymbolizer%3E%3CFill%3E%3CCssParameter%20name%3D%22fill%22%3E%23FF0000%3C/CssParameter%3E%3C/Fill%3E%3C/PolygonSymbolizer%3E%3C/Rule%3E%3CRule%3E%3CLineSymbolizer%3E%3CStroke/%3E%3C/LineSymbolizer%3E%3C/Rule%3E%3C/FeatureTypeStyle%3E%3C/UserStyle%3E%3C/UserLayer%3E%3C/StyledLayerDescriptor%3E</a><br>


(from the demo requests page in geoserver 1.7.5) - works for all WMS versions.<br>
<div class="im">&gt;<br>
&gt; 3- WFS and treat SLD exhibition on the client<br>
&gt; This is a double edged solution. The good thing about WFS is that I have<br>
&gt; many more possibilities of control over the map. I can use SelectFeature<br>
&gt; control, instead of hacking some code to implement it over WMS. But it also<br>
&gt; gives me many other options I don&#39;t need such as the vector data. I only<br>
&gt; need the images.<br>
<br>
</div>Not sure I understand your plan here but sounds like overkill - and<br>
may kill off the browser if you have too much data.<br>
<br>
Ian<br>
<font color="#888888">--<br>
Ian Turton<br>
<br>
Sent from Houserville, Pennsylvania, United States<br>
</font></blockquote></div><br>