I have two columns Northing and Easting which is in NZTM 2000 format. From these two columns I calculate my Geometry column using geometry:: Point(Easting,Northing,0). Next step in to create a bounding box to create Spatial Index on my geometry column. While creating spatial Index SQL Server 2008 R2 is asking me for Bound Box i.e. X Min ,Y Min, X Max, Y Max.
So How I need to calculate my bounding box to create spatial index on my geometry column. Can i find the min(Northing) = X Min, min(Easting), max(Northing), Max(Easting). Can some one help me if I am doing correct calculation to create bounding box for my spatial index?
The reason I want to create index is because I want to use STContains() to check where my point exists in that region or not.
Cheers,