Bug 798 - [Chameleon-Widget]UploadSLD widget is not applying local SLD
: [Chameleon-Widget]UploadSLD widget is not applying local SLD
Status: RESOLVED INVALID
: Chameleon
Widget
: 1.99
: PC Linux
: P2 normal
: FUTURE
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-10-29 14:16 by
Modified: 2006-04-11 16:52 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-10-29 14:16:02
I log this bug only to take a record.  Right now I tried to load a local SLD
without success.  Chris maybe you could try that.

Steps to reproduce:

1.  Load "sample_ogc.phtml"
2.  Click "OpenSLD" button
3.  Click "Browse" button
4.  Select "sld_line_width.xml" local SLD 
5.  Click "Apply" button
6.  No SLD is applied to  "WorldGen_Outline" layer

No error message at all.  Maybe I'm doing something wrong but could not see what
it is right now.

Similar results with URL:

Instead of loading the SLD file directly, load the SLD by specifying the URL:
http://127.0.0.1/nsavard/sld/sld_line_width.xml
http://localhost/nsavard/sld/sld_line_width.xml
http://192.168.4.100/nsavard/sld/sld_line_width.xml


I tested the SLD directly with MS in a browser and it works as expected:

http://127.0.0.1/cgi-bin/mapserv_42?map=/path/to/chameleon_beta/
samples/map/world_wms.map&service=wms&version=1.1.1&layers=l2:WorldGen_Outline
&request=getmap&SLD=http://192.168.4.100/path/to/sld/sld_line_width.xml


Fedora Core 2
Mozilla 1.6
Chameleon beta 3 20041022
----------------------
SLD:

<StyledLayerDescriptor version="1.0.0">
<NamedLayer>
<Name>WorldGen_Outline</Name>
<UserStyle>
<Title>xxx</Title>
<FeatureTypeStyle>
<Rule>
<LineSymbolizer>
<Geometry>
<PropertyName>center-line</PropertyName>
</Geometry>
<Stroke>
<CssParameter name="stroke">#0000ff</CssParameter>
<CssParameter name="stroke-width">5.0</CssParameter>
</Stroke>
</LineSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
------- Comment #1 From 2004-10-29 21:25:27 -------
Changed target to 1.99 RC 1.
------- Comment #2 From 2006-04-11 16:52:31 -------
It works now with beta 2, Chameleon 2.4, ms4w 1.5.