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
0
votes
1 answer

Google Maps Android - set too many markers

My question is, What is the best way to set to many markers on google maps on android program? I have a sqlite database with longitude and latitude for every markers. For example add all markers 1km around the current location Get the range of…
petar.bt
  • 13
  • 4
0
votes
1 answer

get position of a point along a line defined by 2 points in latitude longitude

Say I have two points: Point1 and Point2 I am currently using Google Maps, but this can be applicable to any language. So my points are defined as: google.maps.LatLng(..) The two points form a line. Now if I travel X meters along the line from…
user600314
  • 662
  • 1
  • 5
  • 17
0
votes
0 answers

Always return null when i try to obtain my location

I'm trying to get mi location (by gps or wifi its same), and never obtains, if i debug there are a bucle in gotLocation() method. I trying with lot of methods by always the same result: Here my class`s public void onCreate(Bundle savedInstanceState)…
colymore
  • 11,776
  • 13
  • 48
  • 90
0
votes
1 answer

Solr 3.4 Geodist function, incorrect/ or unwanted results

I'm having a problem with Solr 3.4, I'm using it's spacial search functions like Geodist, and Geofilt. Everything seems ok and the results are return supposedly sorted by distance form a given center point. However since Solr 3.4 lacks the ability…
Omar Al-Ithawi
  • 4,988
  • 5
  • 36
  • 47
0
votes
2 answers

how to group data by LatLong distance in R

I have a function distance(lat1,lon1, lat2,lon2) that calculates the distance of 2 points. Suppose I have a dataframe with some points and values: n<-c(lon = -1.729219, lat = 29.730836) o<-c(lon = -5.041928, lat = 28.453022) e<-c(lon = -2.700067,…
ZeoS
  • 27
  • 1
  • 3
0
votes
3 answers

Major cites in the world with latitude and longitude?

I need a database of major cities in this world, together with their latitude longitudes and timezone. Is such a resource available? any idea where i can get it. or any one can share it with me ? Like this…
Selva
  • 839
  • 10
  • 25
  • 40
0
votes
1 answer

Not updating the annotation title and subtitle in mkMapView in iphone at appropriate time

I am showing my current location on mapView.It shows the blue dot.I want to add annotation on that blue so that it shows the latitude and longitude in title and subtitle of annotation but it shows null in both field for sometimes and after few…
vipul
  • 426
  • 1
  • 5
  • 13
0
votes
2 answers

Converting Latitude Longitude Coordinates to Image Map Coordinates

I'm almost positive this has been answered already; however, unable to find it since XY coordinates are overloaded due to their relative definition. What I am trying to find/figure out is how to take latitude/longitude coordinates (e.g. 12.121212,…
JamesEggers
  • 12,885
  • 14
  • 59
  • 86
0
votes
3 answers

How Can I Find Latitude And Longitude

This is my PHP code to find latitude and longitude of the location given.But when the location have 2 or more words it return error ex: if $cityname have "Mexico City" then it returns error if it is only one word then it is return correctly
Mariya Davis
  • 11
  • 1
  • 6
0
votes
1 answer

How to put latitude and longitude data from sqlite database to intent?

How do I put the latitude and longitude from SQLite database to daddr= on this intent: Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("http://maps.google.com/maps?f=d&saddr=&daddr=)); I have a table that…
0
votes
2 answers

excel formula calculation

I have around 200 latitudes and 200 longitudes of different places in my excel sheet which are of the format- Degree, minute and seconds- for eg: 36°34"44' This value is stored in a single cell. I want to convert this value to decimals using the…
Rebooting
  • 2,762
  • 11
  • 47
  • 70
0
votes
2 answers

Create an event with latitude and longitude

How can I create a Facebook event in Graph API setting latitude and longitude? I have tried the Graph API Explorer, using a post method to https://graph.facebook.com/MY_ID/events and parameters. All works fine, except for latitude and longitude. I…
0
votes
1 answer

how can i co-relate lat/longs of myHome to the pixels of myHome image in iphone?

I have top view image of my house and know lat longitude for left top pixel i.e 0,0 and lat/longs of all four corners of my home. now how to get latitude longitude values of other pixels?
vipul
  • 426
  • 1
  • 5
  • 13
0
votes
1 answer

google maps boundary borders of regions

This is more of a research question than a technical question. First I need to be able to draw sections of the uk like in this example : (http://blog.codebrain.co.uk/posts/uk_postcode_selector/postcode_selector.html) Is there anywhere that has lat /…
jaget
  • 2,149
  • 6
  • 21
  • 29
0
votes
2 answers

returning latitude or longitude array

I have method which return the latitude of the location public double[] getlat(){ double lat[]=new double[20]; JSONObject json =…
Sunny
  • 14,522
  • 15
  • 84
  • 129
1 2 3
99
100