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

  • Home
  • SEARCH
  • 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
  • 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-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 melted dataset containing a column value which represent an absolute number
I have a datatable containing 10 columns. I want to select only two columns
I have xmlDoc.DataSet.Tables[<tablename>].Columns I want to loop through those columns via DataColumn , for
I have a dataset. I added a column Tags. I need to run a
I use Visual Studio 2010 I have a DataSet with 2 tables one (MainList)
I have a page that has 3 used controls that are dynamically added to
[I have read previous posts on MEF vs MAF vs DI etc, they aren't
I am creating a search results page in C# in an ASP.NET 1.1 page.
My problem is outlined here: https://support.microsoft.com/kb/314043 Microsoft says: "This behavior is by design." and

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.