4
votes
2answers
444 views

What formula is used for distance between 2 points in Google Maps?

What formula is used by Google Maps for calculating the shortest distance between 2 points (having their Lat, Lng coordinates)? Is it purely based on Haversine? Or is it something different? Is there ...
2
votes
1answer
48 views

Road Miles Calculation without Google Maps

We have two ZIP codes we want to calculate the road mile difference. Google maps states you cannot use their API if you do not show a map. Is there another service that provides this type of ...
3
votes
0answers
217 views

calculate total Miles in a polygon using Google Map

I have an application that allows the users to create any custom polygon layer on top of google maps, i am interested to know if their is a way to select the road layer in this polygon and then ...
2
votes
1answer
722 views

How to use Google's Distance matrix on server side?

I am developing a web application wherein i need to find the closest bus-stop from a users location and mark it on a map. I have the list of bus-stops on my server. I am using Google's Distance Matrix ...
4
votes
4answers
2k views

Using a list of geographic locations, and determining the X closest locations to a user-defined location

I've got a list of geographical locations in an Excel spreadsheet. I want users to be able to search for a user-defined location, and then have the X number of closest locations from the list pulled ...
3
votes
1answer
1k views

MS SQL Server's STDistance output differs from Google Earth/Maps straight line distance

I am testing SQL Server STDistance function in the following way: DECLARE @g geography; DECLARE @h geography; SET @g = geography::STGeomFromText('POINT(53.553813 9.99158)', 4326); SET @h = ...
5
votes
1answer
727 views

Calculating radius / buffer on EPSG 3785 in meters vs buffer in WGS 84 in meters

The goal is working in EPSG 3785 and in particular Google Maps, one wishes to render (on a tile) a circle of a given radius in meters. The rendering is done in pixels. I would guess that one could ...
34
votes
5answers
6k views

Why is the 'straight line' path across continent so curved?

This is the result of mapping the straight line path from a point in US to Poland using Distance Measurement Tool. Also, planes from Asia to US would travel almost over North Pole. Why is the path ...