[Qgis-developer] QWC Highlight feature not working from urlrewrite search
Giuseppe De Marco
demarco.giuseppe at gmail.com
Thu Jun 4 08:16:24 PDT 2015
hello,
I am trying to obtain highlighting by urlrewrite search
and configured GlobalOptions.js in url rewrite search part as follows:
highlightFeature: true,
highlightLabel: '<my column>',
//selectionLayer: '<mylayer>',
selectionZoom: 0,
doZoomToExtent: true
wms request turns out as follows:
http://qgis-web-client.localhost/wms/prg?LAYERS=terreni%2Cfabbricati%2CPIANI%20PARTICOLAREGGIATI%2CCONFINE%2C390070%2C390110%2C390120&OPACITIES=255,255,255,255,255,255,255&FORMAT=image%2Fpng&TRANSPARENT=FALSE&DPI=96&VERSION=1.3.0&EXCEPTIONS=INIMAGE&SERVICE=WMS&REQUEST=GetMap&STYLES=&CRS=EPSG%3A23033&HIGHLIGHT_GEOM=MULTIPOLYGON(((382338.19%204615777.86%2C382339.09%204615777.84%2C382347.99%204615777.52%2C382353.89%204615742.68%2C382359.55%204615709.82%2C382355.4%204615709.14%2C382349.86%204615708.39%2C382338.19%204615777.86)))&HIGHLIGHT_SYMBOL=%3CStyledLayerDescriptor%3E%3CUserStyle%3E%3CName%3EHighlight%3C%2FName%3E%3CFeatureTypeStyle%3E%3CRule%3E%3CName%3ESymbol%3C%2FName%3E%3CPolygonSymbolizer%3E%3CFill%3E%3CSvgParameter%20name%3D%22fill%22%3E%23FF0000%3C%2FSvgParameter%3E%3CSvgParameter%20name%3D%22fill-opacity%22%3E0.3%3C%2FSvgParameter%3E%3C%2FFill%3E%3CStroke%3E%3CSvgParameter%20name%3D%22stroke%22%3E%23FF0000%3C%2FSvgParameter%3E%3CSvgParameter%20name%3D%22stroke-width%22%3E2%3C%2FSvgParameter%3E%3C%2FStroke%3E%3C%2FPolygonSymbolizer%3E%3C%2FRule%3E%3C%2FFeatureTypeStyle%3E%3C%2FUserStyle%3E%3C%2FStyledLayerDescriptor%3E&HIGHLIGHT_LABELSTRING=235&HIGHLIGHT_LABELSIZE=12&HIGHLIGHT_LABELCOLOR=%23FF0000&HIGHLIGHT_LABELBUFFERCOLOR=%23FFFFFF&HIGHLIGHT_LABELBUFFERSIZE=1&BBOX=382226.38939542,4615708.39,382471.35060458,4615777.86&WIDTH=1079&HEIGHT=306
but image doesn't show the polygon highlighted...
any clue?
thank you
--
Dott. Agr. Giuseppe De Marco
RSPP settore ATECO 1
Cell./Mobile: +39 3935041115
Fax.: +39 07751850973
PEC: giuseppe.de_marco at epap.conafpec.it
More information about the Qgis-developer
mailing list