stopthespies / website

Campaign website for Stop The Spies
MIT License
18 stars 3 forks source link

Geoip look up #9

Open thomasdavis opened 10 years ago

thomasdavis commented 10 years ago

Is it possible for us to find somebodies postcode using geoip?

Relevant: https://github.com/tfrce/node-geoip-web

Smerity commented 10 years ago

According to the GeoLite City Accuracy chart, GeoLite City in Australia has a 56% success rate at correctly resolving the location within 40 kilometres. That likely wouldn't be accurate enough to get the correct postcode, especially in the larger population centres, but would still be useful in providing top-n suggestions.

pospi commented 10 years ago

Yeah I have had limited success before. Some strange things happen with the smaller ISP's DSL connections I think - I am in Brisbane and always get interpreted as living in Perth.

Are we adverse to popping a browser location request when people start interacting with "contact my rep" UI elements?

thomasdavis commented 10 years ago

Looks like we might use browser location request, and postcode input for those who refuse.

We will throw up a popup that points to the bar and says "We use this to look up your legislators, it is not stored and sent over a secure line"

thomasdavis commented 10 years ago

This issue is pretty much wrapped up, just waiting for @rolandnsharp to lock in a check for international visitors.