Questions tagged [latitude-longitude]

Managing data about geographic point locations, using a latitude-longitude pair (degrees north/south, and east/west, respectively) per point.

Latitude

enter image description here

Longitude

enter image description here

2920 questions
1
vote
1 answer

dynamic google map/latitude longitude vars/ php/ java/ var/basic

Questions: Hi, I want to embed a dynamic google map in my website by IP address. I got the lat/long data using IPlocation tools. I could not yet connect the lat/log data from IPlocation to google map java codes. I m not sure how to…
1453939
  • 242
  • 5
  • 14
1
vote
0 answers

How do I query user coordinates from browser navigator's geolocation without the 2.5k requests per day limit?

My web app's javascript needs to query user's geolocation position every 3 seconds or so but browsers will end up refusing/failing because of google query limits policy. When calling the javascript function…
1
vote
1 answer

draw polygons on google map v2

how i can draw a polygon on google map with user input coordinates. I have two input fields (lat and lng) and when the user clicks the button I want to draw the polygon. I have this code but it does not work. Can anyone help me? HTML:
Josip
  • 67
  • 1
  • 6
1
vote
3 answers

Android: Not able to get accurate latitude and longitude value

In my application I want latitude and longitude value by GPS and/ or Network. My code work but some time it give accurate value some time it not give the accurate value, some time it give the value which is 10 or 20 meter far from the accurate…
Vinit ...
  • 1,409
  • 10
  • 37
  • 66
1
vote
3 answers

set Latitude and Longitude in map

i write a map viewer and i want to get Latitude and Longitude from user, then show him the location. i use menu for this work. but i don't know how show him something to enter the values. this is my code. public class main extends MapActivity { /**…
Hosein
  • 475
  • 2
  • 7
  • 21
1
vote
1 answer

Maxmind Lat/Lon Values

I am no expert when it comes to maps, but does anyone know which map type the latitude and longitude values provided with the (free) MaxMind database of cities belong to? Are they a Miller cylindrical projection, Mercator projection or any of the…
matsko
  • 21,895
  • 21
  • 102
  • 144
1
vote
1 answer

Break a geographical area in to a series of smaller areas (of controllable size) and calculate which area a given lat/long point falls within

Unfortunately, maths was never my strong point and I'm struggling with the best approach/formula to do the following (which I will then need to turn in to PHP code): 1). Start with a single large area (e.g. covering all of Europe) 2). Break this…
corford
  • 985
  • 10
  • 12
1
vote
1 answer

How to do the inverse Mercator projection

Here is some code I started writing, the Mercator projection is based on this answer. using System; using System.Drawing; namespace CoordinatesTool { public class GeoPoint { public double Longitude { get; set; } public…
DavWEB
  • 420
  • 4
  • 14
1
vote
1 answer

Calculating If 2 Circles On A Map Intersect

I have 2 points on a map with an area around them (let's say 5 miles) and I need to figure out if they intersect. For example, imagine each point has a circle around them whose radius is 5 miles. I need to figure out if those two circles overlap.…
threejeez
  • 2,314
  • 6
  • 30
  • 51
1
vote
4 answers

In JavaScript, How to extract latitude and longitude from string

I am extracting a string from a database which needs to be parsed into latitude and longitude separately, The string is defined as a "point", in the following format: (2.340000000,-4.50000000) I am trying to remove the parenthesis, and then parsed…
ILikeTacos
  • 17,464
  • 20
  • 58
  • 88
1
vote
3 answers

send value location continues after 10 minute

i want to send my location into my database.. i have code to get location (longitude and latitude) like this public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); …
akubabas
  • 473
  • 5
  • 13
  • 28
1
vote
1 answer

Calculate second point knowing the starting point, speed,Time Span, and course

I have a current position: Latitude and Longitude values in degrees (Point A), and the same for the final position (Point B). I need to calculate the course (also in degrees) between the two points and than with given speed (in km/s) and timespan…
yossi
  • 37
  • 6
1
vote
0 answers

Displaying data(latitude and longitude) on a web server

I have been trying to post the data that is the latitude and longitude that i get of the user i get. I created a server using WAMP. Its a PHP server with mysql as database. In this code i am not getting any kind of error but The problem is it is not…
1
vote
1 answer

Connecting and updating php server from Android application

I have created a gps application which works fine. Now what i am trying is to connect it to a php server with mysql database where all the locations of the people are updated automatically.. I am a new user for this part. I have tried some of it but…
1
vote
0 answers

CLLocation geocodeAddressString result accuracy

I'm currently working on an app where the user inputs and address, which is then converted into coords. A database of locations is then queried and locations with in, say, 5km of search location is returned. The problem I'm having is the accuracy…
Josh
  • 35
  • 3