I have a bunch of latitude/longitude pairs that map to known x/y coordinates on a (geographically distorted) map.
Then I have one more latitude/longitude pair. I want to plot it on the map as best is possible. How do I go about doing this?
At first I decided to create a system of linear equations for the three nearest lat/long points a...

Here's an easy one for you:
How do I calculate the distance between two points points specified by latitude and longitude?
EDIT: For clarification, I'd like the distance in kilometres, the points use the WGS84 system and I'd like to understand the relative accuracies of the approaches available.
...

I need to convert latitude/longitude coordinates into Easting/Northing coordinates in the Alberta 10 TM Projection.
The 10 TM projection is similar to UTM, but it is a custom projection for the province of Alberta, Canada. I think (with some effort) I could code it myself but would rather not reinvent the wheel if it's been done alread...

How would I go about converting an address or city to a latitude/longitude? Are there commercial outfits I can "rent" this service from? This would be used in a commercial desktop application on a Windows PC with fulltime internet access.
...

Does anyone know of any free utility jars for java that assist with longitude/latitude manipulation in Java?
I am wanting to find the distance between two different points. This I know can be accomplished with the great circle distance.
http://www.meridianworlddata.com/Distance-calculation.asp
Also, given a point and a distance I would...

Hi folks,
i have the following two tables:-
GeoShapes
GeoShapeId INT IDENTITY
Name VARCHAR(100)
ShapeFile GEOGRAPHY [ this is a closed Polygon of Lat/Longs ]
CrimeLocations
CrimeLocationId INT IDENTITY
LatLong GEOGRAPHY [ this is a Lat/Long Point ]
Now, i have around 10K GeoShape results and around 500CrimeLocations.
I'm t...

Hi folks,
i've been asked to generate some demographic reports (crime rates, birth/deaths, etc) based on state and cities for the USA. I have all the demographic data (provided by our client) but can't seem to find any places which have the boundaries (read: LAT/LONG's) of the USA States and their cities.
Our data are Lat/Long points o...

I'm designing a table in SQL Server 2008 that will store a list of users and a Google Maps co-ordinate (longitude & latitude).
Will I need two fields, or can it be done with 1?
What's the best (or most common) data-type to use for storing this kind of data?
...

Duplicate:
Working with latitude/longitude values in Java
How do I calculate distance between two latitude longitude points?
I need to calculate the distance between two points given by two coordinates. The project I am working on is a Java-project, so Java-code will be great, but pseudo-code can also be given, then I can implement i...

Is there a way to estimate the offset from GMT (or time zone) from a latitude/longitude? I've seen geonames, but this would need to work long term and we don't really want to rely on a web service. It'd just be used for determining whether to display "today" or "tonight" when giving information to various users so it wouldn't need to b...

I have a Mercator projection map as a JPEG and I would like to know how to relate a given x, y coordinate to its latitude and longitude. I've looked at the Gudermannian function but I honestly don't understand how to take that function and apply it. Namely, what input is it expecting? The implementation I found (JavaScript) seems to t...

When storing latitude or longitude data in an ANSI SQL compliant database, what datatype would be most appropriate? Should float be used, or decimal, or ...?
I'm aware that Oracle, MySql, and SQL Server have added some special datatypes specifically for handling geo data, but I'm interested in how you would store the information in a "p...

Hi
I have two given lat and lon points. For example, lets assume I have two positions (point_1 and point_2) at coordinates (lat1, lon1) and (lat2, lon2).
I would like to calculate a third point, that is on the same latitude as that of point_2, but x km to the east or west of point_2. So the third point will have the same latitude a...

how to get the address of location if i have the latitude longitude values of the location in iphone
...

Hi,
I use polygones in kml files for displaying a rocket's flightpath from ground into orbit in google earth kml files.
the problem is, that google earth can't handle longitued greater than 180deg, so when a rocket will circle more than ones around the globe the longitued values has to be recalculated.
Is there a way in using longitude...

Hi,
I want to get latitude and longitude from address in one of my asp.net application, i know it s possible using google apis but i want to do it without showing google map. How can i do that?
I also want to get distance between two pairs of latitude and longitude. Please guide me in that regards also.
Thanks
Pankaj
...

OK. This might be more of a math question but here goes.
I have a longitude value, let's say X. And I want to know if X falls between any two longitude values.
For example, if my X is 145 and the range is [21, -179]. The range is given by the Google Map API bounds and I can see on the google map that X does fall within that range.
How...

I would like to dig into developing for jailbroken devices, just to test what the device could do. I would like, for instance, to alter the ipod music based on geo-location, so i have to program a new daemon that runs in background and fetch gps informations at regular interlavs and then make something with them.
Longitude, longitude, f...

I need a function that maps gps positions to x/y values like this:
getXYpos(GeoPoint relativeNullPoint, GeoPoint p){
deltaLatitude=p.latitude-relativeNullPoint.latitude;
deltaLongitude=p.longitude-relativeNullPoint.longitude;
...
resultX=latitude (or west to east) distance in meters from p to relativeNullPoint
resultY=lon...

Is there a way get the timezone of a user by their latitude and longitude? And not just the offset, but the actual timezone they're in.
Essentially, I'm searching for the polar opposite of DateTimeZone::getLocation which returns the latitude and longitude for a certain timezone.
...