Professional Documents
Culture Documents
create points
Choose the table you wish to create map point locations for. Set projections to
British - as previously described.
page 48
Now, Go into layer control, and click on the add a layer button option. Choose the
table you want to add to the map ie your point map table.
Back in the layer control menu box, highlight your new table and click on display.
Then click on style override. Click on the icon and colour boxes to change the look
of your map points.
Choose a symbol style. Click OK through menu options. Your map point locations
will now appear on map.
page 49
page 50
Link the two files using postcode as the link (drag the mouse pointer between the two
postcode columns.
You have a choice of join properties, which dictate which records are included on
your final table. For example, if you choose the option 'include all records where
fields are equal', you will loose any data records which cannot match a postcode.
The resulting new table (in tables section) should include your original patient data
set as well as your ward code and grid reference.
This file may now be exported or copied into excel and analysed by ward e.g. as an
aggregated count, as an age standardised ratio and so on. Alternatively, it can be or
imported into MapInfo and analysed either as aggregated ward codes or as individual
patient grid references.
page 51
Using 'gridlink', x and y co-ordinates given are six digits long, and will import
immediately into MapInfo. If you use a PAF postcoder, multiply by 10 in either
excel or MapInfo, so that the GIS understands the codes. The x and y co-ordinate
columns need to be integers for MapInfo to recognise them.
Input a postcode, and convert the given data to a grid reference (you also get a map !)
page 52
page 53
T.Buffering.
Buffering is a spatial analysis technique
used to select a geographical area for
investigation based around a particular
site or sites of interest.
The analysis of activity within a set
geographical buffer zone, is a feature of a
GIS, which cannot be undertaken within a
traditional relational database.
To create a buffer around an object (point, line or area), undertake the following
procedure.
1. Using layer control, make the top screen cosmetic layer editable by ticking the
box directly beneath the pencil symbol.
2. Highlight the point, line or area you wish to buffer around, by first clicking on the
arrow button, and then on the map object (in this example the location of a
hospital).
page 54
6. This buffer can be saved as a new digitised boundary within MapInfo, using the
main menu option map save cosmetic objects as a new table.
page 55
page 56
The select button is the default tool used within MapInfo, and has been routinely used
throughout this course. Using the arrow select button to click on any point, area or
line on a map will select that object. However, the chosen layer must be selectable
(click on relevant row within layer control), and the relative sandwiching of layers
within layer control may affect selectability.
Data about a selected item may be viewed using the
information button.
page 57
page 58
page 59
V.SQL analysis
Database structured query language (SQL), and the range of mathematical options
available using 'boolean logic' (for example, using and - or logical commands),
present a separate training course in themselves.
Typically, within NHS Health Authorities and PCTs, the majority of GIS spatial
analysis is carried out within Excel, Access and Oracle before analysed data is
imported into a GIS package itself.
However, MapInfo has its own structured query language command menus, through
which detailed analysis of data can be undertaken within the GIS package.
Initial examples follows. Experiment yourselves
with further examples.
page 60
SQL select
The SQL select menu option can be used to select a subset
of data from a column within a particular MapInfo table.
In this respect, SQL select is identical to analysis within
other database packages such as Oracle and Access.
In the following example, SQL select has been used to
select data for condition A, where wards within a HA have
SMRs of above 125 for condition A Results are shown
in a new table browser, which can be saved as a new
MapInfo table, or exported.
Geographical joins
GIS systems such as MapInfo have an extremely powerful analytical SQL capability,
which is similar to that of point in polygon analysis.
Different GIS boundary maps can be spatially linked based on their spatial location.
There are 5 geographic operators which can be used to link map objects. For
example :
page 61
In the following example, an SQL statement has been used to select wards whose
geographical centre lies within a two mile buffer zone of a hospital site.
For example, where only aggregated population data is available for a significantly
built up urban area, it could be justified that the entire ward population can be
considered for analysis where the majority of a ward lies within a defined buffer zone.
Whilst the above SQL example uses area map data, it could equally be employed to
select patients who live within a boundary area, or areas which have patients.
Thus, whilst SQL is typically used to create a subset of a dataset, it may equally well
be applied to undertake complex geographical queries.
Find tool
The query find tool can be used to find a particular named geographical site, for
example a named ward. Find places a symbol within the searched for geographical
area, and redisplays the map with the attached symbol.
page 62