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
2 answers

(NaN, NaN) when getting latitude and longitude through GET

I'm getting (NaN, NaN) when I trying to fetch the latitude and longitude information from an GET in JavaScript. Here's my code: var GET = {}; var params = location.search.substr(1).split("&"); for (var i=0; i < params.length; i++) { var par =…
Airikr
  • 6,258
  • 15
  • 59
  • 110
1
vote
2 answers

Passing current location ( longitude and latitude ) in the Google Places API

am trying to integrate Google Places API into my app. Now I am finding out my current location of the Phone, how do I embed the longitude and latitude which I have got into the following URL instead of "location=34.0522222,-118.2427778"…
santosh407
  • 15
  • 2
  • 9
1
vote
2 answers

How to place marker in Google Map after parsing lattitude and longitude from json?

I have parse json file which contain more than hundred location name, there latitude and longitude. Up to now i am able to get location name, lattitude and longitude. I want to plot these all values in google map and place a marker for each of…
captaindroid
  • 2,868
  • 6
  • 31
  • 45
0
votes
1 answer

how to handle foursquare api's sensitivity with lat, lng

In foursquare api explore, it automatically picks the lat, lng for your location https://api.foursquare.com/v2/venues/trending?ll=40.7,-74&oauth_token=[TOKEN]&v=20120325 and it return lot of results for the above url. While using a third party…
Mandeep Janjua
  • 15,583
  • 4
  • 29
  • 24
0
votes
1 answer

Latitude and longitude scraping using Xpath

I'm trying to web data mining. I'm using Xpath trying to scrape images and latitude and longitudes from a map on the browser.The images are in a nested table the path to this series of images is giving me a problem.Also the latitude and longitude…
user1207576
  • 17
  • 1
  • 7
0
votes
2 answers

Does getting a Cell id of mobile device will work to get accurate position of mobile phone in j2me

If I get the cell id Will it work to get the exact location of the mobile devices through j2me programming? I got to know how to get cell id by this link: Can I fetch position of mobile device in j2me having no GPS service using information from…
Yatin
  • 2,969
  • 9
  • 34
  • 68
0
votes
1 answer

How to show Multiple Address From Lat/Long to show in tableView?

I am trying to show addresses of a certain list of Latitude/Longitude using MKReverseGeocoder i get values of some Lat/Long right,while for some i get {PBHTTPStatusCode=503} /SourceCache/ProtocolBuffer/ProtocolBuffer-92/Runtime/PBRequester.m:687…
iPhoneDev
  • 303
  • 1
  • 2
  • 10
0
votes
4 answers

Calculate distance between 2 set of lon and lat

As my question states that's I am looking for a function/formula that can calculate a distance between two points. Now I have looked at example and found great functions but none of them seem to work they all return 0 when I supply 2 sets of points.…
Phil Kearney
  • 157
  • 3
  • 17
0
votes
1 answer

Service Not Available When Request Country Name in Map Activity Android

I'm just trying to get the country name in my Map Activity when I touch the map. I've followed Android: Reverse geocoding - getFromLocation and here's my code in onTouchEvent: public boolean onTouchEvent(MotionEvent event, MapView mapView) { …
0
votes
2 answers

Find all users within a certain distance of a set point?

i want the users on my site to be able to search for other users within a certain distance. e.g 'find all users within [5] miles'. I have some code which does this "as the crow flies" but I want to be able to find the actual distance including…
Andy Lobel
  • 3,356
  • 9
  • 31
  • 40
0
votes
1 answer

C/C++ georeferenced plots?

I'm searching for the most suitable C/C++ library offering a set of tools (functions) able of plotting on georeferenced images (data). Specifically these tools should be alble of working in geographical latitude, longitude coordinates. Thank you in…
GTA
  • 253
  • 4
  • 13
0
votes
2 answers

searching lat long with mysql with spatial

Using mysql db. I have a column "latlong" which is a point type with a spatial index. I would like to get the closest locations 4 miles closest to the latitude and longitude. So far I have this... SELECT `postcode`,county, ( 3959 * acos( cos(…
user984314
  • 155
  • 1
  • 3
  • 14
0
votes
2 answers

Information about geo-locations via coordinates

Are there any ways to get information about different places (cities, mountains, rivers , etc) via latitude/longtitude? I'm planning to use it in my rails project. Of course, it will be perfect to use information from wiki. Any example of searching…
tiktak
  • 1,801
  • 2
  • 26
  • 46
0
votes
1 answer

How to find if a long/lat point is in the visible bing map

This should be quite simple but I am not getting it. I have a database of locations with lon/lat specified. After loading the bing map I get the bounds var view = map.getBounds(); and then call a webmethod to get all the locations which should be…
Bob
  • 31
  • 4
0
votes
1 answer

Why am I not able to get an array from this query using PHP / MySQL and latitude / longitude?

I have two tables but for the purposes of this question, I will only use one. I am using the latitude and longitude for a city to find airports within 50 miles. As far as I know, it's working but I can't seem to put this into an array with…
NotJay
  • 3,919
  • 5
  • 38
  • 62