[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-users] uDig SLD in Geoserver
|
Hi Jan,
Have you verified that the FeatureTypeName is correct. In some
versions of uDig (RC14+ I think) the FeatureTypeName is "Feature"
which should apply to all features. In this example I see that it is
"New Feature Type" so it will only work for layers called "New
Feature Type"
Other than that it looks fine. You say the RC15 also had this
problem? Ah I found a bug. I recently made it generic, but seems I
missed a spot. I will fix that up.
To fix your problem I think you just need to change the typename.
<sld:FeatureTypeName>New Feature Type</sld:FeatureTypeName>
to
<sld:FeatureTypeName>Feature</sld:FeatureTypeName>
Jesse
On 11-Jun-08, at 3:29 PM, Jan Jezek wrote:
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 “Theme” SLD
it works but I've realized that when I define the
“Simple” 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 “Theme” 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.
Thanks I advanced for any help.
Best regards,
Jan.
<greensquare.sld>_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users