Part of the WMS spec is you can just use the SLD parameter.  Instead of
saying style=StyleName you say SLD=http://link.to/style/name.  See
http://old.nabble.com/Applying-a-remote-SLD-to-a-Openlayer-GetMap-request-td15767436.htmlfor
some discussion of it.  It's specified in 1.0 of the SLD spec, see
http://www.opengeospatial.org/standards/sld

If you're wanting to do more there are a couple things that give you even
more power:

http://docs.geoserver.org/2.0.x/en/user/styling/sld-extensions/substitution.html
and
http://geoserver.org/display/GEOS/GSIP+48+-+Parametric+SQL+views+in+GeoServer



On Tue, Oct 5, 2010 at 7:55 PM, Alexander Chilingaryan
<al.chi...@gmail.com>wrote:

> Hello All!
>
> We've just started to use GeoServer 2.1-beta1 in our project.
> We're generating layers from SQL. Geometry parameters are also generated
> with SQL dynamicaly.
> The map should be styled according to those parameters.
>
> The problem is that we unfortunately can't use static SLD on file system
> with all tags PropertyIsBetween etc
> because parameters always has different value range.
>
> But I can't understand how to apply dynamically generated (via script URL)
> SLD to the map.
>
> Can you just give me any direction of thinking please or point to the
> appropriate documentation?
>
> Thank you!
>
> With Best Regards
> Alex Chilingaryan
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to