On Feb 23, 2011, at 6:43 AM, Norbert Melzer wrote:
I dont think this is possible, at least in germany one city can have
more than one postal code. To get the postal code in this cases you
need to have the street and housenumber to get the right code. I
could imagine that it is the same in other countries
GeoIP will only ever get you the location of the ISP, not the
subscriber. Every single AOL subscriber seems to be in Hernedon, VA,
USA, for example. Even though their numbers are dropping
precipitously, there's still not room for all of them there! If you
want a person's Zip/Postal code, you generally have to ask them, and
make it worth their while (dealer locator widget, etc.).
Walter
Top posted from android
Am 19.02.2011 14:15 schrieb "rajeevkannav" <[email protected]>:
> Hi all
> Is there any way to get visitiores ZIp
> ip = GeoLocation.find('59.180.157.125') # =>
>
{:city
=
>
"Liverpool
", :region
=>"NY", :country=>"US",:latitude=>"43.1059", :longitude=>"-76.2099"}
> puts ip.inspect
> is giving me city country and all there is any way to get zip code
> Please suggest thanks in advance
>
> --
> You received this message because you are subscribed to the Google
Groups "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected]
.
> To unsubscribe from this group, send email to [email protected]
.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
.
>
--
You received this message because you are subscribed to the Google
Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-
[email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
.
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.