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...
Does anyone know of a way, in Java, to convert an earth surface position from lat, lon to UTM (say in WGS84)? I'm currently looking at Geotools but unfortunately the solution is not obvious.
...
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...
Hi,
I'm trying to calculate the Y position on a map with mercator projection given the latitude in degrees. Here's what I need:
//mapHeight might be 600 (pixels), for example
//latitudeInDegrees ranges from -90 to 90
public double CalculateY(double mapHeight, double latitudeInDegrees)
{
//what on earth do I do here to calculate the...
how to get the address of location if i have the latitude longitude values of the location in iphone
...
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
...
Hello, I would like to know What is the best way to get the gps locations off multiple phones on to a googlemaps on a website. I just downloaded googlemaps with latitude on my phone.
Is it only possible to query your own location with the public location badge, or can you also get the locations off your "friends". Anyone got experience...
I am working on an app that uses the GPS on my g1. I'm wondering if it is possible that when I am using the app I can have it update my Google Latitude location every x number of minutes. Any thoughts on how this may be accomplished?
...
I'm building a php based application for a client to enter in addresses for their customers' buildings. They'd like the ability to view the location on a map (either as individuals or grouped in a city search).
What I'm trying to accomplish is a lookup once the address is entered into a form that populates the database, so after they en...