Alastair Aitchison

Alastair Aitchison is an independent developer, trainer, author and consultant specialising in spatial data reporting and analysis. His work has been used by the House of Lords, the police, political parties and various media agencies.

So you heard about the new spatial functionality in SQL Server 2008, rushed back to your database and added geography and geometry columns to all your tables, eager to create the next Google Earth-beating application. You then click the Execute button and wait. And wait. And wait some more. (You get the idea). Spatial data is a rather unique beast, and designing efficient spatial queries requires specific techniques when compared to other, more traditional types of data. In this session, we look at how the SQL Server database engine satisfies spatial queries, the theory behind spatial indexes, demonstrate the effects of altering the bounding box, use the spatial system DMVs and stored procedures to your spatial database
SQL Server spatial features have not yet made it into mainstream usage and many developers still ask "But *why* would I use them?". In this session, I hope to answer that question by replicating the functionality of Google Maps using only SQL Server.

Blog posts RSS

Creating a Unity game stretched over Two Monitors 15 May 2015
I guess many developers, like me, use a dual-output graphics card to make their Windows workspace extend over two monitors. I’ve been experimenting with whether it’s possible to make a Unity game that spanned two monitors (and, perhaps even more … Continue reading →

Creating “Hand-Drawn” Terrain in Unity 04 Apr 2015
I’ve had a few questions recently about how to apply my hand-drawn shader pack on Unity terrain. So here’s a guide (written using Unity 5, but the instructions should remain almost identical in Unity 4 save for a few menu … Continue reading →

Adding Shadows to a Unity Vertex/Fragment Shader in 7 Easy Steps 30 Dec 2014
This was a question asked on the Unity Forums recently, so I thought I’d just write up the answer here. Unity provides its own unique brand of “surface shaders”, which make dealing with lighting and shadows relatively simple. But there … Continue reading →

Using the Stencil Buffer in Unity Free 27 Dec 2014
News concerning the recent release of Unity 4.6 was largely dominated by its new UI system. However, closer inspection of the 4.6 release notes reveals some other interesting changes and improvements, including the announcement that “Stencil buffer is now available … Continue reading →

Optical / Spatial / Dimensional Trickery in Games 22 Nov 2014
I’m currently considering a game design that makes use of various optical and logical tricks to fool the player as to how objects in the game are spatially-related – and thought I’d start by doing a bit of a review … Continue reading →