Yingqi Tang wrote:
> "Style" is just an Interface defined by geoapi, Where am I gonna
> create that from?
Darn did I get that wrong :-( Oh I get it NamedStyle is probably a 
subclass and this would be used to choose between existing styles.  
Perhaps we need to wait for Richard to return from holidays to answer 
this question.

Jody

>
> Is there any way to link org.geotools.styling.Style (which represents
> SLD) to geotools WMS client?
>
> On 1/3/07, Jody Garnett <[EMAIL PROTECTED]> wrote:
>> You can add a Style (the geotools object that represents an SLD) as part
>> of your GetMapRequest object, currently this only works when HTTP Get is
>> used as the protocol (Richard has not done HTTP Post GetMap requests 
>> yet).
>>
>> Here is the method you need:
>> -
>> http://javadoc.geotools.fr/2.2/org/geotools/data/wms/request/AbstractGetMapRequest.html#addLayer(org.geotools.data.ows.Layer,%20org.opengis.layer.Style)
>>  
>>
>>
>> Cheers,
>> Jody
>> > ---------- Forwarded message ----------
>> > From: Yingqi Tang <[EMAIL PROTECTED]>
>> > Date: Dec 27, 2006 4:33 PM
>> > Subject: How to combine gt2 SLD with gt2 WMS client
>> > To: [email protected]
>> >
>> >
>> > Does anyone have any experience about using geotools functionality
>> > with geotools WMS client? Basically how can I apply a SLD I created
>> > using geotools on a WMS layer?
>> >
>> > Thanks,
>> >
>> > 
>> ------------------------------------------------------------------------- 
>>
>> > Take Surveys. Earn Cash. Influence the Future of IT
>> > Join SourceForge.net's Techsay panel and you'll get the chance to 
>> share your
>> > opinions on IT & business topics through brief surveys - and earn cash
>> > 
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV 
>>
>> > _______________________________________________
>> > Geotools-devel mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/geotools-devel
>> >
>>
>>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to