70 likes | 327 Views
UK Spatial Data into SQL Server 2008/r2 + Reporting Services Daniel Gaze & Neal Atkinson The Co-operative Group neal.atkinson@co-operative.coop daniel.gaze@coop.co.uk. Want to display UK based GeoSpatial Data in Reporting services 3questions: Where is the data How do I get it into SQL Server
E N D
UK Spatial Data into SQL Server 2008/r2 + Reporting ServicesDaniel Gaze & Neal AtkinsonThe Co-operative Groupneal.atkinson@co-operative.coopdaniel.gaze@coop.co.uk
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 https://www.ordnancesurvey.co.uk/opendatadownload/products.html
Importing data into SQL • OS Code Point Data Importer – Visual Studio • ConvertsPostcode data (geometry) intoLat/Long coordinates (geography) • This allowsyou to display postcodes on bing/googlemapshttps://github.com/AdaTheDev/Ordnance-Survey-Code-Point-Data-Importer • Shape2SQL • Will import shapefilesinto SQL http://www.sharpgis.net/page/SQL-Server-2008-Spatial-Tools.aspx
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 • http://sqlblogcasts.com/blogs/martinbell/