Configure NHS Choices Layers
Once you have downloaded the EduBase data that you require and split the data into individual tables for each type of school you will be able to add your EduBase Layer Group and Layers via iShare Studio.
- Create the "NHS Choices"Â Layer Group
- Create the individual Layers for each of the NHS Choices Layers you wish to display. Right click on the NHS Choices Layer Group and select Add Layer.
Configuring the Layer Details
Display name
This will be displayed on the layers panel within the web page e.g. Doctors.
Layer name
This will be completed automatically as you enter the Display name.
Info Click
This needs to be 'ticked' to enable the Information 'pop up' window to be displayed.
Can Be Activated
This needs to be 'ticked' (this allows the user to 'toggle' the layer on/off ).
Connection
Select your Data Share database from the list.
Geometry table
Select the table from the list. For this layer we will pick "nhs_choices"."doctors" as this holds the data for Doctors Surgeries.
Geometry type
This should be selected automatically but if not select Point.
Unique field
This should be ogc_fid.
Configuring Search and Show My
Find Nearest
Select this radio button as this will search for the nearest results/ services to the user's entered address.
Distance
Enter the distance, in metres, to be searched from the chosen location e.g. 2000 (this will return the nearest results within 2000 meters).
Results
Enter the number of nearest results you wish to be highlighted e.g. 2 (in this case the nearest 2 results will be highlighted, although all results will be returned).
Field search
If you select a field here this will be used in the Search For in iShare Maps and Find Features in iShare GIS. We have have selected the name field in our example.
Configuring Fields and Field Settings
Available Fields
As a minimum the name field should be selected, so the Information pop up window will at least be populated with the Surgery name.Â
Field Settings
To change the field settings first select the field from this list e.g. name.
Display field name
Here we have left this 'un-ticked' and this will stop the name appearing in the browser pop up window.
Link this field
This should be 'ticked' and the link field link should be selected from the drop down menu. This will create a link within the pop up window, e.g. for the individual Surgery.
Styling your Layer
Click on the Modify Style button to display the SLD Style Editor.
Here we have just added a Legend Title, picked a Point symbol to use from the dropdown selection and changed the Size.
Click OK
Configuring Metadata
If you wish to add Metadata for your Layer you can click the Metadata button. This will display the Layer Metadata Editor.
Add Layer keywords and an abstract and click OK. The Metadata can be displayed in both iShare Maps and iShare GIS and in iShare GIS it is also searchable.
Save your changes.