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 8987345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:46:05+00:00 2026-06-15T21:46:05+00:00

I have two columns Northing and Easting which is in NZTM 2000 format. From

  • 0

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,

  • 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-06-15T21:46:07+00:00Added an answer on June 15, 2026 at 9:46 pm

    I haven’t used Eastings and Northings, but I believe the same logic should apply.

    I create a ZIP Code bounding box from a geometry using the following code:

    UPDATE BBox.dbo.ZIPs
    SET bbox = geom.STEnvelope()

    I also highly recommend getting the book that Tomas mentioned.

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

Sidebar

Related Questions

I have an Intraweb application which is using the TTIWDBAdvWebGrid component. Two columns of
I have two columns. Column E extends up to 99504 (values) and column I
I am trying to have the results from two columns in table1 subtracted from
I have a unbound DataGridView with two columns. First column is just string values.
I have created a grid function using list control. There are two columns in
From what I've read nothing explicitly says you cannot have two FILESTREAM columns in
I am using the 960 gs for the layout and have two columns, grid_7
I have SP that selects data from a table with two columns like this
I have two columns say Main and Sub . (they can be of same
I have two columns in my NSOutlineView. One is a Text and image cell

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.