Update .MAP file for NHS Classic Layers
If you wish to use the old Classic Layers then, for each NHS layer you wish to display you will need to add a LAYER entry into the .MAP file.
You may copy the following Snippets into your .MAP file using the Map Editor in Studio.
Description | Snippet | Thumb |
|---|---|---|
Dentists |
LAYER
NAME nhsdentists
STATUS OFF
TYPE POINT
INCLUDE "datashare.inc"
DATA "wkb_geometry from
(select * from nhs_dse_gis.dentists) as foo
using unique ogc_fid using srid=27700"
TOLERANCEUNITS METERS
CLASS
NAME "supplied by nhs england"
STYLE
SYMBOL "dentists"
END
END
END
| |
Doctors |
LAYER
NAME nhsdoctors
STATUS OFF
TYPE POINT
INCLUDE "datashare.inc"
DATA "wkb_geometry from
(select * from nhs_dse_gis.doctors) as foo
using unique ogc_fid using srid=27700"
TOLERANCEUNITS METERS
CLASS
NAME "supplied by nhs england"
STYLE
SYMBOL "doctors"
END
END
END
| |
Hospitals |
LAYER
NAME nhshospitals
STATUS OFF
TYPE POINT
INCLUDE "datashare.inc"
DATA "wkb_geometry from
(select * from nhs_dse_gis.hospitals) as foo
using unique ogc_fid using srid=27700"
TOLERANCEUNITS METERS
CLASS
NAME "supplied by nhs england"
STYLE
SYMBOL "hospitals"
END
END
END
| |
Opticians |
LAYER
NAME nhsopticians
STATUS OFF
TYPE POINT
INCLUDE "datashare.inc"
DATA "wkb_geometry from
(select * from nhs_dse_gis.opticians) as foo
using unique ogc_fid using srid=27700"
TOLERANCEUNITS METERS
CLASS
NAME "supplied by nhs england"
STYLE
SYMBOL "opticians"
END
END
END
| |
Pharmacies |
LAYER
NAME nhspharmacies
STATUS OFF
TYPE POINT
INCLUDE "datashare.inc"
DATA "wkb_geometry from
(select * from nhs_dse_gis.pharmacies) as foo
using unique ogc_fid using srid=27700"
TOLERANCEUNITS METERS
CLASS
NAME "supplied by nhs england"
STYLE
SYMBOL "pharmacies"
END
END
END
|