Hi There,
I have an issue with using the parameter SLD in GetMap when using the WMS service via the geoserver's API. When passing a style into the parameters of a GET call to a WMS layer using the STYLES parameter I get the desired result. However, when I copy and paste the sld code into a file on GitHub and use the SLD parameter accordingly, everything is grey. Any idea? Geoserver version: 2.19.1 Using parameter styles: https://stage.xcube-geodb.brockmann-consult.de/geoserver/eea-urban-atlas/wms?service=WMS&version=1.1.0&request=GetMap&layers=eea-urban-atlas%3Aeea-urban-atlas_SI001L2_LJUBLJANA_UA2018&bbox=4638735.0%2C2524481.25%2C4704972.5%2C2594978.75&width=721&height=768&srs=EPSG%3A3035&format=image/png&SLD=https://github.com/dzelge/test-gha/blob/main/ljubilana.sld?raw=true Using parameter SLD: https://stage.xcube-geodb.brockmann-consult.de/geoserver/eea-urban-atlas/wms?service=WMS&version=1.1.0&request=GetMap&layers=eea-urban-atlas%3Aeea-urban-atlas_SI001L2_LJUBLJANA_UA2018&bbox=4638735.0%2C2524481.25%2C4704972.5%2C2594978.75&width=721&height=768&srs=EPSG%3A3035&styles=ljubilana&format=image/png Style: https://github.com/dzelge/test-gha/blob/main/ljubilana.sld?raw=true Thanks
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users