Update .MAP file for Councillor Ward Layer
In order to display the Councillor Ward data in My House you must first add a LAYER to your MapServer .map file before creating a Classic Layer in the My House Map Source.Â
You may copy the following Snippet into your .MAP file using the Map Editor in Studio.
Snippet
LAYER NAME "councillor_ward" INCLUDE "datashare.map" DATA "wkb_geometry from (select ogc_fid, wkb_geometry, html, html as html_raw from public.councillor_ward) as foo using SRID=27700 using unique ogc_fid" METADATA "qstring_validation_pattern" "." END STATUS OFF TYPE POLYGON UNITS METERS CLASS STYLE OUTLINECOLOR 127 0 0 OPACITY 75 WIDTH 2 END END END