<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019"></HEAD>
<BODY>
<DIV><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=891561800-02042011>Hi there,</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=891561800-02042011></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=891561800-02042011>a</SPAN> client wants a query builder I made in
MapBender<SPAN class=891561800-02042011> + ExtJS </SPAN> extended in
such a way that it can look at 2 columns in <SPAN
class=891561800-02042011>the PostGIS </SPAN>database, then the <SPAN
class=891561800-02042011>G</SPAN>UI lets the user pick an operation on the two
columns - let's say population2010 - population2000<SPAN
class=891561800-02042011> </SPAN>= mapresult.</FONT></FONT></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial>My app will then suggest class
breaks for the mapresult<SPAN class=891561800-02042011> (generated via AJAX call
and server side PHP + sql + whatever, pgsql function)</SPAN>, the user
picks one of several options<SPAN class=891561800-02042011> in the ExtJS User
interface</SPAN>, and that will be sent to MapServer to create layers from the
query builder input... For example colors and all can be chosen from several
options or one could say do 4 classes or do 6 or whatever .</FONT></DIV>
<DIV><SPAN class=891561800-02042011><FONT color=#000080 size=2 face=Arial>A
friend suggested that this would be most efficiently done using SLDs... I was
wondering since SLDs are integrated since MapBender v 2.5 what the status of
that is and if I could generate an SLD xml on the fly via PHP or such and if
MapBender will be able to accept that for generating a dynamic legend and layer
for the user.</FONT></SPAN></DIV>
<DIV><SPAN class=891561800-02042011><FONT color=#000080 size=2 face=Arial>I
guess I could have a placeholder/template layer in my MapServer map file that
does not shown up usually , but can be switched on when a query is run, to use
as the basis which will be based on PostGIS data statement with replacement
variable ...which then receives the SLD for rendering purposes
...</FONT></SPAN></DIV>
<DIV><SPAN class=891561800-02042011><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=891561800-02042011><FONT color=#000080 size=2 face=Arial>Any
suggestions if that could easily work and any roadblocks to expect
?</FONT></SPAN></DIV>
<DIV><SPAN class=891561800-02042011><FONT color=#000080 size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=891561800-02042011><FONT color=#000080 size=2
face=Arial>Cheers</FONT></SPAN></DIV>
<DIV><SPAN class=891561800-02042011><FONT color=#000080 size=2
face=Arial>Karsten</FONT></SPAN></DIV>
<DIV><FONT color=#000080 size=2 face=Arial></FONT> </DIV>
<P class=MsoNormal align=left><FONT size=2><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 11pt">Karsten
Vennemann<BR></SPAN></FONT><FONT size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">Principal<BR><BR></SPAN></FONT><FONT
color=#003264><FONT size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">Terra GIS
LTD<BR></SPAN></FONT><?xml:namespace prefix = st1 ns =
"urn:schemas-microsoft-com:office:smarttags" /><st1:Street
w:st="on"><st1:address w:st="on"><FONT size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">2119 Boyer Ave
E</SPAN></FONT></st1:address></st1:Street></FONT><FONT color=#003264
size=1><SPAN style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">
<BR></SPAN></FONT><st1:place w:st="on"><st1:City w:st="on"><FONT color=#003264
size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">Seattle</SPAN></FONT></st1:City><FONT
size=1><SPAN style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt"><FONT
color=#003264>, <st1:State w:st="on">WA</st1:State>
</FONT><st1:PostalCode w:st="on"><FONT
color=#003264>98112<BR></FONT></st1:PostalCode></SPAN></FONT></st1:place><st1:country-region
w:st="on"><st1:place w:st="on"><FONT color=#003264 size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">USA</SPAN></FONT></st1:place></st1:country-region><FONT
color=#003264 size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt"> <BR><A
href="http://www.terragis.net/">www.terragis.net</A></SPAN></FONT></P>
<P class=MsoNormal align=left><FONT color=#003264><FONT size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">Phone 206 905
1711<BR></SPAN></FONT><FONT size=1><SPAN
style="FONT-FAMILY: Verdana; FONT-SIZE: 9pt">Fax 925 905
1711</SPAN></FONT></FONT></P>
<DIV> </DIV></BODY></HTML>