/
Update .MAP file for Councillor Ward Layer

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

Related content

Configure My House Councillor Ward Layer
Configure My House Councillor Ward Layer
More like this
Configure Councillors & MPs Layers
Configure Councillors & MPs Layers
More like this
Update .MAP file for Councillor & MP Layers
Update .MAP file for Councillor & MP Layers
More like this
My House Configuration
My House Configuration
More like this
Add UPRN based information
Add UPRN based information
More like this
Alter the Mini Map displayed in My House
Alter the Mini Map displayed in My House
More like this