No announcements

Distance between two points lat/long

I have a user defined function, I want to determine the distance between the 2 points. I have it working but i'm having a problem getting to print.
| 2 Replies | 11838 Views | Created by Brian Davisson - Saturday, January 12, 2008 8:01 AM | Last reply by Brian Davisson - Sunday, January 13, 2008 4:56 PM

Distance between two points

By default the total length of the route is returned with the route request. If you want to calculate the distance between two points along that route you can do a ...
| 5 Replies | 8961 Views | Created by Gabriele Guerra - Saturday, October 2, 2010 11:42 PM | Last reply by tanoshimi - Friday, September 9, 2011 10:52 AM

Finding Distance Between Two Points

calculate distance between two points on SQL Server 2008, you can use STDistance() SQL
| 1 Replies | 8 Views | Created by Anonymous - Sunday, September 13, 2015 12:13 PM | Last reply by Anonymous - Monday, September 14, 2015 3:33 AM

Matching zip Code within 10 miles

;between two points using lat/lon coordinates.
| 2 Replies | 2 Views | Created by Anonymous - Wednesday, August 20, 2014 11:39 AM | Last reply by Anonymous - Wednesday, August 20, 2014 12:15 PM

Distance between 2 points

Hi, you can use some JavaScript math to help you calculate the distance between two lat/longs quickly: http://www.movable
| 2 Replies | 3589 Views | Created by topolino - Monday, October 27, 2008 5:26 PM | Last reply by Derek Chan Old - Wednesday, October 29, 2008 8:02 PM

Calculating distance between two points

My code: (Math.Sqrt(Math.Abs(x1 - x2) ^ 2 + Math.Abs(y1 - y2) ^ 2 + Math.Abs(z1 - z2) ^ 2)) Should calculate the distance between ...
| 23 Replies | 40102 Views | Created by _Yoshi_ - Monday, August 30, 2010 5:36 PM | Last reply by kbanman - Monday, December 21, 2015 7:03 PM

area of topological relationships etc. To calculate the approximate distance between two points expressed using lat/long coordinates ...
| 4 Replies | 9109 Views | Created by Maxmoment - Wednesday, August 15, 2012 5:52 AM | Last reply by Maxmoment - Wednesday, August 15, 2012 8:27 AM

Distance between 2 points

HypothenuseLength As Double = (Math.Sqrt((rect.Width * rect.Width) + (rect.Height * rect.Height)))         Return ...
| 8 Replies | 3661 Views | Created by Lawrex - Sunday, February 4, 2007 3:31 PM | Last reply by ReneeC - Monday, February 5, 2007 12:00 AM

Distance between more points

distance between all points in "Table A" and "Table B". I tried .STDistance(select * from Table) instead of .STDistance(@Point), but this is ...
| 2 Replies | 9470 Views | Created by RPJH - Monday, February 22, 2010 11:58 AM | Last reply by RPJH - Monday, February 22, 2010 1:37 PM

How to measure distance between two given points

I use these functions to get the distance between two points. function GetDistance(p1, p2) {
| 8 Replies | 14690 Views | Created by tiger.woods - Thursday, July 17, 2008 7:15 PM | Last reply by SoulSolutions - Tuesday, August 19, 2008 5:58 AM

Mismatch observed in Lat and Long returned by Bing Map

And we have store's latitude and longitude stored in our table for Harrow, which says  51.580402374267 -0.34307399392128 When store finder ...
| 3 Replies | 542 Views | Created by JaydeepV - Thursday, March 3, 2016 6:25 AM | Last reply by Ricky_Brundritt - Tuesday, March 8, 2016 7:49 PM

Creating static class: Distance between two points

Hi all, I am trying to create a static class that calculates the distance between two ...
| 4 Replies | 836 Views | Created by Shonie242 - Monday, October 20, 2014 4:38 AM | Last reply by Shonie242 - Monday, October 20, 2014 5:52 AM

Should I store coordinates as separate float columns or geometry datatype?

Does storing coordinates (lat/long) as separate float columns or geometry datatype affect the performance of a query that calculates the distance between ...
| 1 Replies | 5910 Views | Created by Juliano Nunes Silva Oliveira - Tuesday, November 20, 2012 11:25 PM | Last reply by tanoshimi - Wednesday, November 21, 2012 9:20 AM

Calculate Distance between 2 points

I am using Bing Maps.  I do not want a straight line distance between 2 points. Is there any other method that i can use to get the distance ...
| 10 Replies | 8863 Views | Created by rowter - Monday, April 19, 2010 10:25 PM | Last reply by Ricky_Brundritt - Wednesday, April 21, 2010 9:30 PM

Geography between two points

How to count geographic cooridnate in the middle between two points? Probably, I can't use following equations: (g2.Lat - p1.Lat) / 2 + ...
| 4 Replies | 13805 Views | Created by Sławomir Rosiek - Saturday, July 12, 2008 5:30 PM | Last reply by Isaac Kunen - Monday, July 14, 2008 3:47 PM

Directions Service not returning the distance between two points

User-933407369 posted hi shivigupta31web, According to your description, I understand you want to find a way to get the distance between ...
| 4 Replies | 14 Views | Created by Anonymous - Wednesday, September 18, 2013 2:45 AM | Last reply by Anonymous - Tuesday, September 24, 2013 7:47 AM

Distance between two postcodes

the only choice I see is to use a distance formula between two lat/longs and also assume some set speed to get your time.  This alternative is quick ...
| 6 Replies | 7161 Views | Created by VBE_programmer - Monday, May 14, 2007 10:17 AM | Last reply by VBE_programmer - Monday, May 14, 2007 3:32 PM

Calculating distance between two points, using latitude longitude?

I am trying to calculate distance between two points using java code, I have written a code but it is not working. I have checked various forums to ...
| 1 Replies | 808 Views | Created by Ranjeet.K - Thursday, July 9, 2015 9:00 AM | Last reply by Guillaume Rouyre [MBA, MVP, MCC] - Thursday, July 9, 2015 9:47 AM