[Chameleon-dev] [Bug 798] New: [Chameleon-Widget]UploadSLD widget is not applying local SLD

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Fri Oct 29 14:16:03 EDT 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=798

           Summary: [Chameleon-Widget]UploadSLD widget is not applying local
                    SLD
           Product: Chameleon
           Version: 1.99
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: nsavard at dmsolutions.ca


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>



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list