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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:39:07+00:00 2026-05-16T17:39:07+00:00

I have a dataset containing the start and end points (both OSGB36 and corresponding

  • 0

I have a dataset containing the start and end points (both OSGB36 and corresponding WGS84 coordinates) of sections of a road network. I am able to import this data in SQL and create geometry and geography data types for the start and end points and for the entire object (LINESTRING etc).

Viewing the coordinates in SQL query window enables me to see the spatial results for this coordinates and viewing the geometry of the entire object displays the entire road network visually in the spatial results.

However, if I was wishing to return the road objects as a linear representation – in other words as a standard result set and order them on geographic position e.g. north to south, east to west etc – what would be the best method. I am currently assuming that calculating a distance from the start point would be the best approach – but I would appreciate some Spatial SQL 2008 expertise.

  • 1 1 Answer
  • 1 View
  • 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-16T17:39:08+00:00Added an answer on May 16, 2026 at 5:39 pm

    You could get the bounding box of each shape w/ .STEnvelope(), and then sort by one of the corners using .STPointN().STX and .STY. That wouldn’t be too expensive.

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

Sidebar

Related Questions

I have a dataset containing network data of email conversations consisting of two columns
I have a strongly typed dataset containing a datatable with one of the columns
I have a Dataset and want to display the containing rows in a WPF-Contorl.
I have a dataset with a column containing date in DAY-MONTH-YEAR TIME format. That
I have a class containing methods to fill DropDowns, return DataSet, return Scalar or
I have a dataset containing n values between 0 and m. Now i want
I have a dataset containing some variable1 and a quarterly datefield. I would like
I have C# .NET code with a DataSet (System.Data.DataSet) containing one table of data,
Scenario: I have a large dataset, with each entry containing a location (x,y -
I have a file containing unique pairs of proteins, the positive dataset. Let's call

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.