D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] location map

 

On Tue, 6 Nov 2007 15:43:05 +0000
"Robin Cornelius" <robin.cornelius@xxxxxxxxx> wrote:

> Time for a shameless plug...
> 
> Don't forget the members map http://www.dclug.org.uk/linux_adm/map.php
> 
> Fill in your details in the members area and it updates it for you
> (with a bit of randomness on the exact location because it was a bit
> too close for comfort)

One note on that - I've tweaked the script so that if geocoding fails,
invalid values are not passed into the database. That should stop the
map defaulting to somewhere in the Sahara. However, I suspect that this
only happens when people use incomplete or invalid postcodes. If anyone
gets a geocode error, try ensuring you pass a valid and complete
postcode conforming to the expected format:

[A-Z]?[A-Z][0-9]+\s[0-9][A-Z][A-Z]

(all capitals, one or two letter prefix, one digit, one space, one
digit, two character suffix).

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpdjVmZrbAru.pgp
Description: PGP signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html