I have been unable to get my WMS capable MapServer to recognize an sld passed in through the url (SLD=http:...)
<br>
<br>The sld is readable, I have tested it on an example from the SLD
documentation - i.e. written my own SLD and pointed to it from the
example, works perfectly.
<br>
<br>I am totally out of ideas as to why I cannot get it to show up on my own server.
<br>
<br>I'll give as much information as i can, any help would be extremely appreciated.
<br>
<br>map file:
<br>
<br>MAP
<br> NAME "All"
<br> STATUS on
<br> SIZE 800 600
<br> EXTENT -2200000 -712631 3072800 3840000
<br> UNITS METERS
<br> SHAPEPATH "/var/www/html/mapserver<div id="mb_0">/mapdata/"
<br> IMAGECOLOR 220 220 220
<br> FONTSET "/var/www/html/mapserver/mapdata/"
<br>
<br>WEB
<br> IMAGEPATH "/var/www/html/tmp/"
<br> IMAGEURL "/tmp/"
<br> METADATA
<br> "wms_title" "All"
<br> "wms_onlineresource" "<a href="http://niceguy.wustl.edu/cgi-bin/mapserv.exe" rel="nofollow" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://niceguy.wustl.edu/cgi-bin/mapserv.exe
</a>?"
<br> "wms_srs" "epsg:4326"
<br> END
<br>END
<br>
<br>PROJECTION
<br> "init=epsg:4326"
<br>END
<br>LAYER
<br> NAME NAmer_bdr
<br> METADATA
<br> "wms_title" "NAmer_bdr"
<br> END
<br> TYPE LINE
<br> STATUS on
<br> DATA bound_p
<br> PROJECTION
<br> "init=epsg:4326"
<br> END
<br> CLASS
<br> STYLE
<br> OUTLINECOLOR 0 0 0
<br> END
<br> END
<br>END
<br>
<br>
<br>SLD File:
<br><StyledLayerDescriptor version="1.0.0">
<br> <NamedLayer>
<br> <Name>NAmer_bdr</Name>
<br> <UserStyle>
<br> <Title>NAmer_bdr</Title>
<br> <FeatureTypeStyle>
<br> <Rule>
<br> <LineSymbolizer>
<br> <Geometry>
<br> <PropertyName>center-line</PropertyName>
<br> </Geometry>
<br> <Stroke>
<br> <CssParameter name="stroke">#00FF00</CssParameter>
<br> </Stroke>
<br> </LineSymbolizer>
<br> </Rule>
<br> </FeatureTypeStyle>
<br> </UserStyle>
<br> </NamedLayer>
<br></StyledLayerDescriptor>
<br>
<br>
<br>and just in case:
<br>[root@niceguy mapserver-4.10.0]# ./mapserv -v<br>MapServer version
4.10.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT INPUT=EPPL7 INPUT=GDAL INPUT=SHAPEFILE
<br><br>Please, please any help.
<br>Thanks!
<br>-Ed
</div>