Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link in SLD doc returns an exception #782

Open
brentfraser opened this issue Jan 1, 2023 · 1 comment
Open

Link in SLD doc returns an exception #782

brentfraser opened this issue Jan 1, 2023 · 1 comment

Comments

@brentfraser
Copy link

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

The link looks good but it returns a 404 status, likely due to a missing sld_line_simple.xml file.

@geographika
Copy link
Member

For info this is still the case, with the following exception returned:

<?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 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
</ServiceException>
</ServiceExceptionReport>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants