On Mon 26 Apr 2010, Abdul Hai <ahai11london(a)yahoo.co.uk> wrote:
Kate I am not having any problems but in the long run
it might be a
good idea if the site gets bigger as someone leaving in Kensington
may not want a listing of pubs in Sutton.
If you want to just list the pubs in Kensington you can use this addon
I wrote:
http://london.randomness.org.uk/scripts/locate.cgi?loc=Kensington;cat=Pubs;…
I think the problem you're trying to solve though is that of "find me
all the pubs within a certain distance of a certain location". You can
do this on RGL with the pub search; for example, all pubs within 1km of
High Street Kensington Station:
http://london.randomness.org.uk/scripts/pubsearch.cgi?locale=&postal_di…
I recall from previous correspondence that you're particularly
interested in cafes - for cafes you would use the food search:
http://london.randomness.org.uk/scripts/foodsearch.cgi?locale=&postal_d…
There isn't a really good way to do this for a general category (I've
special-cased pubs and food on RGL). The location search built into
OpenGuides can be coerced into it, but it's not a perfect solution as
it doesn't let you search by category, you need to know your OS
coordinates, and it doesn't do map display.
Kake (not Kate)