What I would do, I think, is have a map (e.g. google map), click on a location and say "is their cable here?". It would then find the nearest postcode to that lat/lng and query VirginMedia.com to see if cable is in that area. I did this manually when I was house hunting recently, looked up in the region of 100 post codes (manually) and didn't have any issues; but I wouldn't be happy just querying the entire postcode DB against VM. If the response is negative you might want to auto query a few points around where you click - e.g. a half mile away in a number of directions - to see if this is just one street that doesn't have cable.
I found that a lot of SO16 seems to have cable, but didn't find any cable in SO17 or SO18. Replace POSTCODE_HERE below with the postcode (don't forget the space) curl -s -d "standaloneChecker=true&PostcodeCheckerURL= allyours.virginmedia.com&postcode=POSTCODE_HERE" " http://shop.virginmedia.com/check-your-postcode/" | grep "Virgin National broadband area" > /dev/null SUCCESS=$? if [ "$SUCCESS" == "0" ]; then echo "No broadband here"; else echo "Possibly broadband here?"; fi; Cheers, Benjie On 9 January 2011 11:40, Rob Malpass <[email protected]> wrote: > > > > -----Original Message----- > > From: [email protected] [mailto:hampshire- > > [email protected]] On Behalf Of Lisi > > Sent: 09 January 2011 11:08 > > To: Hampshire LUG Discussion List > > Subject: Re: [Hampshire] Cable coverage > > > > It hadn't occurred to me that he wanted it for commercial purposes! > > > I don't! I want to know which area is the best bet in terms of cable TV > (and therefore broadband) coverage. > > Thanks for everyone's replies and a postcode to long/lat database would be > of some use - but what I was really after is the method by which I could > investigate the result for each postcode in the UK to see whether it was a > yes or no as regards cable coverage. > > Is it possible to repeatedly query a web database armed with a complete > list > of (in this case) postcodes? > > Cheers > Rob > > > -- > Please post to: [email protected] > Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire > LUG URL: http://www.hantslug.org.uk > -------------------------------------------------------------- >
-- Please post to: [email protected] Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --------------------------------------------------------------
