UK Spatial Data into SQL Server 2008/r2 + Reporting Services Daniel Gaze & Neal Atkinson The Co-operative Group
Want to display UK based GeoSpatial Data in Reporting services 3questions: Where is the data How do I get it into SQL Server How do I integrate it with my data
Finding the data Ordnance Survey Open Data Contains: – GB post code data – Boundary Line data - County / Admin – Street Level maps – Location Finding data – Free to use
Importing data into SQL OS Code Point Data Importer – Visual Studio – Converts Postcode data (geometry) into Lat/Long coordinates (geography) – This allows you to display postcodes on bing/google maps Importer Importer Shape2SQL – Will import shapefiles into SQL
Representing UK on a map Requires a Polygon dataset Can use OS Boundary data – Complex polygons – Splits country into mix of two/three tier divisions We’re using a simplified dataset showing traditional counties
Example Reports Heat Map Point data Bing Maps Overlay
Finally Limitations – free datasets, maybe not in the format you require, some missing data. Just a starting point for you to start using UK based spatial data in SQL Server. All information + links available on Martin Bell’s Blog –