Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-users] Re: [Geoserver-users] uDig SLD in Geoserver

Thanks! 

Now I see -  the problem is that when I add the WFS to uDig from Geoserver the name is something like layername_Type or what is in the FeatureType Editor Title column - so by default different from the feature name how it understand geoserver and therefor it defines the SLD in different way. The uDig Theme Editor uses the Feature wildcard so it works.

So it seem to me as uDig issues:
1) maybe wrong Layer name from WFS  or at least inconsistent with Geoserver.
2) Just to be sure - use 'Feature' as feature name for uDig Simple SLD editor 

Thanks for explanation.

Bests,
Jan.
______________________________________________________________
> Od: aaime@xxxxxxxxxxxxx
> Komu: Jan Jezek <h.jezek@xxxxxxxxxx>
> CC: udig-users@xxxxxxxxxxxxxxxxxxxxx,  geoserver-users@xxxxxxxxxxxxxxxxxxxxx
> Datum: 11.06.2008 15:53
> Předmět: Re: [Geoserver-users] uDig SLD in Geoserver
>
>Jan Jezek ha scritto:
>> Hi all,
>> > Sorry for cross-posting - I've played today with uDig and Geoserver
>> SLD. I was trying to define simple SLD in uDig, upload it in
>> Geoserver and use it there. When using uDig &#8220;Theme&#8221; SLD
>> it works but I've realized that when I define the
>> &#8220;Simple&#8221; SLD in uDig the Geoserver WMS won't render
>> anything. I thought that I've used to do it this way some time before
>> and all worked so now I'm confused where is the mistake...
>> > I've tried uDigRC12 and RC15 and geoserver 1.6.4 and 1.6.2. When I
>> define SLD in geoserver GUI editor or using &#8220;Theme&#8221; in
>> uDig all seems to work. The simple SLD that doesn't work for me is
>> attached - it is for point layer and it should draw simple big green
>> squares.
>
>I haven't tried, but this:
>
><sld:FeatureTypeName>New Feature Type</sld:FeatureTypeName>
>
>makes me thing that SLD will work only against a feature type with
>exactly that name. Change that to "Feature", which is the wildcard
>type working against all feature types and see if it works.
>
>Cheers
>Andrea
>



Back to the top