@@ -1038,6 +1038,31 @@ def test_wms_getmap_highlight(self):
1038
1038
r , h = self ._result (self ._execute_request (qs ))
1039
1039
self ._img_diff_error (r , h , "WMS_GetMap_Highlight" )
1040
1040
1041
+ def test_wms_getmap_highlight_point (self ):
1042
+ # checks SLD stroke-width works for Points See issue 19795 comments
1043
+ qs = "?" + "&" .join (["%s=%s" % i for i in list ({
1044
+ "MAP" : urllib .parse .quote (self .projectPath ),
1045
+ "SERVICE" : "WMS" ,
1046
+ "VERSION" : "1.1.1" ,
1047
+ "REQUEST" : "GetMap" ,
1048
+ "LAYERS" : "Country_Labels" ,
1049
+ "HIGHLIGHT_GEOM" : "POINT(-6250000 8055310)" ,
1050
+ "HIGHLIGHT_SYMBOL" : "<?xml version=\" 1.0\" encoding=\" UTF-8\" ?><StyledLayerDescriptor xmlns=\" http://www.opengis.net/sld\" xmlns:ogc=\" http://www.opengis.net/ogc\" xmlns:xsi=\" http://www.w3.org/2001/XMLSchema-instance\" version=\" 1.1.0\" xmlns:xlink=\" http://www.w3.org/1999/xlink\" xsi:schemaLocation=\" http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd\" xmlns:se=\" http://www.opengis.net/se\" ><UserStyle><se:FeatureTypeStyle><se:Rule><se:PointSymbolizer><se:Graphic><se:Mark><se:WellKnownName>circle</se:WellKnownName><se:Stroke><se:SvgParameter name=\" stroke\" >%23ff0000</se:SvgParameter><se:SvgParameter name=\" stroke-opacity\" >1</se:SvgParameter><se:SvgParameter name=\" stroke-width\" >7.5</se:SvgParameter></se:Stroke><se:Fill><se:SvgParameter name=\" fill\" >%237bdcb5</se:SvgParameter><se:SvgParameter name=\" fill-opacity\" >1</se:SvgParameter></se:Fill></se:Mark><se:Size>28.4</se:Size></se:Graphic></se:PointSymbolizer></se:Rule></se:FeatureTypeStyle></UserStyle></StyledLayerDescriptor>" ,
1051
+ "HIGHLIGHT_LABELSTRING" : "Highlight Point :)" ,
1052
+ "HIGHLIGHT_LABELSIZE" : "16" ,
1053
+ "HIGHLIGHT_LABELCOLOR" : "%2300FF0000" ,
1054
+ "HIGHLIGHT_LABELBUFFERCOLOR" : "%232300FF00" ,
1055
+ "HIGHLIGHT_LABELBUFFERSIZE" : "1.2" ,
1056
+ "STYLES" : "" ,
1057
+ "FORMAT" : "image/png" ,
1058
+ "BBOX" : "-16817707,-4710778,5696513,14587125" ,
1059
+ "HEIGHT" : "500" ,
1060
+ "WIDTH" : "500" ,
1061
+ "CRS" : "EPSG:3857"
1062
+ }.items ())])
1063
+ r , h = self ._result (self ._execute_request (qs ))
1064
+ self ._img_diff_error (r , h , "WMS_GetMap_Highlight_Point" )
1065
+
1041
1066
def test_wms_getmap_annotations (self ):
1042
1067
qs = "?" + "&" .join (["%s=%s" % i for i in list ({
1043
1068
"MAP" : urllib .parse .quote (self .projectAnnotationPath ),
0 commit comments