Welcome Guest, Not a member yet? Register   Sign In
Near Latitide&Longitide; for given postcode
#1

[eluser]veledrom[/eluser]
Hi,

Apologised if not relevant to CI.

I am using http://codeigniter.com/wiki/Google_Maps_API_V3_Library for my purposes.

Let me explain what I need with an example.

I have a postcode NW1 5LR and its LATITUDE:51.546069024064 LONGITUDE:-0.235949008191785 coming from user entry. I also have many other postcodes and their Latitide&Longitide; values in database.

What formula should I use to get only those postcodes which are in 1 mil away maximum?

Thanks


Messages In This Thread
Near Latitide&Longitide; for given postcode - by El Forum - 06-04-2012, 05:35 AM
Near Latitide&Longitide; for given postcode - by El Forum - 06-04-2012, 05:53 AM
Near Latitide&Longitide; for given postcode - by El Forum - 06-04-2012, 06:08 AM
Near Latitide&Longitide; for given postcode - by El Forum - 06-04-2012, 10:54 AM
Near Latitide&Longitide; for given postcode - by El Forum - 06-04-2012, 11:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB