Top Latest Append

pterjan's diary


  Supermarkets in London

As I now know my future address in London, I was looking for supermarkets around and found no easy way to find all the available ones. After looking on each supermarket website I decided to gather the information.

So, I collected positions of ASDA, Tesco, Morrison, Sainsbury's, Poundland and Waitrose (with opening times for some) and pushed them into a Google map.

I actually have info for all UK but if Google map paginates it becomes unusable as you need to go through all pages to know the supermarkets in your area. If someones knows a way to restrict the list to current view on "static" maps, I am interested.

Today's TSUKKOMI(Total: 7) [Add a TSUKKOMI]


  Alex [I don't live in the UK, but I'm fairly sure OpenStreetMap has all this data already. Try using the map as rendered by..]

  Pascal [Just around my future flat I would say it is missing two thirds of them... I may try to import some of the data there]

  benji []


  Google Geolocation API

I found today the API documentation to use in order to get a location from the seen wifi APs or GSM/CDMA cells.

It is very easy to use:

$ curl -X POST -d '{
  "version": "1.1.0",
  "host": "",
  "request_address": true,
  "address_language": "en_GB",
  "wifi_towers": [
      "mac_address": "56:7a:e8:68:15:4B"
"city":"Paris","street":"Rue Sainte-Apolline","street_number":"2","postal_code":"75003"

I guess this is what was used for this attack, and this seems to be used by Firefox and Chrome geolocation features.

Update: I found on the following note: "Note that the JSON protocol described here and at is published to allow developers to provide their own network location server for use through the Gears API. Google's network location server is only to be used through the Gears API", so this is nice but you can't use it.

Today's TSUKKOMI(Total: 2) [Add a TSUKKOMI]

  Adrien Bustany [It'd be interesting to write a GeoClue source using this API...]

  Pascal [Yes I thought about it but I am still searching and can not find anything saying that we are allowed to use it]