[MapServer-users] Link in SLD doc returns an exception

Jeff McKenna jmckenna at gatewaygeomatics.com
Sun Jan 1 05:43:19 PST 2023


Happy new year Brent,

I have been updating the demo server with big changes, so your timing is 
good: if you don't mind, it helps me if you file this as a ticket in the 
documentation repository (I'll then tag it there as a demo server 
ticket) : https://github.com/MapServer/MapServer-documentation

Thanks,

-jeff


-- 
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/




On 2022-12-30 5:34 p.m., Brent Fraser wrote:
> 
> Hi All,
> 
> I'm experimenting with SLD and reading the MapServer doc.  On the SLD 
> page under Server Side Support, it says "Test the remote SLD request" 
> with a link to
> 
> https://demo.mapserver.org/cgi-bin/wms?SERVICE=wms&VERSION=1.1.1&REQUEST=GetMap&LAYERS=country_bounds&FORMAT=png&WIDTH=400&HEIGHT=300&SRS=EPSG:4326&STYLES=&BBOX=-180.0,-90.0,180.0,90.0&TRANSPARENT=TRUE&SLD=https://demo.mapserver.org/ogc-demos/map/sld/sld_line_simple.xml <https://demo.mapserver.org/cgi-bin/wms?SERVICE=wms&VERSION=1.1.1&REQUEST=GetMap&LAYERS=country_bounds&FORMAT=png&WIDTH=400&HEIGHT=300&SRS=EPSG:4326&STYLES=&BBOX=-180.0,-90.0,180.0,90.0&TRANSPARENT=TRUE&SLD=https://demo.mapserver.org/ogc-demos/map/sld/sld_line_simple.xml>
> 
> The link looks good but it returns an exception:
> 
> <?xml version='1.0' encoding="UTF-8" standalone="no" ?>
> <!DOCTYPE ServiceExceptionReport SYSTEM 
> "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
> <ServiceExceptionReport version="1.1.1">
> <ServiceException>
> msSLDApplySLDURL: WMS server error. Could not open SLD 
> https://demo.mapserver.org/ogc-demos/map/sld/sld_line_simple.xml 
> <https://demo.mapserver.org/ogc-demos/map/sld/sld_line_simple.xml> and 
> save it in a temporary file. Please make sure that the sld url is valid 
> and that the temporary path is set. The temporary path can be defined 
> for example by setting TEMPPATH in the map file. Please check the 
> MapServer documentation on temporary path settings.
> msHTTPExecuteRequests(): HTTP request error. HTTP GET request failed 
> with status 404 () for 
> https://demo.mapserver.org/ogc-demos/map/sld/sld_line_simple.xml 
> <https://demo.mapserver.org/ogc-demos/map/sld/sld_line_simple.xml>
> </ServiceException>
> </ServiceExceptionReport>
> 
> 
> Is the demo in a repo somewhere or does someone have some insight?  Thanks!
> 
> Best regards,
> Brent Fraser
> 
> 
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users





More information about the MapServer-users mailing list