Ajit Teli
2013-Jul-31 12:06 UTC
Lat/Lng boudaries for each reverse geocoded address for google
Hi, I would like to get the lat/long boundaries for each reverse Geo-coded address. For example, Lat: 14.32826, Lng: 77.643127 pair gives reverse Geo-coded address as "Kanyakumari Road, Andhra Pradesh 515101, India". There will be list of other lat/long pairs which will produce same reverse Geo-coded address as above. And I assume that for each reverse Geo-coded address there will be lat/long boundary. So, please let me know how can I get lat/long boundaryies for a pair of lat/long which will produce same reverse Geo-coded address. Thank You Ajit -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ae48dd0985cdb4cb8ee0a82afaef961d%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
Robert Walker
2013-Jul-31 13:46 UTC
Re: Lat/Lng boudaries for each reverse geocoded address for google
Ajit Teli wrote in post #1117253:> Hi, > > I would like to get the lat/long boundaries for each reverse Geo-coded > address. For example, > > Lat: 14.32826, Lng: 77.643127 pair gives reverse Geo-coded address as > "Kanyakumari Road, Andhra Pradesh 515101, India". There will be list of > other lat/long pairs which will produce same reverse Geo-coded address > as above. And I assume that for each reverse Geo-coded address there > will be lat/long boundary.Why would you assume this? Latitude and longitude describe a precise point (within the tolerance provided by the system). Addresses (especially as defined by the Google Maps API) are imprecise. For example "Georgia" is a valid address, as defined by Google Maps. It is also an ambiguous address. Does it mean the United States state of Georgia or the country in Asia? The API provides for region biasing to disambiguate such addresses. It would be impractical to provide a list of all Lat/Lon pairs for an address. Theoretically that would be an infinitely long list. That is like asking to list every point inside a rectangle. That would also result in an infinitely long list. Reverse geocoding a point into an address is a lot more "fuzzy." Google Maps attempts to provide reasonable results by retuning the "best" address for a given point, along with other addresses within the region surrounding the given point. Unlike geo-points, addresses are finite. There are only a limited number of them within any given region.> So, please let me know how can I get lat/long boundaryies for a pair > of lat/long which will produce same reverse Geo-coded address.Taking a quick look at the Google Maps API I didn''t see anything that would directly give you what you want. As I described above I don''t even think this makes sense. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8ea13f724683b1e444168f1d5860ec56%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
Tamara Temple
2013-Aug-01 01:08 UTC
Re: Lat/Lng boudaries for each reverse geocoded address for google
Google for "geocode services" On Jul 31, 2013, at 7:06 AM, Ajit Teli <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi, > > I would like to get the lat/long boundaries for each reverse Geo-coded > address. For example, > > Lat: 14.32826, Lng: 77.643127 pair gives reverse Geo-coded address as > "Kanyakumari Road, Andhra Pradesh 515101, India". There will be list of > other lat/long pairs which will produce same reverse Geo-coded address > as above. And I assume that for each reverse Geo-coded address there > will be lat/long boundary. > > So, please let me know how can I get lat/long boundaryies for a pair > of lat/long which will produce same reverse Geo-coded address. > > Thank You > Ajit > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ae48dd0985cdb4cb8ee0a82afaef961d%40ruby-forum.com. > For more options, visit https://groups.google.com/groups/opt_out. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0400BF1C-3C54-4B57-805F-568C390933B7%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.