Handle unordered indexes
Initial work at getting sql server to generate spatial types