Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6346897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:06:22+00:00 2026-05-24T21:06:22+00:00

I have a spatial index using the geography data type in SQL Server defined

  • 0

I have a spatial index using the geography data type in SQL Server defined as the following.

CREATE SPATIAL INDEX [IX_CI_Geocode] ON [dbo].[CustomerInformation] 
(
    [Geocode]
)USING  GEOGRAPHY_GRID 
WITH (
GRIDS =(LEVEL_1 = HIGH,LEVEL_2 = HIGH,LEVEL_3 = HIGH,LEVEL_4 = HIGH), 
CELLS_PER_OBJECT = 128, PAD_INDEX  = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
GO

What is the area under the deepest cell? Basically, at Level_4, what would the width and height be of the cell in feet or meters?

For instance, a Level_1 cell is going to cover half of the United States. Level 2 cells are broken down into smaller cells. What size are the final cells?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T21:06:23+00:00Added an answer on May 24, 2026 at 9:06 pm

    I just figured this out. Use the following query pointing at a spatial index on a table.

    declare @qs geography;
    SET @qs =geography::Point(39.1877151742333, -90.3541887940784, 4326).STBuffer(5000);
    exec sp_help_spatial_geography_index ‘TableName’, ‘IndexName’, 1, @qs;

    Look at the line “Area_Of_Cell_In_LevelX” to see what the area is of the cell at each of the 4 levels.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently been researching the SQL Server spatial data types and have decided
I have (what I think) is a simple SQL Server spatial query: Grab all
I'm having some fun trying to pick a decent SQL Server 2008 spatial index
I have records in a table representing bus routes, with SQL Server spatial columns
currently we using MySQL. We have table with spatial index (so no InnoDB) and
Using SQL Server 2008 (R2). I have two tables in different databases (with same
I have the following XML (.hbm): <property name=Geometry column=the_geom> <type name=NHibernate.Spatial.Type.GeometryType,NHibernate.Spatial> <param name=subtype>MULTIPOLYGON</param> <param
I have spatial data - (x, y) points on a plane - which I'm
Have you ever seen any of there error messages? -- SQL Server 2000 Could
I'm seeing some strange performance issues on SQL Server 2008 with a nullable geography

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.